Package com.google.datastore.v1
Interface AggregationResultBatchOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AggregationResultBatch
,AggregationResultBatch.Builder
public interface AggregationResultBatchOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AggregationResult
getAggregationResults(int index)
The aggregation results for this batch.int
getAggregationResultsCount()
The aggregation results for this batch.List<AggregationResult>
getAggregationResultsList()
The aggregation results for this batch.AggregationResultOrBuilder
getAggregationResultsOrBuilder(int index)
The aggregation results for this batch.List<? extends AggregationResultOrBuilder>
getAggregationResultsOrBuilderList()
The aggregation results for this batch.QueryResultBatch.MoreResultsType
getMoreResults()
The state of the query after the current batch.int
getMoreResultsValue()
The state of the query after the current batch.com.google.protobuf.Timestamp
getReadTime()
Read timestamp this batch was returned from.com.google.protobuf.TimestampOrBuilder
getReadTimeOrBuilder()
Read timestamp this batch was returned from.boolean
hasReadTime()
Read timestamp this batch was returned from.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAggregationResultsList
List<AggregationResult> getAggregationResultsList()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
-
getAggregationResults
AggregationResult getAggregationResults(int index)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
-
getAggregationResultsCount
int getAggregationResultsCount()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
-
getAggregationResultsOrBuilderList
List<? extends AggregationResultOrBuilder> getAggregationResultsOrBuilderList()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
-
getAggregationResultsOrBuilder
AggregationResultOrBuilder getAggregationResultsOrBuilder(int index)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
-
getMoreResultsValue
int getMoreResultsValue()
The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2;
- Returns:
- The enum numeric value on the wire for moreResults.
-
getMoreResults
QueryResultBatch.MoreResultsType getMoreResults()
The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2;
- Returns:
- The moreResults.
-
hasReadTime
boolean hasReadTime()
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;
- Returns:
- Whether the readTime field is set.
-
getReadTime
com.google.protobuf.Timestamp getReadTime()
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;
- Returns:
- The readTime.
-
getReadTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;
-
-