Class AggregateFunctions


  • public class AggregateFunctions
    extends Object
    Static utility class for pre-defined instances of AggregateFunction
    • Method Detail

      • percentile

        public static Double percentile​(NumericColumn<?> data,
                                        Double percentile)
        Returns the given percentile of the values in the argument
      • meanDifference

        public static Double meanDifference​(NumericColumn<?> column1,
                                            NumericColumn<?> column2)
        Returns the given mean difference of the values in the arguments
        TODO(lwhite): These are two column reductions. We need a class for that
      • sumDifference

        public static Double sumDifference​(NumericColumn<?> column1,
                                           NumericColumn<?> column2)
        Returns the given sum difference of the values in the arguments
        TODO(lwhite): These are two column reductions. We need a class for that