Package com.linkedin.venice.common
Enum StoreMetadataType
- java.lang.Object
-
- java.lang.Enum<StoreMetadataType>
-
- com.linkedin.venice.common.StoreMetadataType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StoreMetadataType>
public enum StoreMetadataType extends java.lang.Enum<StoreMetadataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_STORE_STATES
CURRENT_VERSION_STATES
STORE_ATTRIBUTES
STORE_KEY_SCHEMAS
STORE_VALUE_SCHEMAS
TARGET_VERSION_STATES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getNewInstance()
int
getValue()
static StoreMetadataType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StoreMetadataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STORE_ATTRIBUTES
public static final StoreMetadataType STORE_ATTRIBUTES
-
TARGET_VERSION_STATES
public static final StoreMetadataType TARGET_VERSION_STATES
-
CURRENT_STORE_STATES
public static final StoreMetadataType CURRENT_STORE_STATES
-
CURRENT_VERSION_STATES
public static final StoreMetadataType CURRENT_VERSION_STATES
-
STORE_KEY_SCHEMAS
public static final StoreMetadataType STORE_KEY_SCHEMAS
-
STORE_VALUE_SCHEMAS
public static final StoreMetadataType STORE_VALUE_SCHEMAS
-
-
Method Detail
-
values
public static StoreMetadataType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StoreMetadataType c : StoreMetadataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StoreMetadataType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
getNewInstance
public java.lang.Object getNewInstance()
-
-