Package adalid.core.enums
Enum AggregateFunction
- java.lang.Object
-
- java.lang.Enum<AggregateFunction>
-
- adalid.core.enums.AggregateFunction
-
- All Implemented Interfaces:
Serializable,Comparable<AggregateFunction>
public enum AggregateFunction extends Enum<AggregateFunction>
- Author:
- Jorge Campins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVERAGECOUNTCUSTOM_MADEMAXIMUMMINIMUMSUMUNSPECIFIED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNameTag()static AggregateFunctionvalueOf(String name)Returns the enum constant of this type with the specified name.static AggregateFunction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final AggregateFunction UNSPECIFIED
-
COUNT
public static final AggregateFunction COUNT
-
MINIMUM
public static final AggregateFunction MINIMUM
-
MAXIMUM
public static final AggregateFunction MAXIMUM
-
SUM
public static final AggregateFunction SUM
-
AVERAGE
public static final AggregateFunction AVERAGE
-
CUSTOM_MADE
public static final AggregateFunction CUSTOM_MADE
-
-
Method Detail
-
values
public static AggregateFunction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AggregateFunction c : AggregateFunction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregateFunction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getNameTag
public String getNameTag()
-
-