Enum DatasetUnaryTransformation.DatasetOperator
- java.lang.Object
-
- java.lang.Enum<DatasetUnaryTransformation.DatasetOperator>
-
- it.bancaditalia.oss.vtl.impl.transform.dataset.DatasetUnaryTransformation.DatasetOperator
-
- All Implemented Interfaces:
TriFunction<Lineage,DataSet,DataStructureComponent<ComponentRole.Identifier,?,?>,Stream<DataPoint>>
,Serializable
,Comparable<DatasetUnaryTransformation.DatasetOperator>
- Enclosing class:
- DatasetUnaryTransformation
public static enum DatasetUnaryTransformation.DatasetOperator extends Enum<DatasetUnaryTransformation.DatasetOperator> implements TriFunction<Lineage,DataSet,DataStructureComponent<ComponentRole.Identifier,?,?>,Stream<DataPoint>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOW_TO_STOCK
STOCK_TO_FLOW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<DataPoint>
apply(Lineage lineage, DataSet ds, DataStructureComponent<ComponentRole.Identifier,?,?> timeid)
String
toString()
static DatasetUnaryTransformation.DatasetOperator
valueOf(String name)
Returns the enum constant of this type with the specified name.static DatasetUnaryTransformation.DatasetOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOCK_TO_FLOW
public static final DatasetUnaryTransformation.DatasetOperator STOCK_TO_FLOW
-
FLOW_TO_STOCK
public static final DatasetUnaryTransformation.DatasetOperator FLOW_TO_STOCK
-
-
Method Detail
-
values
public static DatasetUnaryTransformation.DatasetOperator[] 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 (DatasetUnaryTransformation.DatasetOperator c : DatasetUnaryTransformation.DatasetOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatasetUnaryTransformation.DatasetOperator 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
-
apply
public Stream<DataPoint> apply(Lineage lineage, DataSet ds, DataStructureComponent<ComponentRole.Identifier,?,?> timeid)
- Specified by:
apply
in interfaceTriFunction<Lineage,DataSet,DataStructureComponent<ComponentRole.Identifier,?,?>,Stream<DataPoint>>
-
toString
public String toString()
- Overrides:
toString
in classEnum<DatasetUnaryTransformation.DatasetOperator>
-
-