Package ai.chalk.protos.chalk.common.v1
Interface OfflineQueryRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OfflineQueryRequest,OfflineQueryRequest.Builder
public interface OfflineQueryRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional string branch = 5 [json_name = "branch"];com.google.protobuf.ByteStringoptional string branch = 5 [json_name = "branch"];optional string correlation_id = 105 [json_name = "correlationId"];com.google.protobuf.ByteStringoptional string correlation_id = 105 [json_name = "correlationId"];optional string dataset_name = 6 [json_name = "datasetName"];com.google.protobuf.ByteStringoptional string dataset_name = 6 [json_name = "datasetName"];The desired output format.com.google.protobuf.ByteStringThe desired output format.Deprecated.chalk.common.v1.OfflineQueryRequest.explain is deprecated..chalk.common.v1.ExplainOptions explain2 = 106 [json_name = "explain2"];.chalk.common.v1.ExplainOptions explain2 = 106 [json_name = "explain2"];Deprecated.getFilters(int index) "Where" clauseint"Where" clause"Where" clausegetFiltersOrBuilder(int index) "Where" clauseList<? extends LogicalExprNodeOrBuilder>"Where" clause.chalk.common.v1.OfflineQueryInputs inputs = 1 [json_name = "inputs"];.chalk.common.v1.OfflineQueryInputs inputs = 1 [json_name = "inputs"];intThe maximum staleness, in seconds, for how old the view on the offline store can be.intThe maximum number of samples.The lower bound for the observed at timestamp (inclusive).com.google.protobuf.ByteStringThe lower bound for the observed at timestamp (inclusive).The upper bound for the observed at timestamp (inclusive).com.google.protobuf.ByteStringThe upper bound for the observed at timestamp (inclusive).getOutputs(int index) A list of output feature root fqns to querycom.google.protobuf.ByteStringgetOutputsBytes(int index) A list of output feature root fqns to queryintA list of output feature root fqns to queryA list of output feature root fqns to query.chalk.common.v1.OfflineQueryRecomputeFeatures recompute_features = 7 [json_name = "recomputeFeatures"];.chalk.common.v1.OfflineQueryRecomputeFeatures recompute_features = 7 [json_name = "recomputeFeatures"];getRequiredOutputs(int index) A list of required output feature root fqnscom.google.protobuf.ByteStringgetRequiredOutputsBytes(int index) A list of required output feature root fqnsintA list of required output feature root fqnsA list of required output feature root fqnsbooleanbool store_plan_stages = 8 [json_name = "storePlanStages"];getTags(int index) repeated string tags = 104 [json_name = "tags"];com.google.protobuf.ByteStringgetTagsBytes(int index) repeated string tags = 104 [json_name = "tags"];intrepeated string tags = 104 [json_name = "tags"];repeated string tags = 104 [json_name = "tags"];booleanoptional string branch = 5 [json_name = "branch"];booleanoptional string correlation_id = 105 [json_name = "correlationId"];booleanoptional string dataset_name = 6 [json_name = "datasetName"];booleanDeprecated.chalk.common.v1.OfflineQueryRequest.explain is deprecated.boolean.chalk.common.v1.ExplainOptions explain2 = 106 [json_name = "explain2"];boolean.chalk.common.v1.OfflineQueryInputs inputs = 1 [json_name = "inputs"];booleanThe maximum staleness, in seconds, for how old the view on the offline store can be.booleanThe maximum number of samples.booleanThe lower bound for the observed at timestamp (inclusive).booleanThe upper bound for the observed at timestamp (inclusive).boolean.chalk.common.v1.OfflineQueryRecomputeFeatures recompute_features = 7 [json_name = "recomputeFeatures"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInputs
boolean hasInputs().chalk.common.v1.OfflineQueryInputs inputs = 1 [json_name = "inputs"];- Returns:
- Whether the inputs field is set.
-
getInputs
OfflineQueryInputs getInputs().chalk.common.v1.OfflineQueryInputs inputs = 1 [json_name = "inputs"];- Returns:
- The inputs.
-
getInputsOrBuilder
OfflineQueryInputsOrBuilder getInputsOrBuilder().chalk.common.v1.OfflineQueryInputs inputs = 1 [json_name = "inputs"]; -
getOutputsList
A list of output feature root fqns to query
repeated string outputs = 2 [json_name = "outputs"];- Returns:
- A list containing the outputs.
-
getOutputsCount
int getOutputsCount()A list of output feature root fqns to query
repeated string outputs = 2 [json_name = "outputs"];- Returns:
- The count of outputs.
-
getOutputs
A list of output feature root fqns to query
repeated string outputs = 2 [json_name = "outputs"];- Parameters:
index- The index of the element to return.- Returns:
- The outputs at the given index.
-
getOutputsBytes
com.google.protobuf.ByteString getOutputsBytes(int index) A list of output feature root fqns to query
repeated string outputs = 2 [json_name = "outputs"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputs at the given index.
-
getRequiredOutputsList
A list of required output feature root fqns
repeated string required_outputs = 3 [json_name = "requiredOutputs"];- Returns:
- A list containing the requiredOutputs.
-
getRequiredOutputsCount
int getRequiredOutputsCount()A list of required output feature root fqns
repeated string required_outputs = 3 [json_name = "requiredOutputs"];- Returns:
- The count of requiredOutputs.
-
getRequiredOutputs
A list of required output feature root fqns
repeated string required_outputs = 3 [json_name = "requiredOutputs"];- Parameters:
index- The index of the element to return.- Returns:
- The requiredOutputs at the given index.
-
getRequiredOutputsBytes
com.google.protobuf.ByteString getRequiredOutputsBytes(int index) A list of required output feature root fqns
repeated string required_outputs = 3 [json_name = "requiredOutputs"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requiredOutputs at the given index.
-
getDestinationFormat
String getDestinationFormat()The desired output format. Should be 'CSV' or 'PARQUET
string destination_format = 4 [json_name = "destinationFormat"];- Returns:
- The destinationFormat.
-
getDestinationFormatBytes
com.google.protobuf.ByteString getDestinationFormatBytes()The desired output format. Should be 'CSV' or 'PARQUET
string destination_format = 4 [json_name = "destinationFormat"];- Returns:
- The bytes for destinationFormat.
-
hasBranch
boolean hasBranch()optional string branch = 5 [json_name = "branch"];- Returns:
- Whether the branch field is set.
-
getBranch
String getBranch()optional string branch = 5 [json_name = "branch"];- Returns:
- The branch.
-
getBranchBytes
com.google.protobuf.ByteString getBranchBytes()optional string branch = 5 [json_name = "branch"];- Returns:
- The bytes for branch.
-
hasDatasetName
boolean hasDatasetName()optional string dataset_name = 6 [json_name = "datasetName"];- Returns:
- Whether the datasetName field is set.
-
getDatasetName
String getDatasetName()optional string dataset_name = 6 [json_name = "datasetName"];- Returns:
- The datasetName.
-
getDatasetNameBytes
com.google.protobuf.ByteString getDatasetNameBytes()optional string dataset_name = 6 [json_name = "datasetName"];- Returns:
- The bytes for datasetName.
-
hasRecomputeFeatures
boolean hasRecomputeFeatures().chalk.common.v1.OfflineQueryRecomputeFeatures recompute_features = 7 [json_name = "recomputeFeatures"];- Returns:
- Whether the recomputeFeatures field is set.
-
getRecomputeFeatures
OfflineQueryRecomputeFeatures getRecomputeFeatures().chalk.common.v1.OfflineQueryRecomputeFeatures recompute_features = 7 [json_name = "recomputeFeatures"];- Returns:
- The recomputeFeatures.
-
getRecomputeFeaturesOrBuilder
OfflineQueryRecomputeFeaturesOrBuilder getRecomputeFeaturesOrBuilder().chalk.common.v1.OfflineQueryRecomputeFeatures recompute_features = 7 [json_name = "recomputeFeatures"]; -
getStorePlanStages
boolean getStorePlanStages()bool store_plan_stages = 8 [json_name = "storePlanStages"];- Returns:
- The storePlanStages.
-
getFiltersList
List<LogicalExprNode> getFiltersList()"Where" clause
repeated .chalk.expression.v1.LogicalExprNode filters = 11 [json_name = "filters"]; -
getFilters
"Where" clause
repeated .chalk.expression.v1.LogicalExprNode filters = 11 [json_name = "filters"]; -
getFiltersCount
int getFiltersCount()"Where" clause
repeated .chalk.expression.v1.LogicalExprNode filters = 11 [json_name = "filters"]; -
getFiltersOrBuilderList
List<? extends LogicalExprNodeOrBuilder> getFiltersOrBuilderList()"Where" clause
repeated .chalk.expression.v1.LogicalExprNode filters = 11 [json_name = "filters"]; -
getFiltersOrBuilder
"Where" clause
repeated .chalk.expression.v1.LogicalExprNode filters = 11 [json_name = "filters"]; -
hasMaxSamples
boolean hasMaxSamples()The maximum number of samples. If None, no limit
optional int32 max_samples = 101 [json_name = "maxSamples"];- Returns:
- Whether the maxSamples field is set.
-
getMaxSamples
int getMaxSamples()The maximum number of samples. If None, no limit
optional int32 max_samples = 101 [json_name = "maxSamples"];- Returns:
- The maxSamples.
-
hasMaxCacheAgeSecs
boolean hasMaxCacheAgeSecs()The maximum staleness, in seconds, for how old the view on the offline store can be. That is, data ingested within this interval will not be reflected in this offline query. Set to ``0`` to ignore the cache. If not specified, it defaults to OFFLINE_QUERY_MAX_CACHE_AGE_SECS in chalk engine config.
optional int32 max_cache_age_secs = 102 [json_name = "maxCacheAgeSecs"];- Returns:
- Whether the maxCacheAgeSecs field is set.
-
getMaxCacheAgeSecs
int getMaxCacheAgeSecs()The maximum staleness, in seconds, for how old the view on the offline store can be. That is, data ingested within this interval will not be reflected in this offline query. Set to ``0`` to ignore the cache. If not specified, it defaults to OFFLINE_QUERY_MAX_CACHE_AGE_SECS in chalk engine config.
optional int32 max_cache_age_secs = 102 [json_name = "maxCacheAgeSecs"];- Returns:
- The maxCacheAgeSecs.
-
hasExplain
Deprecated.chalk.common.v1.OfflineQueryRequest.explain is deprecated. See chalk/common/v1/offline_query.proto;l=79Field is deprecated because we shouldn't have OnlineExplain that differs from OfflineExplain Use explain2
.chalk.common.v1.OfflineQueryExplain explain = 103 [json_name = "explain", deprecated = true];- Returns:
- Whether the explain field is set.
-
getExplain
Deprecated.chalk.common.v1.OfflineQueryRequest.explain is deprecated. See chalk/common/v1/offline_query.proto;l=79Field is deprecated because we shouldn't have OnlineExplain that differs from OfflineExplain Use explain2
.chalk.common.v1.OfflineQueryExplain explain = 103 [json_name = "explain", deprecated = true];- Returns:
- The explain.
-
getExplainOrBuilder
Deprecated.Field is deprecated because we shouldn't have OnlineExplain that differs from OfflineExplain Use explain2
.chalk.common.v1.OfflineQueryExplain explain = 103 [json_name = "explain", deprecated = true]; -
hasExplain2
boolean hasExplain2().chalk.common.v1.ExplainOptions explain2 = 106 [json_name = "explain2"];- Returns:
- Whether the explain2 field is set.
-
getExplain2
ExplainOptions getExplain2().chalk.common.v1.ExplainOptions explain2 = 106 [json_name = "explain2"];- Returns:
- The explain2.
-
getExplain2OrBuilder
ExplainOptionsOrBuilder getExplain2OrBuilder().chalk.common.v1.ExplainOptions explain2 = 106 [json_name = "explain2"]; -
getTagsList
repeated string tags = 104 [json_name = "tags"];- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()repeated string tags = 104 [json_name = "tags"];- Returns:
- The count of tags.
-
getTags
repeated string tags = 104 [json_name = "tags"];- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
com.google.protobuf.ByteString getTagsBytes(int index) repeated string tags = 104 [json_name = "tags"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
hasCorrelationId
boolean hasCorrelationId()optional string correlation_id = 105 [json_name = "correlationId"];- Returns:
- Whether the correlationId field is set.
-
getCorrelationId
String getCorrelationId()optional string correlation_id = 105 [json_name = "correlationId"];- Returns:
- The correlationId.
-
getCorrelationIdBytes
com.google.protobuf.ByteString getCorrelationIdBytes()optional string correlation_id = 105 [json_name = "correlationId"];- Returns:
- The bytes for correlationId.
-
hasObservedAtLowerBound
boolean hasObservedAtLowerBound()The lower bound for the observed at timestamp (inclusive). If not specified, defaults to the beginning of time
optional string observed_at_lower_bound = 201 [json_name = "observedAtLowerBound"];- Returns:
- Whether the observedAtLowerBound field is set.
-
getObservedAtLowerBound
String getObservedAtLowerBound()The lower bound for the observed at timestamp (inclusive). If not specified, defaults to the beginning of time
optional string observed_at_lower_bound = 201 [json_name = "observedAtLowerBound"];- Returns:
- The observedAtLowerBound.
-
getObservedAtLowerBoundBytes
com.google.protobuf.ByteString getObservedAtLowerBoundBytes()The lower bound for the observed at timestamp (inclusive). If not specified, defaults to the beginning of time
optional string observed_at_lower_bound = 201 [json_name = "observedAtLowerBound"];- Returns:
- The bytes for observedAtLowerBound.
-
hasObservedAtUpperBound
boolean hasObservedAtUpperBound()The upper bound for the observed at timestamp (inclusive). If not specified, defaults to the end of time
optional string observed_at_upper_bound = 202 [json_name = "observedAtUpperBound"];- Returns:
- Whether the observedAtUpperBound field is set.
-
getObservedAtUpperBound
String getObservedAtUpperBound()The upper bound for the observed at timestamp (inclusive). If not specified, defaults to the end of time
optional string observed_at_upper_bound = 202 [json_name = "observedAtUpperBound"];- Returns:
- The observedAtUpperBound.
-
getObservedAtUpperBoundBytes
com.google.protobuf.ByteString getObservedAtUpperBoundBytes()The upper bound for the observed at timestamp (inclusive). If not specified, defaults to the end of time
optional string observed_at_upper_bound = 202 [json_name = "observedAtUpperBound"];- Returns:
- The bytes for observedAtUpperBound.
-