public abstract class AggregationSpecification
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AggregationSpecification.Kind
The
AggregationSpecification kinds. |
static class |
AggregationSpecification.Serializer |
Modifier and Type | Field and Description |
---|---|
static AggregationSpecification |
AGGREGATE_EVERYTHING
AggregationSpecification that group all the row together. |
static AggregationSpecification.Serializer |
serializer |
Modifier and Type | Method and Description |
---|---|
static AggregationSpecification |
aggregatePkPrefix(ClusteringComparator comparator,
int clusteringPrefixSize)
Creates a new
AggregationSpecification instance that will build aggregates based on primary key
columns. |
AggregationSpecification.Kind |
kind()
Returns the
AggregationSpecification kind. |
GroupMaker |
newGroupMaker()
Creates a new
GroupMaker instance. |
abstract GroupMaker |
newGroupMaker(GroupingState state)
Creates a new
GroupMaker instance. |
public static final AggregationSpecification.Serializer serializer
public static final AggregationSpecification AGGREGATE_EVERYTHING
AggregationSpecification
that group all the row together.public AggregationSpecification.Kind kind()
AggregationSpecification
kind.AggregationSpecification
kindpublic final GroupMaker newGroupMaker()
GroupMaker
instance.GroupMaker
instancepublic abstract GroupMaker newGroupMaker(GroupingState state)
GroupMaker
instance.state
- GroupMaker
stateGroupMaker
instancepublic static AggregationSpecification aggregatePkPrefix(ClusteringComparator comparator, int clusteringPrefixSize)
AggregationSpecification
instance that will build aggregates based on primary key
columns.comparator
- the comparator used to compare the clustering prefixesclusteringPrefixSize
- the number of clustering columns used to create the aggregatesAggregationSpecification
instance that will build aggregates based on primary key
columnsCopyright © 2009- The Apache Software Foundation