Interface AggregationResultBatchOrBuilder (2.33.0)

publicinterface AggregationResultBatchOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.