Interface AggregationQueryOrBuilder (2.26.4)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface AggregationQueryOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getAggregations(int index)
publicabstractAggregationQuery.AggregationgetAggregations(intindex) 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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AggregationQuery.Aggregation |
|
getAggregationsCount()
publicabstractintgetAggregationsCount() 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 | |
|---|---|
| Type | Description |
int |
|
getAggregationsList()
publicabstractList<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 | |
|---|---|
| Type | Description |
List<Aggregation> |
|
getAggregationsOrBuilder(int index)
publicabstractAggregationQuery.AggregationOrBuildergetAggregationsOrBuilder(intindex) 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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AggregationQuery.AggregationOrBuilder |
|
getAggregationsOrBuilderList()
publicabstractList<?extendsAggregationQuery.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 | |
|---|---|
| Type | Description |
List<? extends com.google.datastore.v1.AggregationQuery.AggregationOrBuilder> |
|
getNestedQuery()
publicabstractQuerygetNestedQuery()Nested query for aggregation
.google.datastore.v1.Query nested_query = 1;
| Returns | |
|---|---|
| Type | Description |
Query |
The nestedQuery. |
getNestedQueryOrBuilder()
publicabstractQueryOrBuildergetNestedQueryOrBuilder()Nested query for aggregation
.google.datastore.v1.Query nested_query = 1;
| Returns | |
|---|---|
| Type | Description |
QueryOrBuilder |
|
getQueryTypeCase()
publicabstractAggregationQuery.QueryTypeCasegetQueryTypeCase()| Returns | |
|---|---|
| Type | Description |
AggregationQuery.QueryTypeCase |
|
hasNestedQuery()
publicabstractbooleanhasNestedQuery()Nested query for aggregation
.google.datastore.v1.Query nested_query = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nestedQuery field is set. |