Interface AggregationResultBatchOrBuilder (2.17.6)

public interface AggregationResultBatchOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAggregationResults(int index)

public abstract AggregationResult getAggregationResults(int index)

The aggregation results for this batch.

repeated .google.datastore.v1.AggregationResult aggregation_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AggregationResult

getAggregationResultsCount()

public abstract int getAggregationResultsCount()

The aggregation results for this batch.

repeated .google.datastore.v1.AggregationResult aggregation_results = 1;

Returns
TypeDescription
int

getAggregationResultsList()

public abstract List<AggregationResult> getAggregationResultsList()

The aggregation results for this batch.

repeated .google.datastore.v1.AggregationResult aggregation_results = 1;

Returns
TypeDescription
List<AggregationResult>

getAggregationResultsOrBuilder(int index)

public abstract AggregationResultOrBuilder getAggregationResultsOrBuilder(int index)

The aggregation results for this batch.

repeated .google.datastore.v1.AggregationResult aggregation_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AggregationResultOrBuilder

getAggregationResultsOrBuilderList()

public abstract List<? extends AggregationResultOrBuilder> getAggregationResultsOrBuilderList()

The aggregation results for this batch.

repeated .google.datastore.v1.AggregationResult aggregation_results = 1;

Returns
TypeDescription
List<? extends com.google.datastore.v1.AggregationResultOrBuilder>

getMoreResults()

public abstract 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
TypeDescription
QueryResultBatch.MoreResultsType

The moreResults.

getMoreResultsValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for moreResults.

getReadTime()

public abstract 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
TypeDescription
Timestamp

The readTime.

getReadTimeOrBuilder()

public abstract 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;

Returns
TypeDescription
TimestampOrBuilder

hasReadTime()

public abstract 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
TypeDescription
boolean

Whether the readTime field is set.