Enum Class Aggregate

java.lang.Object
java.lang.Enum<Aggregate>
app.babylon.table.aggregation.Aggregate
All Implemented Interfaces:
Serializable, Comparable<Aggregate>, Constable

public enum Aggregate extends Enum<Aggregate>
Supported aggregate calculations.
  • Enum Constant Details

    • COUNT

      public static final Aggregate COUNT
      Number of set values.
    • SUM

      public static final Aggregate SUM
      Sum of set values.
    • MAX

      public static final Aggregate MAX
      Maximum set value.
    • MIN

      public static final Aggregate MIN
      Minimum set value.
    • MEAN

      public static final Aggregate MEAN
      Arithmetic mean of set values.
    • VARIANCE

      public static final Aggregate VARIANCE
      Population variance of set values.
    • VARIANCE_SAMPLE

      public static final Aggregate VARIANCE_SAMPLE
      Sample variance of set values.
  • Method Details

    • values

      public static Aggregate[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Aggregate valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null