Enum AnalyticOperator
- java.lang.Object
-
- java.lang.Enum<AnalyticOperator>
-
- it.bancaditalia.oss.vtl.impl.types.operators.AnalyticOperator
-
- All Implemented Interfaces:
Serializable
,Comparable<AnalyticOperator>
public enum AnalyticOperator extends Enum<AnalyticOperator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVG
COUNT
FIRST_VALUE
LAST_VALUE
MAX
MEDIAN
MIN
STDDEV_POP
STDDEV_SAMP
SUM
VAR_POP
VAR_SAMP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SerBiFunction<? super DataPoint,? super DataStructureComponent<ComponentRole.Measure,?,?>,? extends ScalarValue<?,?,?,?>>
getExtractor()
SerCollector<ScalarValue<?,?,?,?>,?,ScalarValue<?,?,?,?>>
getReducer()
SerCollector<DataPoint,?,ScalarValue<?,?,?,?>>
getReducer(DataStructureComponent<? extends ComponentRole.Measure,?,?> measure)
String
toString()
static AnalyticOperator
valueOf(String name)
Returns the enum constant of this type with the specified name.static AnalyticOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNT
public static final AnalyticOperator COUNT
-
SUM
public static final AnalyticOperator SUM
-
AVG
public static final AnalyticOperator AVG
-
MEDIAN
public static final AnalyticOperator MEDIAN
-
MIN
public static final AnalyticOperator MIN
-
MAX
public static final AnalyticOperator MAX
-
VAR_POP
public static final AnalyticOperator VAR_POP
-
VAR_SAMP
public static final AnalyticOperator VAR_SAMP
-
STDDEV_POP
public static final AnalyticOperator STDDEV_POP
-
STDDEV_SAMP
public static final AnalyticOperator STDDEV_SAMP
-
FIRST_VALUE
public static final AnalyticOperator FIRST_VALUE
-
LAST_VALUE
public static final AnalyticOperator LAST_VALUE
-
-
Method Detail
-
values
public static AnalyticOperator[] 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 (AnalyticOperator c : AnalyticOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnalyticOperator 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
-
getReducer
public SerCollector<ScalarValue<?,?,?,?>,?,ScalarValue<?,?,?,?>> getReducer()
-
getReducer
public SerCollector<DataPoint,?,ScalarValue<?,?,?,?>> getReducer(DataStructureComponent<? extends ComponentRole.Measure,?,?> measure)
-
toString
public String toString()
- Overrides:
toString
in classEnum<AnalyticOperator>
-
getExtractor
public SerBiFunction<? super DataPoint,? super DataStructureComponent<ComponentRole.Measure,?,?>,? extends ScalarValue<?,?,?,?>> getExtractor()
-
-