public enum Aggregator extends Enum<Aggregator>
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
Function<Aggregation,Number> |
getValueFunction() |
static Aggregator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Aggregator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aggregator AVG
public static final Aggregator MAX
public static final Aggregator MIN
public static final Aggregator COUNT
public static final Aggregator SUM
public static Aggregator[] values()
for (Aggregator c : Aggregator.values()) System.out.println(c);
public static Aggregator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Function<Aggregation,Number> getValueFunction()
public String getDescription()
Copyright © 2020. All rights reserved.