Class NumberByLongAggregator


public final class NumberByLongAggregator extends AbstractNumberAggregator<Long,SumByLongAggregatorBucket>
This class can be used to aggregate numbers while grouping them by numerical values.
  • Constructor Details

    • NumberByLongAggregator

      public NumberByLongAggregator(Comparator<? super Long> p_comparator)
      Create an aggregator for numerical values.

      If a comparator is given "category" values for which this comparator returns a value of zero are considered equal.

      Parameters:
      p_comparator - A comparator for long values, or null.
  • Method Details