Interface CardinalityAggregatorColumnSelectorStrategy<ValueSelectorType>

All Superinterfaces:
ColumnSelectorStrategy
All Known Implementing Classes:
DoubleCardinalityAggregatorColumnSelectorStrategy, FloatCardinalityAggregatorColumnSelectorStrategy, LongCardinalityAggregatorColumnSelectorStrategy, StringCardinalityAggregatorColumnSelectorStrategy

public interface CardinalityAggregatorColumnSelectorStrategy<ValueSelectorType> extends ColumnSelectorStrategy
  • Method Summary

    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
    Retrieve the current row from dimSelector and add the row values to HyperLogLogCollector.
  • Method Details

    • 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 selector
      hasher - 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 selector
      collector - HLL collector used for cardinality aggregator calculations