Package feast.proto.core
Interface StreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamFeatureViewProto.StreamFeatureViewSpec,StreamFeatureViewProto.StreamFeatureViewSpec.Builder
- Enclosing class:
- StreamFeatureViewProto
public static interface StreamFeatureViewProto.StreamFeatureViewSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsTags(String key)User defined metadataAggregationProto.AggregationgetAggregations(int index)Aggregation definitionsintgetAggregationsCount()Aggregation definitionsList<AggregationProto.Aggregation>getAggregationsList()Aggregation definitionsAggregationProto.AggregationOrBuildergetAggregationsOrBuilder(int index)Aggregation definitionsList<? extends AggregationProto.AggregationOrBuilder>getAggregationsOrBuilderList()Aggregation definitionsDataSourceProto.DataSourcegetBatchSource()Batch/Offline DataSource where this view can retrieve offline feature data.DataSourceProto.DataSourceOrBuildergetBatchSourceOrBuilder()Batch/Offline DataSource where this view can retrieve offline feature data.StringgetDescription()Description of the feature view.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the feature view.StringgetEntities(int index)List of names of entities associated with this feature view.com.google.protobuf.ByteStringgetEntitiesBytes(int index)List of names of entities associated with this feature view.intgetEntitiesCount()List of names of entities associated with this feature view.List<String>getEntitiesList()List of names of entities associated with this feature view.FeatureProto.FeatureSpecV2getEntityColumns(int index)List of specifications for each entity defined as part of this feature view.intgetEntityColumnsCount()List of specifications for each entity defined as part of this feature view.List<FeatureProto.FeatureSpecV2>getEntityColumnsList()List of specifications for each entity defined as part of this feature view.FeatureProto.FeatureSpecV2OrBuildergetEntityColumnsOrBuilder(int index)List of specifications for each entity defined as part of this feature view.List<? extends FeatureProto.FeatureSpecV2OrBuilder>getEntityColumnsOrBuilderList()List of specifications for each entity defined as part of this feature view.FeatureProto.FeatureSpecV2getFeatures(int index)List of specifications for each feature defined as part of this feature view.intgetFeaturesCount()List of specifications for each feature defined as part of this feature view.List<FeatureProto.FeatureSpecV2>getFeaturesList()List of specifications for each feature defined as part of this feature view.FeatureProto.FeatureSpecV2OrBuildergetFeaturesOrBuilder(int index)List of specifications for each feature defined as part of this feature view.List<? extends FeatureProto.FeatureSpecV2OrBuilder>getFeaturesOrBuilderList()List of specifications for each feature defined as part of this feature view.StringgetMode()Mode of executioncom.google.protobuf.ByteStringgetModeBytes()Mode of executionStringgetName()Name of the feature view.com.google.protobuf.ByteStringgetNameBytes()Name of the feature view.booleangetOnline()Whether these features should be served online or notStringgetOwner()Owner of the feature view.com.google.protobuf.ByteStringgetOwnerBytes()Owner of the feature view.StringgetProject()Name of Feast project that this feature view belongs to.com.google.protobuf.ByteStringgetProjectBytes()Name of Feast project that this feature view belongs to.DataSourceProto.DataSourcegetStreamSource()Streaming DataSource from where this view can consume "online" feature data.DataSourceProto.DataSourceOrBuildergetStreamSourceOrBuilder()Streaming DataSource from where this view can consume "online" feature data.Map<String,String>getTags()Deprecated.intgetTagsCount()User defined metadataMap<String,String>getTagsMap()User defined metadataStringgetTagsOrDefault(String key, String defaultValue)User defined metadataStringgetTagsOrThrow(String key)User defined metadataStringgetTimestampField()Timestamp field for aggregationcom.google.protobuf.ByteStringgetTimestampFieldBytes()Timestamp field for aggregationcom.google.protobuf.DurationgetTtl()Features in this feature view can only be retrieved from online serving younger than ttl.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()Features in this feature view can only be retrieved from online serving younger than ttl.OnDemandFeatureViewProto.UserDefinedFunctiongetUserDefinedFunction()Serialized function that is encoded in the streamfeatureviewOnDemandFeatureViewProto.UserDefinedFunctionOrBuildergetUserDefinedFunctionOrBuilder()Serialized function that is encoded in the streamfeatureviewbooleanhasBatchSource()Batch/Offline DataSource where this view can retrieve offline feature data.booleanhasStreamSource()Streaming DataSource from where this view can consume "online" feature data.booleanhasTtl()Features in this feature view can only be retrieved from online serving younger than ttl.booleanhasUserDefinedFunction()Serialized function that is encoded in the streamfeatureview-
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 view. Must be unique. Not updated.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the feature view. Must be unique. Not updated.
string name = 1;- Returns:
- The bytes for name.
-
getProject
String getProject()
Name of Feast project that this feature view belongs to.
string project = 2;- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()
Name of Feast project that this feature view belongs to.
string project = 2;- Returns:
- The bytes for project.
-
getEntitiesList
List<String> getEntitiesList()
List of names of entities associated with this feature view.
repeated string entities = 3;- Returns:
- A list containing the entities.
-
getEntitiesCount
int getEntitiesCount()
List of names of entities associated with this feature view.
repeated string entities = 3;- Returns:
- The count of entities.
-
getEntities
String getEntities(int index)
List of names of entities associated with this feature view.
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 of names of entities associated with this feature view.
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 specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeatures
FeatureProto.FeatureSpecV2 getFeatures(int index)
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesCount
int getFeaturesCount()
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesOrBuilderList
List<? extends FeatureProto.FeatureSpecV2OrBuilder> getFeaturesOrBuilderList()
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesOrBuilder
FeatureProto.FeatureSpecV2OrBuilder getFeaturesOrBuilder(int index)
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getEntityColumnsList
List<FeatureProto.FeatureSpecV2> getEntityColumnsList()
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 5;
-
getEntityColumns
FeatureProto.FeatureSpecV2 getEntityColumns(int index)
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 5;
-
getEntityColumnsCount
int getEntityColumnsCount()
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 5;
-
getEntityColumnsOrBuilderList
List<? extends FeatureProto.FeatureSpecV2OrBuilder> getEntityColumnsOrBuilderList()
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 5;
-
getEntityColumnsOrBuilder
FeatureProto.FeatureSpecV2OrBuilder getEntityColumnsOrBuilder(int index)
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 5;
-
getDescription
String getDescription()
Description of the feature view.
string description = 6;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Description of the feature view.
string description = 6;- Returns:
- The bytes for description.
-
getTagsCount
int getTagsCount()
User defined metadata
map<string, string> tags = 7;
-
containsTags
boolean containsTags(String key)
User defined metadata
map<string, string> tags = 7;
-
getTags
@Deprecated Map<String,String> getTags()
Deprecated.UsegetTagsMap()instead.
-
getTagsOrDefault
String getTagsOrDefault(String key, String defaultValue)
User defined metadata
map<string, string> tags = 7;
-
getTagsOrThrow
String getTagsOrThrow(String key)
User defined metadata
map<string, string> tags = 7;
-
getOwner
String getOwner()
Owner of the feature view.
string owner = 8;- Returns:
- The owner.
-
getOwnerBytes
com.google.protobuf.ByteString getOwnerBytes()
Owner of the feature view.
string owner = 8;- Returns:
- The bytes for owner.
-
hasTtl
boolean hasTtl()
Features in this feature view can only be retrieved from online serving younger than ttl. Ttl is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside ttl will be returned as unset values and indicated to end user
.google.protobuf.Duration ttl = 9;- Returns:
- Whether the ttl field is set.
-
getTtl
com.google.protobuf.Duration getTtl()
Features in this feature view can only be retrieved from online serving younger than ttl. Ttl is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside ttl will be returned as unset values and indicated to end user
.google.protobuf.Duration ttl = 9;- Returns:
- The ttl.
-
getTtlOrBuilder
com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
Features in this feature view can only be retrieved from online serving younger than ttl. Ttl is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside ttl will be returned as unset values and indicated to end user
.google.protobuf.Duration ttl = 9;
-
hasBatchSource
boolean hasBatchSource()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 10;- Returns:
- Whether the batchSource field is set.
-
getBatchSource
DataSourceProto.DataSource getBatchSource()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 10;- Returns:
- The batchSource.
-
getBatchSourceOrBuilder
DataSourceProto.DataSourceOrBuilder getBatchSourceOrBuilder()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 10;
-
hasStreamSource
boolean hasStreamSource()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 11;- Returns:
- Whether the streamSource field is set.
-
getStreamSource
DataSourceProto.DataSource getStreamSource()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 11;- Returns:
- The streamSource.
-
getStreamSourceOrBuilder
DataSourceProto.DataSourceOrBuilder getStreamSourceOrBuilder()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 11;
-
getOnline
boolean getOnline()
Whether these features should be served online or not
bool online = 12;- Returns:
- The online.
-
hasUserDefinedFunction
boolean hasUserDefinedFunction()
Serialized function that is encoded in the streamfeatureview
.feast.core.UserDefinedFunction user_defined_function = 13;- Returns:
- Whether the userDefinedFunction field is set.
-
getUserDefinedFunction
OnDemandFeatureViewProto.UserDefinedFunction getUserDefinedFunction()
Serialized function that is encoded in the streamfeatureview
.feast.core.UserDefinedFunction user_defined_function = 13;- Returns:
- The userDefinedFunction.
-
getUserDefinedFunctionOrBuilder
OnDemandFeatureViewProto.UserDefinedFunctionOrBuilder getUserDefinedFunctionOrBuilder()
Serialized function that is encoded in the streamfeatureview
.feast.core.UserDefinedFunction user_defined_function = 13;
-
getMode
String getMode()
Mode of execution
string mode = 14;- Returns:
- The mode.
-
getModeBytes
com.google.protobuf.ByteString getModeBytes()
Mode of execution
string mode = 14;- Returns:
- The bytes for mode.
-
getAggregationsList
List<AggregationProto.Aggregation> getAggregationsList()
Aggregation definitions
repeated .feast.core.Aggregation aggregations = 15;
-
getAggregations
AggregationProto.Aggregation getAggregations(int index)
Aggregation definitions
repeated .feast.core.Aggregation aggregations = 15;
-
getAggregationsCount
int getAggregationsCount()
Aggregation definitions
repeated .feast.core.Aggregation aggregations = 15;
-
getAggregationsOrBuilderList
List<? extends AggregationProto.AggregationOrBuilder> getAggregationsOrBuilderList()
Aggregation definitions
repeated .feast.core.Aggregation aggregations = 15;
-
getAggregationsOrBuilder
AggregationProto.AggregationOrBuilder getAggregationsOrBuilder(int index)
Aggregation definitions
repeated .feast.core.Aggregation aggregations = 15;
-
getTimestampField
String getTimestampField()
Timestamp field for aggregation
string timestamp_field = 16;- Returns:
- The timestampField.
-
getTimestampFieldBytes
com.google.protobuf.ByteString getTimestampFieldBytes()
Timestamp field for aggregation
string timestamp_field = 16;- Returns:
- The bytes for timestampField.
-
-