Class CalcClauseTransformation
- java.lang.Object
-
- it.bancaditalia.oss.vtl.impl.transform.TransformationImpl
-
- it.bancaditalia.oss.vtl.impl.transform.dataset.DatasetClauseTransformation
-
- it.bancaditalia.oss.vtl.impl.transform.dataset.CalcClauseTransformation
-
- All Implemented Interfaces:
Transformation
,Serializable
public class CalcClauseTransformation extends DatasetClauseTransformation
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CalcClauseTransformation.CalcClauseItem
-
Constructor Summary
Constructors Constructor Description CalcClauseTransformation(List<CalcClauseTransformation.CalcClauseItem> items)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Lineage
computeLineage()
VTLValueMetadata
computeMetadata(TransformationScheme scheme)
boolean
equals(Object obj)
VTLValue
eval(TransformationScheme scheme)
Evaluates this transformation in the context of the givenTransformationScheme
.VTLValueMetadata
getMetadata(TransformationScheme scheme)
Checks and returns the metadata of thisTransformation
within the givenTransformationScheme
.Set<LeafTransformation>
getTerminals()
A set of all theLeafTransformation
s recursively referenced by thisTransformation
.int
hashCode()
String
toString()
-
Methods inherited from class it.bancaditalia.oss.vtl.impl.transform.dataset.DatasetClauseTransformation
getThisMetadata, getThisValue, isTerminal
-
Methods inherited from class it.bancaditalia.oss.vtl.impl.transform.TransformationImpl
getLineage
-
-
-
-
Constructor Detail
-
CalcClauseTransformation
public CalcClauseTransformation(List<CalcClauseTransformation.CalcClauseItem> items)
-
-
Method Detail
-
getTerminals
public Set<LeafTransformation> getTerminals()
Description copied from interface:Transformation
A set of all theLeafTransformation
s recursively referenced by thisTransformation
. The set is empty ifTransformation.isTerminal()
is true.- Specified by:
getTerminals
in interfaceTransformation
- Overrides:
getTerminals
in classDatasetClauseTransformation
- Returns:
- the set
-
eval
public VTLValue eval(TransformationScheme scheme)
Description copied from interface:Transformation
Evaluates this transformation in the context of the givenTransformationScheme
.- Parameters:
scheme
- the transformation scheme- Returns:
- the result of the computation of this
Transformation
.
-
getMetadata
public VTLValueMetadata getMetadata(TransformationScheme scheme)
Description copied from interface:Transformation
Checks and returns the metadata of thisTransformation
within the givenTransformationScheme
.- Parameters:
scheme
- the transformation scheme- Returns:
- the metadata of this
Transformation
.
-
computeMetadata
public VTLValueMetadata computeMetadata(TransformationScheme scheme)
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceTransformation
- Specified by:
hashCode
in classDatasetClauseTransformation
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceTransformation
- Specified by:
equals
in classDatasetClauseTransformation
-
computeLineage
public Lineage computeLineage()
- Specified by:
computeLineage
in classTransformationImpl
-
-