Package feast.proto.core
Interface DataSourceProto.DataSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataSourceProto.DataSource,DataSourceProto.DataSource.Builder
- Enclosing class:
- DataSourceProto
public static interface DataSourceProto.DataSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsFieldMapping(String key)Defines mapping between fields in the sourced data and fields in parent FeatureTable.booleancontainsTags(String key)map<string, string> tags = 24;DataSourceProto.DataSourcegetBatchSource()Optional batch source for streaming sources for historical features and materialization.DataSourceProto.DataSourceOrBuildergetBatchSourceOrBuilder()Optional batch source for streaming sources for historical features and materialization.DataSourceProto.DataSource.BigQueryOptionsgetBigqueryOptions().feast.core.DataSource.BigQueryOptions bigquery_options = 12;DataSourceProto.DataSource.BigQueryOptionsOrBuildergetBigqueryOptionsOrBuilder().feast.core.DataSource.BigQueryOptions bigquery_options = 12;StringgetCreatedTimestampColumn()Must specify creation timestamp column namecom.google.protobuf.ByteStringgetCreatedTimestampColumnBytes()Must specify creation timestamp column nameDataSourceProto.DataSource.CustomSourceOptionsgetCustomOptions().feast.core.DataSource.CustomSourceOptions custom_options = 16;DataSourceProto.DataSource.CustomSourceOptionsOrBuildergetCustomOptionsOrBuilder().feast.core.DataSource.CustomSourceOptions custom_options = 16;StringgetDataSourceClassType()This is an internal field that is represents the python class for the data source object a proto object represents.com.google.protobuf.ByteStringgetDataSourceClassTypeBytes()This is an internal field that is represents the python class for the data source object a proto object represents.StringgetDatePartitionColumn()(Optional) Specify partition column useful for file sourcescom.google.protobuf.ByteStringgetDatePartitionColumnBytes()(Optional) Specify partition column useful for file sourcesStringgetDescription()string description = 23;com.google.protobuf.ByteStringgetDescriptionBytes()string description = 23;Map<String,String>getFieldMapping()Deprecated.intgetFieldMappingCount()Defines mapping between fields in the sourced data and fields in parent FeatureTable.Map<String,String>getFieldMappingMap()Defines mapping between fields in the sourced data and fields in parent FeatureTable.StringgetFieldMappingOrDefault(String key, String defaultValue)Defines mapping between fields in the sourced data and fields in parent FeatureTable.StringgetFieldMappingOrThrow(String key)Defines mapping between fields in the sourced data and fields in parent FeatureTable.DataSourceProto.DataSource.FileOptionsgetFileOptions().feast.core.DataSource.FileOptions file_options = 11;DataSourceProto.DataSource.FileOptionsOrBuildergetFileOptionsOrBuilder().feast.core.DataSource.FileOptions file_options = 11;DataSourceProto.DataSource.KafkaOptionsgetKafkaOptions().feast.core.DataSource.KafkaOptions kafka_options = 13;DataSourceProto.DataSource.KafkaOptionsOrBuildergetKafkaOptionsOrBuilder().feast.core.DataSource.KafkaOptions kafka_options = 13;DataSourceProto.DataSource.KinesisOptionsgetKinesisOptions().feast.core.DataSource.KinesisOptions kinesis_options = 14;DataSourceProto.DataSource.KinesisOptionsOrBuildergetKinesisOptionsOrBuilder().feast.core.DataSource.KinesisOptions kinesis_options = 14;StringgetName()Unique name of data source within the projectcom.google.protobuf.ByteStringgetNameBytes()Unique name of data source within the projectDataSourceProto.DataSource.OptionsCasegetOptionsCase()StringgetOwner()string owner = 25;com.google.protobuf.ByteStringgetOwnerBytes()string owner = 25;StringgetProject()Name of Feast project that this data source belongs to.com.google.protobuf.ByteStringgetProjectBytes()Name of Feast project that this data source belongs to.DataSourceProto.DataSource.PushOptionsgetPushOptions().feast.core.DataSource.PushOptions push_options = 22;DataSourceProto.DataSource.PushOptionsOrBuildergetPushOptionsOrBuilder().feast.core.DataSource.PushOptions push_options = 22;DataSourceProto.DataSource.RedshiftOptionsgetRedshiftOptions().feast.core.DataSource.RedshiftOptions redshift_options = 15;DataSourceProto.DataSource.RedshiftOptionsOrBuildergetRedshiftOptionsOrBuilder().feast.core.DataSource.RedshiftOptions redshift_options = 15;DataSourceProto.DataSource.RequestDataOptionsgetRequestDataOptions().feast.core.DataSource.RequestDataOptions request_data_options = 18;DataSourceProto.DataSource.RequestDataOptionsOrBuildergetRequestDataOptionsOrBuilder().feast.core.DataSource.RequestDataOptions request_data_options = 18;DataSourceProto.DataSource.SnowflakeOptionsgetSnowflakeOptions().feast.core.DataSource.SnowflakeOptions snowflake_options = 19;DataSourceProto.DataSource.SnowflakeOptionsOrBuildergetSnowflakeOptionsOrBuilder().feast.core.DataSource.SnowflakeOptions snowflake_options = 19;DataSourceProto.DataSource.SparkOptionsgetSparkOptions().feast.core.DataSource.SparkOptions spark_options = 27;DataSourceProto.DataSource.SparkOptionsOrBuildergetSparkOptionsOrBuilder().feast.core.DataSource.SparkOptions spark_options = 27;Map<String,String>getTags()Deprecated.intgetTagsCount()map<string, string> tags = 24;Map<String,String>getTagsMap()map<string, string> tags = 24;StringgetTagsOrDefault(String key, String defaultValue)map<string, string> tags = 24;StringgetTagsOrThrow(String key)map<string, string> tags = 24;StringgetTimestampField()Must specify event timestamp column namecom.google.protobuf.ByteStringgetTimestampFieldBytes()Must specify event timestamp column nameDataSourceProto.DataSource.TrinoOptionsgetTrinoOptions().feast.core.DataSource.TrinoOptions trino_options = 30;DataSourceProto.DataSource.TrinoOptionsOrBuildergetTrinoOptionsOrBuilder().feast.core.DataSource.TrinoOptions trino_options = 30;DataSourceProto.DataSource.SourceTypegetType().feast.core.DataSource.SourceType type = 1;intgetTypeValue().feast.core.DataSource.SourceType type = 1;booleanhasBatchSource()Optional batch source for streaming sources for historical features and materialization.booleanhasBigqueryOptions().feast.core.DataSource.BigQueryOptions bigquery_options = 12;booleanhasCustomOptions().feast.core.DataSource.CustomSourceOptions custom_options = 16;booleanhasFileOptions().feast.core.DataSource.FileOptions file_options = 11;booleanhasKafkaOptions().feast.core.DataSource.KafkaOptions kafka_options = 13;booleanhasKinesisOptions().feast.core.DataSource.KinesisOptions kinesis_options = 14;booleanhasPushOptions().feast.core.DataSource.PushOptions push_options = 22;booleanhasRedshiftOptions().feast.core.DataSource.RedshiftOptions redshift_options = 15;booleanhasRequestDataOptions().feast.core.DataSource.RequestDataOptions request_data_options = 18;booleanhasSnowflakeOptions().feast.core.DataSource.SnowflakeOptions snowflake_options = 19;booleanhasSparkOptions().feast.core.DataSource.SparkOptions spark_options = 27;booleanhasTrinoOptions().feast.core.DataSource.TrinoOptions trino_options = 30;-
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()
Unique name of data source within the project
string name = 20;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Unique name of data source within the project
string name = 20;- Returns:
- The bytes for name.
-
getProject
String getProject()
Name of Feast project that this data source belongs to.
string project = 21;- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()
Name of Feast project that this data source belongs to.
string project = 21;- Returns:
- The bytes for project.
-
getDescription
String getDescription()
string description = 23;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
string description = 23;- Returns:
- The bytes for description.
-
getTagsCount
int getTagsCount()
map<string, string> tags = 24;
-
containsTags
boolean containsTags(String key)
map<string, string> tags = 24;
-
getTags
@Deprecated Map<String,String> getTags()
Deprecated.UsegetTagsMap()instead.
-
getTagsOrDefault
String getTagsOrDefault(String key, String defaultValue)
map<string, string> tags = 24;
-
getOwner
String getOwner()
string owner = 25;- Returns:
- The owner.
-
getOwnerBytes
com.google.protobuf.ByteString getOwnerBytes()
string owner = 25;- Returns:
- The bytes for owner.
-
getTypeValue
int getTypeValue()
.feast.core.DataSource.SourceType type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
DataSourceProto.DataSource.SourceType getType()
.feast.core.DataSource.SourceType type = 1;- Returns:
- The type.
-
getFieldMappingCount
int getFieldMappingCount()
Defines mapping between fields in the sourced data and fields in parent FeatureTable.
map<string, string> field_mapping = 2;
-
containsFieldMapping
boolean containsFieldMapping(String key)
Defines mapping between fields in the sourced data and fields in parent FeatureTable.
map<string, string> field_mapping = 2;
-
getFieldMapping
@Deprecated Map<String,String> getFieldMapping()
Deprecated.UsegetFieldMappingMap()instead.
-
getFieldMappingMap
Map<String,String> getFieldMappingMap()
Defines mapping between fields in the sourced data and fields in parent FeatureTable.
map<string, string> field_mapping = 2;
-
getFieldMappingOrDefault
String getFieldMappingOrDefault(String key, String defaultValue)
Defines mapping between fields in the sourced data and fields in parent FeatureTable.
map<string, string> field_mapping = 2;
-
getFieldMappingOrThrow
String getFieldMappingOrThrow(String key)
Defines mapping between fields in the sourced data and fields in parent FeatureTable.
map<string, string> field_mapping = 2;
-
getTimestampField
String getTimestampField()
Must specify event timestamp column name
string timestamp_field = 3;- Returns:
- The timestampField.
-
getTimestampFieldBytes
com.google.protobuf.ByteString getTimestampFieldBytes()
Must specify event timestamp column name
string timestamp_field = 3;- Returns:
- The bytes for timestampField.
-
getDatePartitionColumn
String getDatePartitionColumn()
(Optional) Specify partition column useful for file sources
string date_partition_column = 4;- Returns:
- The datePartitionColumn.
-
getDatePartitionColumnBytes
com.google.protobuf.ByteString getDatePartitionColumnBytes()
(Optional) Specify partition column useful for file sources
string date_partition_column = 4;- Returns:
- The bytes for datePartitionColumn.
-
getCreatedTimestampColumn
String getCreatedTimestampColumn()
Must specify creation timestamp column name
string created_timestamp_column = 5;- Returns:
- The createdTimestampColumn.
-
getCreatedTimestampColumnBytes
com.google.protobuf.ByteString getCreatedTimestampColumnBytes()
Must specify creation timestamp column name
string created_timestamp_column = 5;- Returns:
- The bytes for createdTimestampColumn.
-
getDataSourceClassType
String getDataSourceClassType()
This is an internal field that is represents the python class for the data source object a proto object represents. This should be set by feast, and not by users. The field is used primarily by custom data sources and is mandatory for them to set. Feast may set it for first party sources as well.
string data_source_class_type = 17;- Returns:
- The dataSourceClassType.
-
getDataSourceClassTypeBytes
com.google.protobuf.ByteString getDataSourceClassTypeBytes()
This is an internal field that is represents the python class for the data source object a proto object represents. This should be set by feast, and not by users. The field is used primarily by custom data sources and is mandatory for them to set. Feast may set it for first party sources as well.
string data_source_class_type = 17;- Returns:
- The bytes for dataSourceClassType.
-
hasBatchSource
boolean hasBatchSource()
Optional batch source for streaming sources for historical features and materialization.
.feast.core.DataSource batch_source = 26;- Returns:
- Whether the batchSource field is set.
-
getBatchSource
DataSourceProto.DataSource getBatchSource()
Optional batch source for streaming sources for historical features and materialization.
.feast.core.DataSource batch_source = 26;- Returns:
- The batchSource.
-
getBatchSourceOrBuilder
DataSourceProto.DataSourceOrBuilder getBatchSourceOrBuilder()
Optional batch source for streaming sources for historical features and materialization.
.feast.core.DataSource batch_source = 26;
-
hasFileOptions
boolean hasFileOptions()
.feast.core.DataSource.FileOptions file_options = 11;- Returns:
- Whether the fileOptions field is set.
-
getFileOptions
DataSourceProto.DataSource.FileOptions getFileOptions()
.feast.core.DataSource.FileOptions file_options = 11;- Returns:
- The fileOptions.
-
getFileOptionsOrBuilder
DataSourceProto.DataSource.FileOptionsOrBuilder getFileOptionsOrBuilder()
.feast.core.DataSource.FileOptions file_options = 11;
-
hasBigqueryOptions
boolean hasBigqueryOptions()
.feast.core.DataSource.BigQueryOptions bigquery_options = 12;- Returns:
- Whether the bigqueryOptions field is set.
-
getBigqueryOptions
DataSourceProto.DataSource.BigQueryOptions getBigqueryOptions()
.feast.core.DataSource.BigQueryOptions bigquery_options = 12;- Returns:
- The bigqueryOptions.
-
getBigqueryOptionsOrBuilder
DataSourceProto.DataSource.BigQueryOptionsOrBuilder getBigqueryOptionsOrBuilder()
.feast.core.DataSource.BigQueryOptions bigquery_options = 12;
-
hasKafkaOptions
boolean hasKafkaOptions()
.feast.core.DataSource.KafkaOptions kafka_options = 13;- Returns:
- Whether the kafkaOptions field is set.
-
getKafkaOptions
DataSourceProto.DataSource.KafkaOptions getKafkaOptions()
.feast.core.DataSource.KafkaOptions kafka_options = 13;- Returns:
- The kafkaOptions.
-
getKafkaOptionsOrBuilder
DataSourceProto.DataSource.KafkaOptionsOrBuilder getKafkaOptionsOrBuilder()
.feast.core.DataSource.KafkaOptions kafka_options = 13;
-
hasKinesisOptions
boolean hasKinesisOptions()
.feast.core.DataSource.KinesisOptions kinesis_options = 14;- Returns:
- Whether the kinesisOptions field is set.
-
getKinesisOptions
DataSourceProto.DataSource.KinesisOptions getKinesisOptions()
.feast.core.DataSource.KinesisOptions kinesis_options = 14;- Returns:
- The kinesisOptions.
-
getKinesisOptionsOrBuilder
DataSourceProto.DataSource.KinesisOptionsOrBuilder getKinesisOptionsOrBuilder()
.feast.core.DataSource.KinesisOptions kinesis_options = 14;
-
hasRedshiftOptions
boolean hasRedshiftOptions()
.feast.core.DataSource.RedshiftOptions redshift_options = 15;- Returns:
- Whether the redshiftOptions field is set.
-
getRedshiftOptions
DataSourceProto.DataSource.RedshiftOptions getRedshiftOptions()
.feast.core.DataSource.RedshiftOptions redshift_options = 15;- Returns:
- The redshiftOptions.
-
getRedshiftOptionsOrBuilder
DataSourceProto.DataSource.RedshiftOptionsOrBuilder getRedshiftOptionsOrBuilder()
.feast.core.DataSource.RedshiftOptions redshift_options = 15;
-
hasRequestDataOptions
boolean hasRequestDataOptions()
.feast.core.DataSource.RequestDataOptions request_data_options = 18;- Returns:
- Whether the requestDataOptions field is set.
-
getRequestDataOptions
DataSourceProto.DataSource.RequestDataOptions getRequestDataOptions()
.feast.core.DataSource.RequestDataOptions request_data_options = 18;- Returns:
- The requestDataOptions.
-
getRequestDataOptionsOrBuilder
DataSourceProto.DataSource.RequestDataOptionsOrBuilder getRequestDataOptionsOrBuilder()
.feast.core.DataSource.RequestDataOptions request_data_options = 18;
-
hasCustomOptions
boolean hasCustomOptions()
.feast.core.DataSource.CustomSourceOptions custom_options = 16;- Returns:
- Whether the customOptions field is set.
-
getCustomOptions
DataSourceProto.DataSource.CustomSourceOptions getCustomOptions()
.feast.core.DataSource.CustomSourceOptions custom_options = 16;- Returns:
- The customOptions.
-
getCustomOptionsOrBuilder
DataSourceProto.DataSource.CustomSourceOptionsOrBuilder getCustomOptionsOrBuilder()
.feast.core.DataSource.CustomSourceOptions custom_options = 16;
-
hasSnowflakeOptions
boolean hasSnowflakeOptions()
.feast.core.DataSource.SnowflakeOptions snowflake_options = 19;- Returns:
- Whether the snowflakeOptions field is set.
-
getSnowflakeOptions
DataSourceProto.DataSource.SnowflakeOptions getSnowflakeOptions()
.feast.core.DataSource.SnowflakeOptions snowflake_options = 19;- Returns:
- The snowflakeOptions.
-
getSnowflakeOptionsOrBuilder
DataSourceProto.DataSource.SnowflakeOptionsOrBuilder getSnowflakeOptionsOrBuilder()
.feast.core.DataSource.SnowflakeOptions snowflake_options = 19;
-
hasPushOptions
boolean hasPushOptions()
.feast.core.DataSource.PushOptions push_options = 22;- Returns:
- Whether the pushOptions field is set.
-
getPushOptions
DataSourceProto.DataSource.PushOptions getPushOptions()
.feast.core.DataSource.PushOptions push_options = 22;- Returns:
- The pushOptions.
-
getPushOptionsOrBuilder
DataSourceProto.DataSource.PushOptionsOrBuilder getPushOptionsOrBuilder()
.feast.core.DataSource.PushOptions push_options = 22;
-
hasSparkOptions
boolean hasSparkOptions()
.feast.core.DataSource.SparkOptions spark_options = 27;- Returns:
- Whether the sparkOptions field is set.
-
getSparkOptions
DataSourceProto.DataSource.SparkOptions getSparkOptions()
.feast.core.DataSource.SparkOptions spark_options = 27;- Returns:
- The sparkOptions.
-
getSparkOptionsOrBuilder
DataSourceProto.DataSource.SparkOptionsOrBuilder getSparkOptionsOrBuilder()
.feast.core.DataSource.SparkOptions spark_options = 27;
-
hasTrinoOptions
boolean hasTrinoOptions()
.feast.core.DataSource.TrinoOptions trino_options = 30;- Returns:
- Whether the trinoOptions field is set.
-
getTrinoOptions
DataSourceProto.DataSource.TrinoOptions getTrinoOptions()
.feast.core.DataSource.TrinoOptions trino_options = 30;- Returns:
- The trinoOptions.
-
getTrinoOptionsOrBuilder
DataSourceProto.DataSource.TrinoOptionsOrBuilder getTrinoOptionsOrBuilder()
.feast.core.DataSource.TrinoOptions trino_options = 30;
-
getOptionsCase
DataSourceProto.DataSource.OptionsCase getOptionsCase()
-
-