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