public interface AggregationQueryOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
Query |
The nestedQuery. |
getNestedQueryOrBuilder()
public abstract QueryOrBuilder getNestedQueryOrBuilder()Nested query for aggregation
.google.datastore.v1.Query nested_query = 1;
| Returns | |
|---|---|
| Type | Description |
QueryOrBuilder |
|
getQueryTypeCase()
public abstract AggregationQuery.QueryTypeCase getQueryTypeCase()| Returns | |
|---|---|
| Type | Description |
AggregationQuery.QueryTypeCase |
|
hasNestedQuery()
public abstract boolean hasNestedQuery()Nested query for aggregation
.google.datastore.v1.Query nested_query = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nestedQuery field is set. |