Interface AggregationResultBatchOrBuilder (2.32.3)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface AggregationResultBatchOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getAggregationResults(int index)
publicabstractAggregationResultgetAggregationResults(intindex)The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AggregationResult |
|
getAggregationResultsCount()
publicabstractintgetAggregationResultsCount()The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAggregationResultsList()
publicabstractList<AggregationResult>getAggregationResultsList()The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
| Returns | |
|---|---|
| Type | Description |
List<AggregationResult> |
|
getAggregationResultsOrBuilder(int index)
publicabstractAggregationResultOrBuildergetAggregationResultsOrBuilder(intindex)The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AggregationResultOrBuilder |
|
getAggregationResultsOrBuilderList()
publicabstractList<?extendsAggregationResultOrBuilder>getAggregationResultsOrBuilderList()The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.datastore.v1.AggregationResultOrBuilder> |
|
getMoreResults()
publicabstractQueryResultBatch.MoreResultsTypegetMoreResults() 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 | |
|---|---|
| Type | Description |
QueryResultBatch.MoreResultsType |
The moreResults. |
getMoreResultsValue()
publicabstractintgetMoreResultsValue() 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for moreResults. |
getReadTime()
publicabstractTimestampgetReadTime()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 | |
|---|---|
| Type | Description |
Timestamp |
The readTime. |
getReadTimeOrBuilder()
publicabstractTimestampOrBuildergetReadTimeOrBuilder()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 | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasReadTime()
publicabstractbooleanhasReadTime()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 | |
|---|---|
| Type | Description |
boolean |
Whether the readTime field is set. |