Package feast.proto.core
Interface FeatureTableProto.FeatureTableSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FeatureTableProto.FeatureTableSpec,FeatureTableProto.FeatureTableSpec.Builder
- Enclosing class:
- FeatureTableProto
public static interface FeatureTableProto.FeatureTableSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)User defined metadataDataSourceProto.DataSourcegetBatchSource()Batch/Offline DataSource to source batch/offline feature data.DataSourceProto.DataSourceOrBuildergetBatchSourceOrBuilder()Batch/Offline DataSource to source batch/offline feature data.StringgetEntities(int index)List names of entities to associate with the Features defined in this Feature Table.com.google.protobuf.ByteStringgetEntitiesBytes(int index)List names of entities to associate with the Features defined in this Feature Table.intgetEntitiesCount()List names of entities to associate with the Features defined in this Feature Table.List<String>getEntitiesList()List names of entities to associate with the Features defined in this Feature Table.FeatureProto.FeatureSpecV2getFeatures(int index)List of features specifications for each feature defined with this feature table.intgetFeaturesCount()List of features specifications for each feature defined with this feature table.List<FeatureProto.FeatureSpecV2>getFeaturesList()List of features specifications for each feature defined with this feature table.FeatureProto.FeatureSpecV2OrBuildergetFeaturesOrBuilder(int index)List of features specifications for each feature defined with this feature table.List<? extends FeatureProto.FeatureSpecV2OrBuilder>getFeaturesOrBuilderList()List of features specifications for each feature defined with this feature table.Map<String,String>getLabels()Deprecated.intgetLabelsCount()User defined metadataMap<String,String>getLabelsMap()User defined metadataStringgetLabelsOrDefault(String key, String defaultValue)User defined metadataStringgetLabelsOrThrow(String key)User defined metadatacom.google.protobuf.DurationgetMaxAge()Features in this feature table can only be retrieved from online serving younger than max age.com.google.protobuf.DurationOrBuildergetMaxAgeOrBuilder()Features in this feature table can only be retrieved from online serving younger than max age.StringgetName()Name of the feature set.com.google.protobuf.ByteStringgetNameBytes()Name of the feature set.DataSourceProto.DataSourcegetStreamSource()Stream/Online DataSource to source stream/online feature data.DataSourceProto.DataSourceOrBuildergetStreamSourceOrBuilder()Stream/Online DataSource to source stream/online feature data.booleanhasBatchSource()Batch/Offline DataSource to source batch/offline feature data.booleanhasMaxAge()Features in this feature table can only be retrieved from online serving younger than max age.booleanhasStreamSource()Stream/Online DataSource to source stream/online feature data.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Name of the feature set. Must be unique. Not updated.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the feature set. Must be unique. Not updated.
string name = 1;- Returns:
- The bytes for name.
-
getEntitiesList
List<String> getEntitiesList()
List names of entities to associate with the Features defined in this Feature Table. Not updatable.
repeated string entities = 3;- Returns:
- A list containing the entities.
-
getEntitiesCount
int getEntitiesCount()
List names of entities to associate with the Features defined in this Feature Table. Not updatable.
repeated string entities = 3;- Returns:
- The count of entities.
-
getEntities
String getEntities(int index)
List names of entities to associate with the Features defined in this Feature Table. Not updatable.
repeated string entities = 3;- Parameters:
index- The index of the element to return.- Returns:
- The entities at the given index.
-
getEntitiesBytes
com.google.protobuf.ByteString getEntitiesBytes(int index)
List names of entities to associate with the Features defined in this Feature Table. Not updatable.
repeated string entities = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entities at the given index.
-
getFeaturesList
List<FeatureProto.FeatureSpecV2> getFeaturesList()
List of features specifications for each feature defined with this feature table.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeatures
FeatureProto.FeatureSpecV2 getFeatures(int index)
List of features specifications for each feature defined with this feature table.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesCount
int getFeaturesCount()
List of features specifications for each feature defined with this feature table.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesOrBuilderList
List<? extends FeatureProto.FeatureSpecV2OrBuilder> getFeaturesOrBuilderList()
List of features specifications for each feature defined with this feature table.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesOrBuilder
FeatureProto.FeatureSpecV2OrBuilder getFeaturesOrBuilder(int index)
List of features specifications for each feature defined with this feature table.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getLabelsCount
int getLabelsCount()
User defined metadata
map<string, string> labels = 5;
-
containsLabels
boolean containsLabels(String key)
User defined metadata
map<string, string> labels = 5;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
User defined metadata
map<string, string> labels = 5;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
User defined metadata
map<string, string> labels = 5;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
User defined metadata
map<string, string> labels = 5;
-
hasMaxAge
boolean hasMaxAge()
Features in this feature table can only be retrieved from online serving younger than max age. Age is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside max age will be returned as unset values and indicated to end user
.google.protobuf.Duration max_age = 6;- Returns:
- Whether the maxAge field is set.
-
getMaxAge
com.google.protobuf.Duration getMaxAge()
Features in this feature table can only be retrieved from online serving younger than max age. Age is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside max age will be returned as unset values and indicated to end user
.google.protobuf.Duration max_age = 6;- Returns:
- The maxAge.
-
getMaxAgeOrBuilder
com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder()
Features in this feature table can only be retrieved from online serving younger than max age. Age is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside max age will be returned as unset values and indicated to end user
.google.protobuf.Duration max_age = 6;
-
hasBatchSource
boolean hasBatchSource()
Batch/Offline DataSource to source batch/offline feature data. Only batch DataSource can be specified (ie source type should start with 'BATCH_')
.feast.core.DataSource batch_source = 7;- Returns:
- Whether the batchSource field is set.
-
getBatchSource
DataSourceProto.DataSource getBatchSource()
Batch/Offline DataSource to source batch/offline feature data. Only batch DataSource can be specified (ie source type should start with 'BATCH_')
.feast.core.DataSource batch_source = 7;- Returns:
- The batchSource.
-
getBatchSourceOrBuilder
DataSourceProto.DataSourceOrBuilder getBatchSourceOrBuilder()
Batch/Offline DataSource to source batch/offline feature data. Only batch DataSource can be specified (ie source type should start with 'BATCH_')
.feast.core.DataSource batch_source = 7;
-
hasStreamSource
boolean hasStreamSource()
Stream/Online DataSource to source stream/online feature data. Only stream DataSource can be specified (ie source type should start with 'STREAM_')
.feast.core.DataSource stream_source = 8;- Returns:
- Whether the streamSource field is set.
-
getStreamSource
DataSourceProto.DataSource getStreamSource()
Stream/Online DataSource to source stream/online feature data. Only stream DataSource can be specified (ie source type should start with 'STREAM_')
.feast.core.DataSource stream_source = 8;- Returns:
- The streamSource.
-
getStreamSourceOrBuilder
DataSourceProto.DataSourceOrBuilder getStreamSourceOrBuilder()
Stream/Online DataSource to source stream/online feature data. Only stream DataSource can be specified (ie source type should start with 'STREAM_')
.feast.core.DataSource stream_source = 8;
-
-