Enum StoreProto.Store.StoreType

    • Enum Constant Detail

      • 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.RedisKey)
         - value: byte array of FeatureRow (refer to feast.types.FeatureRow)
         
         
        REDIS = 1;
      • BIGQUERY

        public static final StoreProto.Store.StoreType BIGQUERY
         BigQuery stores a FeatureRow element as a row in a BigQuery table.
         
         Table name is derived is the same as the feature set name.
         
         The entities and features in a FeatureSetSpec corresponds to the 
         fields in the BigQuery table (these make up the BigQuery schema). 
         The name of the entity spec and feature spec corresponds to the column 
         names, and the value_type of entity spec and feature spec corresponds 
         to BigQuery standard SQL data type of the column. 
         
         The following BigQuery fields are reserved for Feast internal use. 
         Ingestion of entity or feature spec with names identical 
         to the following field names will raise an exception during ingestion.
           column_name       | column_data_type | description
         ====================|==================|================================
         - event_timestamp   | TIMESTAMP        | event time of the FeatureRow
         - created_timestamp | TIMESTAMP        | processing time of the ingestion of the FeatureRow
         - ingestion_id      | STRING           | unique id identifying groups of rows that have been ingested together
         - job_id            | STRING           | identifier for the job that writes the FeatureRow to the corresponding BigQuery table
         BigQuery table created will be partitioned by the field "event_timestamp"
         of the FeatureRow (https://cloud.google.com/bigquery/docs/partitioned-tables).
         
         The following table shows how ValueType in Feast is mapped to 
         BigQuery Standard SQL data types 
         (https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types):
         BYTES       : BYTES 
         STRING      : STRING 
         INT32       : INT64
         INT64       : IN64 
         DOUBLE      : FLOAT64
         FLOAT       : FLOAT64 
         BOOL        : BOOL 
         BYTES_LIST  : ARRAY
         STRING_LIST : ARRAY
         INT32_LIST  : ARRAY
         INT64_LIST  : ARRAY
         DOUBLE_LIST : ARRAY
         FLOAT_LIST  : ARRAY
         BOOL_LIST   : ARRAY
         The column mode in BigQuery is set to "Nullable" such that unset Value
         in a FeatureRow corresponds to NULL value in BigQuery.
         
        BIGQUERY = 2;
    • Field Detail

      • 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.RedisKey)
         - value: byte array of FeatureRow (refer to feast.types.FeatureRow)
         
         
        REDIS = 1;
        See Also:
        Constant Field Values
      • BIGQUERY_VALUE

        public static final int BIGQUERY_VALUE
         BigQuery stores a FeatureRow element as a row in a BigQuery table.
         
         Table name is derived is the same as the feature set name.
         
         The entities and features in a FeatureSetSpec corresponds to the 
         fields in the BigQuery table (these make up the BigQuery schema). 
         The name of the entity spec and feature spec corresponds to the column 
         names, and the value_type of entity spec and feature spec corresponds 
         to BigQuery standard SQL data type of the column. 
         
         The following BigQuery fields are reserved for Feast internal use. 
         Ingestion of entity or feature spec with names identical 
         to the following field names will raise an exception during ingestion.
           column_name       | column_data_type | description
         ====================|==================|================================
         - event_timestamp   | TIMESTAMP        | event time of the FeatureRow
         - created_timestamp | TIMESTAMP        | processing time of the ingestion of the FeatureRow
         - ingestion_id      | STRING           | unique id identifying groups of rows that have been ingested together
         - job_id            | STRING           | identifier for the job that writes the FeatureRow to the corresponding BigQuery table
         BigQuery table created will be partitioned by the field "event_timestamp"
         of the FeatureRow (https://cloud.google.com/bigquery/docs/partitioned-tables).
         
         The following table shows how ValueType in Feast is mapped to 
         BigQuery Standard SQL data types 
         (https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types):
         BYTES       : BYTES 
         STRING      : STRING 
         INT32       : INT64
         INT64       : IN64 
         DOUBLE      : FLOAT64
         FLOAT       : FLOAT64 
         BOOL        : BOOL 
         BYTES_LIST  : ARRAY
         STRING_LIST : ARRAY
         INT32_LIST  : ARRAY
         INT64_LIST  : ARRAY
         DOUBLE_LIST : ARRAY
         FLOAT_LIST  : ARRAY
         BOOL_LIST   : ARRAY
         The column mode in BigQuery is set to "Nullable" such that unset Value
         in a FeatureRow corresponds to NULL value in BigQuery.
         
        BIGQUERY = 2;
        See Also:
        Constant Field Values
      • CASSANDRA_VALUE

        public static final int CASSANDRA_VALUE
         Unsupported in Feast 0.3
         
        CASSANDRA = 3;
        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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null