Class NumberByStringAggregator


public final class NumberByStringAggregator extends AbstractNumberAggregator<String,SumByStringAggregatorBucket>
This class can be used to aggregate numbers while grouping them by strings.
  • Constructor Details

    • NumberByStringAggregator

      public NumberByStringAggregator(Comparator<? super String> p_comparator)
      Create an aggregator for string 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 string values, or null.
  • Method Details