Interface Combiner<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T sum​(T first, T second)
      Merges two facet statistics from the same facet, computed on different sets of rows.
    • Method Detail

      • sum

        T sum​(T first,
              T second)
        Merges two facet statistics from the same facet, computed on different sets of rows. This generally amounts to summing all the statistics internally. This function is required to be associative: sum(a, sum(b, c)) == sum(sum(a, b), c)
        Returns:
        the sum of both facet statistics