Interface RunAggregationQueryResponseOrBuilder (2.17.6)

publicinterface RunAggregationQueryResponseOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getBatch()

publicabstractAggregationResultBatchgetBatch()

A batch of aggregation results. Always present.

.google.datastore.v1.AggregationResultBatch batch = 1;

Returns
Type Description
AggregationResultBatch

The batch.

getBatchOrBuilder()

publicabstractAggregationResultBatchOrBuildergetBatchOrBuilder()

A batch of aggregation results. Always present.

.google.datastore.v1.AggregationResultBatch batch = 1;

Returns
Type Description
AggregationResultBatchOrBuilder

getQuery()

publicabstractAggregationQuerygetQuery()

The parsed form of the GqlQuery from the request, if it was set.

.google.datastore.v1.AggregationQuery query = 2;

Returns
Type Description
AggregationQuery

The query.

getQueryOrBuilder()

publicabstractAggregationQueryOrBuildergetQueryOrBuilder()

The parsed form of the GqlQuery from the request, if it was set.

.google.datastore.v1.AggregationQuery query = 2;

Returns
Type Description
AggregationQueryOrBuilder

getTransaction()

publicabstractByteStringgetTransaction()

The identifier of the transaction that was started as part of this RunAggregationQuery request.

Set only when ReadOptions.new_transaction was set in RunAggregationQueryRequest.read_options.

bytes transaction = 5;

Returns
Type Description
ByteString

The transaction.

hasBatch()

publicabstractbooleanhasBatch()

A batch of aggregation results. Always present.

.google.datastore.v1.AggregationResultBatch batch = 1;

Returns
Type Description
boolean

Whether the batch field is set.

hasQuery()

publicabstractbooleanhasQuery()

The parsed form of the GqlQuery from the request, if it was set.

.google.datastore.v1.AggregationQuery query = 2;

Returns
Type Description
boolean

Whether the query 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.