Interface CardinalityAggregatorColumnSelectorStrategy<ValueSelectorType>
-
- All Superinterfaces:
ColumnSelectorStrategy
- All Known Implementing Classes:
DoubleCardinalityAggregatorColumnSelectorStrategy
,FloatCardinalityAggregatorColumnSelectorStrategy
,LongCardinalityAggregatorColumnSelectorStrategy
,StringCardinalityAggregatorColumnSelectorStrategy
public interface CardinalityAggregatorColumnSelectorStrategy<ValueSelectorType> extends ColumnSelectorStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
hashRow(ValueSelectorType dimSelector, com.google.common.hash.Hasher hasher)
Retrieve the current row from dimSelector and add the row values to the hasher.void
hashValues(ValueSelectorType dimSelector, HyperLogLogCollector collector)
Retrieve the current row from dimSelector and add the row values to HyperLogLogCollector.
-
-
-
Method Detail
-
hashRow
void hashRow(ValueSelectorType dimSelector, com.google.common.hash.Hasher hasher)
Retrieve the current row from dimSelector and add the row values to the hasher.- Parameters:
dimSelector
- Dimension value selectorhasher
- Hasher used for cardinality aggregator calculations
-
hashValues
void hashValues(ValueSelectorType dimSelector, HyperLogLogCollector collector)
Retrieve the current row from dimSelector and add the row values to HyperLogLogCollector.- Parameters:
dimSelector
- Dimension value selectorcollector
- HLL collector used for cardinality aggregator calculations
-
-