Package io.jmix.flowui.component
Enum Class AggregationInfo.Type
- All Implemented Interfaces:
Serializable,Comparable<AggregationInfo.Type>,Constable
- Enclosing class:
- AggregationInfo
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 ConstantsEnum ConstantDescriptionRepresents 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 customAggregationStrategyimplementation.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 TypeMethodDescriptionstatic AggregationInfo.TypeReturns the enum constant of this class with the specified name.static AggregationInfo.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUM
Represents a "SUM" type of aggregation, which calculates the total sum of the values within a collection. -
AVG
Represents an "AVG" type of aggregation, which calculates the average of the values within a collection. -
COUNT
Represents a "COUNT" type of aggregation, which calculates the total number of items within a collection. -
MIN
Represents a "MIN" type of aggregation, which calculates the minimum value within a collection. -
MAX
Represents a "MAX" type of aggregation, which calculates the maximum value within a collection. -
CUSTOM
Enables us to use customAggregationStrategyimplementation.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-