public class CardinalityAggregator extends Object implements Aggregator
Modifier and Type | Field and Description |
---|---|
static char |
SEPARATOR |
Constructor and Description |
---|
CardinalityAggregator(String name,
List<DimensionSelector> selectorList,
boolean byRow) |
Modifier and Type | Method and Description |
---|---|
void |
aggregate() |
Aggregator |
clone() |
void |
close() |
Object |
get() |
float |
getFloat() |
long |
getLong() |
String |
getName() |
protected static void |
hashRow(List<DimensionSelector> selectorList,
HyperLogLogCollector collector) |
protected static void |
hashValues(List<DimensionSelector> selectors,
HyperLogLogCollector collector) |
void |
reset() |
public static final char SEPARATOR
public CardinalityAggregator(String name, List<DimensionSelector> selectorList, boolean byRow)
protected static void hashRow(List<DimensionSelector> selectorList, HyperLogLogCollector collector)
protected static void hashValues(List<DimensionSelector> selectors, HyperLogLogCollector collector)
public void aggregate()
aggregate
in interface Aggregator
public void reset()
reset
in interface Aggregator
public Object get()
get
in interface Aggregator
public float getFloat()
getFloat
in interface Aggregator
public long getLong()
getLong
in interface Aggregator
public String getName()
getName
in interface Aggregator
public Aggregator clone()
public void close()
close
in interface Aggregator
Copyright © 2011–2015. All rights reserved.