Interface CardinalityAggregatorColumnSelectorStrategy<ValueSelectorType>

    • 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 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