Package com.linkedin.venice.system.store
Enum MetaStoreDataType
- java.lang.Object
-
- java.lang.Enum<MetaStoreDataType>
-
- com.linkedin.venice.system.store.MetaStoreDataType
-
- All Implemented Interfaces:
VeniceEnumValue
,java.io.Serializable
,java.lang.Comparable<MetaStoreDataType>
public enum MetaStoreDataType extends java.lang.Enum<MetaStoreDataType> implements VeniceEnumValue
All the data types supported in meta system store.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HEARTBEAT
STORE_CLUSTER_CONFIG
STORE_KEY_SCHEMAS
STORE_PROPERTIES
STORE_REPLICA_STATUSES
STORE_VALUE_SCHEMA
STORE_VALUE_SCHEMAS
VALUE_SCHEMAS_WRITTEN_PER_STORE_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreMetaKey
getStoreMetaKey(java.util.Map<java.lang.String,java.lang.String> params)
int
getValue()
static MetaStoreDataType
valueOf(int value)
Returns the enum constant of this type with the specified name.static MetaStoreDataType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MetaStoreDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STORE_PROPERTIES
public static final MetaStoreDataType STORE_PROPERTIES
-
STORE_KEY_SCHEMAS
public static final MetaStoreDataType STORE_KEY_SCHEMAS
-
STORE_VALUE_SCHEMAS
public static final MetaStoreDataType STORE_VALUE_SCHEMAS
-
STORE_REPLICA_STATUSES
public static final MetaStoreDataType STORE_REPLICA_STATUSES
-
STORE_CLUSTER_CONFIG
public static final MetaStoreDataType STORE_CLUSTER_CONFIG
-
STORE_VALUE_SCHEMA
public static final MetaStoreDataType STORE_VALUE_SCHEMA
-
VALUE_SCHEMAS_WRITTEN_PER_STORE_VERSION
public static final MetaStoreDataType VALUE_SCHEMAS_WRITTEN_PER_STORE_VERSION
-
HEARTBEAT
public static final MetaStoreDataType HEARTBEAT
-
-
Method Detail
-
values
public static MetaStoreDataType[] 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 (MetaStoreDataType c : MetaStoreDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetaStoreDataType 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()
- Specified by:
getValue
in interfaceVeniceEnumValue
-
valueOf
public static MetaStoreDataType valueOf(int value)
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:
value
- 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
-
getStoreMetaKey
public StoreMetaKey getStoreMetaKey(java.util.Map<java.lang.String,java.lang.String> params)
-
-