Enum Class AggregationInfo.Type

java.lang.Object
java.lang.Enum<AggregationInfo.Type>
io.jmix.flowui.component.AggregationInfo.Type
All Implemented Interfaces:
Serializable, Comparable<AggregationInfo.Type>, Constable
Enclosing class:
AggregationInfo

public static enum AggregationInfo.Type extends Enum<AggregationInfo.Type>
Represents the type of aggregation to be performed.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Represents an "AVG" type of aggregation, which calculates the average of the values within a collection.
    Represents a "COUNT" type of aggregation, which calculates the total number of items within a collection.
    Enables us to use custom AggregationStrategy implementation.
    Represents a "MAX" type of aggregation, which calculates the maximum value within a collection.
    Represents a "MIN" type of aggregation, which calculates the minimum value within a collection.
    Represents a "SUM" type of aggregation, which calculates the total sum of the values within a collection.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SUM

      public static final AggregationInfo.Type SUM
      Represents a "SUM" type of aggregation, which calculates the total sum of the values within a collection.
    • AVG

      public static final AggregationInfo.Type AVG
      Represents an "AVG" type of aggregation, which calculates the average of the values within a collection.
    • COUNT

      public static final AggregationInfo.Type COUNT
      Represents a "COUNT" type of aggregation, which calculates the total number of items within a collection.
    • MIN

      public static final AggregationInfo.Type MIN
      Represents a "MIN" type of aggregation, which calculates the minimum value within a collection.
    • MAX

      public static final AggregationInfo.Type MAX
      Represents a "MAX" type of aggregation, which calculates the maximum value within a collection.
    • CUSTOM

      public static final AggregationInfo.Type CUSTOM
      Enables us to use custom AggregationStrategy implementation.
  • Method Details

    • values

      public static AggregationInfo.Type[] 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 AggregationInfo.Type 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