public abstract class AggregationSpecification
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
AggregationSpecification.Factory
Factory for
AggregationSpecification . |
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.Factory |
AGGREGATE_EVERYTHING_FACTORY
Factory for
AggregationSpecification that group all the row together. |
static AggregationSpecification.Serializer |
serializer |
Modifier and Type | Method and Description |
---|---|
static AggregationSpecification.Factory |
aggregatePkPrefixFactory(ClusteringComparator comparator,
int clusteringPrefixSize)
Creates a new
Factory instance to create AggregationSpecification that will build aggregates
based on primary key columns. |
static AggregationSpecification.Factory |
aggregatePkPrefixFactoryWithSelector(ClusteringComparator comparator,
int clusteringPrefixSize,
Selector.Factory factory) |
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 static final AggregationSpecification.Factory AGGREGATE_EVERYTHING_FACTORY
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.Factory aggregatePkPrefixFactory(ClusteringComparator comparator, int clusteringPrefixSize)
Factory
instance to create AggregationSpecification
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 aggregatesFactory
instance to create AggregationSpecification
that will build aggregates
based on primary key columns.public static AggregationSpecification.Factory aggregatePkPrefixFactoryWithSelector(ClusteringComparator comparator, int clusteringPrefixSize, Selector.Factory factory)
Copyright © 2009- The Apache Software Foundation