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
Modifier and TypeMethodDescriptiongetAggregationResults
(int index) The aggregation results for this batch.int
The aggregation results for this batch.The aggregation results for this batch.getAggregationResultsOrBuilder
(int index) The aggregation results for this batch.List<? extends AggregationResultOrBuilder>
The aggregation results for this batch.The state of the query after the current batch.int
The state of the query after the current batch.com.google.protobuf.Timestamp
Read timestamp this batch was returned from.com.google.protobuf.TimestampOrBuilder
Read timestamp this batch was returned from.boolean
Read timestamp this batch was returned from.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAggregationResultsList
List<AggregationResult> getAggregationResultsList()The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
-
getAggregationResults
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
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;
-