public class StringCardinalityAggregatorColumnSelectorStrategy extends Object implements CardinalityAggregatorColumnSelectorStrategy<DimensionSelector>
Modifier and Type | Field and Description |
---|---|
static String |
CARDINALITY_AGG_NULL_STRING |
static char |
CARDINALITY_AGG_SEPARATOR |
Constructor and Description |
---|
StringCardinalityAggregatorColumnSelectorStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
hashRow(DimensionSelector dimSelector,
com.google.common.hash.Hasher hasher)
Retrieve the current row from dimSelector and add the row values to the hasher.
|
void |
hashValues(DimensionSelector dimSelector,
HyperLogLogCollector collector)
Retrieve the current row from dimSelector and add the row values to HyperLogLogCollector.
|
public static final String CARDINALITY_AGG_NULL_STRING
public static final char CARDINALITY_AGG_SEPARATOR
public StringCardinalityAggregatorColumnSelectorStrategy()
public void hashRow(DimensionSelector dimSelector, com.google.common.hash.Hasher hasher)
CardinalityAggregatorColumnSelectorStrategy
hashRow
in interface CardinalityAggregatorColumnSelectorStrategy<DimensionSelector>
dimSelector
- Dimension value selectorhasher
- Hasher used for cardinality aggregator calculationspublic void hashValues(DimensionSelector dimSelector, HyperLogLogCollector collector)
CardinalityAggregatorColumnSelectorStrategy
hashValues
in interface CardinalityAggregatorColumnSelectorStrategy<DimensionSelector>
dimSelector
- Dimension value selectorcollector
- HLL collector used for cardinality aggregator calculationsCopyright © 2011–2018. All rights reserved.