Enum Class V1Get

java.lang.Object
java.lang.Enum<V1Get>
com.linkedin.venice.controllerapi.routes.V1Get
All Implemented Interfaces:
V1Route, Serializable, Comparable<V1Get>, Constable

public enum V1Get extends Enum<V1Get> implements V1Route
Controller API version 1 HTTP GET routes
  • Enum Constant Details

    • STORE

      public static final V1Get STORE
    • STORES

      public static final V1Get STORES
    • KEY_SCHEMA

      public static final V1Get KEY_SCHEMA
    • VALUE_SCHEMAS

      public static final V1Get VALUE_SCHEMAS
    • VALUE_SCHEMA

      public static final V1Get VALUE_SCHEMA
    • VERSIONS

      public static final V1Get VERSIONS
    • VERSION

      public static final V1Get VERSION
    • CURRENT_VERSION

      public static final V1Get CURRENT_VERSION
  • Method Details

    • values

      public static V1Get[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static V1Get valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getRawPath

      public String getRawPath()
      Description copied from interface: V1Route
      Path formatted with colons prefixing each path parameter for use in defining the path in SparkJava ex /user/:id
      Specified by:
      getRawPath in interface V1Route
      Returns:
    • getPathFormat

      public String getPathFormat()
      Description copied from interface: V1Route
      The actual format string with "%s" in place of parameters that will be substituted
      Specified by:
      getPathFormat in interface V1Route
      Returns:
    • getPathParams

      public String[] getPathParams()
      Specified by:
      getPathParams in interface V1Route
      Returns:
      an array of key strings required for path resolution
      See Also: