public class AggregateQuery extends Object implements Serializable
Condition
are aggregated using a given Aggregate
specification, creating buckets which cardinality is
calculated. The results of the query are returned as Map associating the bucket key to the cardinality of its member.Constructor and Description |
---|
AggregateQuery()
Instantiates a new Aggregate query.
|
AggregateQuery(Aggregate aggregate)
Instantiates a new Aggregate query with the specified
Aggregate . |
AggregateQuery(Aggregate aggregate,
Condition condition)
|
AggregateQuery(Condition condition)
Instantiates a new Aggregate query with the specified
Condition . |
Modifier and Type | Method and Description |
---|---|
Aggregate |
getAggregate()
Retrieves the aggregate.
|
Condition |
getCondition()
Retrieves the condition.
|
void |
setAggregate(Aggregate aggregate)
Sets the aggregate.
|
void |
setCondition(Condition condition)
Sets the condition.
|
public AggregateQuery()
public AggregateQuery(Aggregate aggregate)
Aggregate
.aggregate
- the aggregatepublic AggregateQuery(Condition condition)
Condition
.condition
- the conditionpublic Aggregate getAggregate()
public void setAggregate(Aggregate aggregate)
aggregate
- the aggregatepublic Condition getCondition()
public void setCondition(Condition condition)
condition
- the conditionCopyright © 2014–2023 Apache Software Foundation. All rights reserved.