Class AggregationQuery.Builder (2.12.4)

public static class AggregationQuery.Builder

Inheritance

java.lang.Object > AggregationQuery.Builder

Constructors

Builder()

public Builder()

Methods

addAggregation(Aggregation aggregation)

public AggregationQuery.Builder addAggregation(Aggregation aggregation)
Parameter
NameDescription
aggregationAggregation
Returns
TypeDescription
AggregationQuery.Builder

addAggregation(AggregationBuilder<?> aggregationBuilder)

public AggregationQuery.Builder addAggregation(AggregationBuilder<?> aggregationBuilder)
Parameter
NameDescription
aggregationBuilderAggregationBuilder<?>
Returns
TypeDescription
AggregationQuery.Builder

build()

public AggregationQuery build()
Returns
TypeDescription
AggregationQuery

over(GqlQuery<?> nestedQuery)

public AggregationQuery.Builder over(GqlQuery<?> nestedQuery)
Parameter
NameDescription
nestedQueryGqlQuery<?>
Returns
TypeDescription
AggregationQuery.Builder

over(StructuredQuery<?> nestedQuery)

public AggregationQuery.Builder over(StructuredQuery<?> nestedQuery)
Parameter
NameDescription
nestedQueryStructuredQuery<?>
Returns
TypeDescription
AggregationQuery.Builder

setNamespace(String namespace)

public AggregationQuery.Builder setNamespace(String namespace)
Parameter
NameDescription
namespaceString
Returns
TypeDescription
AggregationQuery.Builder