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