Interface AggregationQueryOrBuilder (2.15.0)

public interface AggregationQueryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAggregations(int index)

public abstract AggregationQuery.Aggregation getAggregations(int index)

Optional. Series of aggregations to apply over the results of the nested_query.

Requires:

  • A minimum of one and maximum of five aggregations per query.

repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
AggregationQuery.Aggregation

getAggregationsCount()

public abstract int getAggregationsCount()

Optional. Series of aggregations to apply over the results of the nested_query.

Requires:

  • A minimum of one and maximum of five aggregations per query.

repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getAggregationsList()

public abstract List<AggregationQuery.Aggregation> getAggregationsList()

Optional. Series of aggregations to apply over the results of the nested_query.

Requires:

  • A minimum of one and maximum of five aggregations per query.

repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<Aggregation>

getAggregationsOrBuilder(int index)

public abstract AggregationQuery.AggregationOrBuilder getAggregationsOrBuilder(int index)

Optional. Series of aggregations to apply over the results of the nested_query.

Requires:

  • A minimum of one and maximum of five aggregations per query.

repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
AggregationQuery.AggregationOrBuilder

getAggregationsOrBuilderList()

public abstract List<? extends AggregationQuery.AggregationOrBuilder> getAggregationsOrBuilderList()

Optional. Series of aggregations to apply over the results of the nested_query.

Requires:

  • A minimum of one and maximum of five aggregations per query.

repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL];

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

getNestedQuery()

public abstract Query getNestedQuery()

Nested query for aggregation

.google.datastore.v1.Query nested_query = 1;

Returns
TypeDescription
Query

The nestedQuery.

getNestedQueryOrBuilder()

public abstract QueryOrBuilder getNestedQueryOrBuilder()

Nested query for aggregation

.google.datastore.v1.Query nested_query = 1;

Returns
TypeDescription
QueryOrBuilder

getQueryTypeCase()

public abstract AggregationQuery.QueryTypeCase getQueryTypeCase()
Returns
TypeDescription
AggregationQuery.QueryTypeCase

hasNestedQuery()

public abstract boolean hasNestedQuery()

Nested query for aggregation

.google.datastore.v1.Query nested_query = 1;

Returns
TypeDescription
boolean

Whether the nestedQuery field is set.