Class AggregationFactory


  • public class AggregationFactory
    extends java.lang.Object
    Factory class for accessing predefined aggregation schemes.
    • Field Detail

      • NONE_AGGREGATION

        public static final Aggregation NONE_AGGREGATION
        Aggregate values by always returning null.
      • SUM_AGGREGATION

        public static final Aggregation SUM_AGGREGATION
        Aggregate values by computing the sum.
      • SIZE_WEIGHTED_AGGREGATION

        public static final Aggregation SIZE_WEIGHTED_AGGREGATION
        Aggregate values by averaging them.
      • AVERAGE_AGGREGATION

        public static final Aggregation AVERAGE_AGGREGATION
        Aggregate values by averaging them.
      • COUNT_AGGREGATION

        public static final Aggregation COUNT_AGGREGATION
        Aggregate values by counting them.
      • MIN_AGGREGATION

        public static final Aggregation MIN_AGGREGATION
        Aggregate values by finding the minimum value.
      • MAX_AGGREGATION

        public static final Aggregation MAX_AGGREGATION
        Aggregate values by finding the maximum value.
      • STD_DEV_AGGREGATION

        public static final Aggregation STD_DEV_AGGREGATION
        Aggregate values by computing the standard deviation.
    • Constructor Detail

      • AggregationFactory

        public AggregationFactory​(Aggregation... entries)