Package feast.proto.core
Enum StoreProto.Store.StoreType
- java.lang.Object
-
- java.lang.Enum<StoreProto.Store.StoreType>
-
- feast.proto.core.StoreProto.Store.StoreType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<StoreProto.Store.StoreType>
- Enclosing class:
- StoreProto.Store
public static enum StoreProto.Store.StoreType extends Enum<StoreProto.Store.StoreType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumfeast.core.Store.StoreType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALIDINVALID = 0;REDISRedis stores a FeatureRow element as a key, value pair.REDIS_CLUSTERREDIS_CLUSTER = 4;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intINVALID_VALUEINVALID = 0;static intREDIS_CLUSTER_VALUEREDIS_CLUSTER = 4;static intREDIS_VALUERedis stores a FeatureRow element as a key, value pair.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StoreProto.Store.StoreTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<StoreProto.Store.StoreType>internalGetValueMap()static StoreProto.Store.StoreTypevalueOf(int value)Deprecated.static StoreProto.Store.StoreTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static StoreProto.Store.StoreTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StoreProto.Store.StoreType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID
public static final StoreProto.Store.StoreType INVALID
INVALID = 0;
-
REDIS
public static final StoreProto.Store.StoreType REDIS
Redis stores a FeatureRow element as a key, value pair. The Redis data types used (https://redis.io/topics/data-types): - key: STRING - value: STRING Encodings: - key: byte array of RedisKey (refer to feast.storage.RedisKeyV2) - value: Redis hashmap
REDIS = 1;
-
REDIS_CLUSTER
public static final StoreProto.Store.StoreType REDIS_CLUSTER
REDIS_CLUSTER = 4;
-
UNRECOGNIZED
public static final StoreProto.Store.StoreType UNRECOGNIZED
-
-
Field Detail
-
INVALID_VALUE
public static final int INVALID_VALUE
INVALID = 0;- See Also:
- Constant Field Values
-
REDIS_VALUE
public static final int REDIS_VALUE
Redis stores a FeatureRow element as a key, value pair. The Redis data types used (https://redis.io/topics/data-types): - key: STRING - value: STRING Encodings: - key: byte array of RedisKey (refer to feast.storage.RedisKeyV2) - value: Redis hashmap
REDIS = 1;- See Also:
- Constant Field Values
-
REDIS_CLUSTER_VALUE
public static final int REDIS_CLUSTER_VALUE
REDIS_CLUSTER = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static StoreProto.Store.StoreType[] 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 (StoreProto.Store.StoreType c : StoreProto.Store.StoreType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StoreProto.Store.StoreType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static StoreProto.Store.StoreType valueOf(int value)
Deprecated.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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static StoreProto.Store.StoreType forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<StoreProto.Store.StoreType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static StoreProto.Store.StoreType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-