Interface AggregationResultBatchOrBuilder (2.23.0)

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
Name Description
index int
Returns
Type Description
AggregationResult

getAggregationResultsCount()

public abstract int getAggregationResultsCount()

The aggregation results for this batch.

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

Returns
Type Description
int

getAggregationResultsList()

public abstract List<AggregationResult> getAggregationResultsList()

The aggregation results for this batch.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
AggregationResultOrBuilder

getAggregationResultsOrBuilderList()

public abstract List<? extends AggregationResultOrBuilder> 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()

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the readTime field is set.