Class RankTransformation
- java.lang.Object
-
- it.bancaditalia.oss.vtl.impl.transform.TransformationImpl
-
- it.bancaditalia.oss.vtl.impl.transform.aggregation.RankTransformation
-
- All Implemented Interfaces:
AnalyticTransformation
,LeafTransformation
,Transformation
,Serializable
public class RankTransformation extends TransformationImpl implements AnalyticTransformation, LeafTransformation
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface it.bancaditalia.oss.vtl.impl.transform.aggregation.AnalyticTransformation
AnalyticTransformation.OrderByItem
-
-
Constructor Summary
Constructors Constructor Description RankTransformation(List<String> partitionBy, List<AnalyticTransformation.OrderByItem> orderByClause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Lineage
computeLineage()
boolean
equals(Object obj)
VTLValue
eval(TransformationScheme scheme)
Evaluates this transformation in the context of the givenTransformationScheme
.DataSetMetadata
getMetadata(TransformationScheme scheme)
Checks and returns the metadata of thisTransformation
within the givenTransformationScheme
.String
getText()
int
hashCode()
String
toString()
-
Methods inherited from class it.bancaditalia.oss.vtl.impl.transform.TransformationImpl
getLineage
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface it.bancaditalia.oss.vtl.model.transform.LeafTransformation
getTerminals, isTerminal
-
Methods inherited from interface it.bancaditalia.oss.vtl.model.transform.Transformation
getLineage
-
-
-
-
Constructor Detail
-
RankTransformation
public RankTransformation(List<String> partitionBy, List<AnalyticTransformation.OrderByItem> orderByClause)
-
-
Method Detail
-
eval
public VTLValue eval(TransformationScheme scheme)
Description copied from interface:Transformation
Evaluates this transformation in the context of the givenTransformationScheme
.- Specified by:
eval
in interfaceTransformation
- Parameters:
scheme
- the transformation scheme- Returns:
- the result of the computation of this
Transformation
.
-
getMetadata
public DataSetMetadata getMetadata(TransformationScheme scheme)
Description copied from interface:Transformation
Checks and returns the metadata of thisTransformation
within the givenTransformationScheme
.- Specified by:
getMetadata
in interfaceTransformation
- Parameters:
scheme
- the transformation scheme- Returns:
- the metadata of this
Transformation
.
-
getText
public String getText()
- Specified by:
getText
in interfaceLeafTransformation
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceTransformation
- Specified by:
hashCode
in classTransformationImpl
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceTransformation
- Specified by:
equals
in classTransformationImpl
-
computeLineage
public Lineage computeLineage()
- Specified by:
computeLineage
in classTransformationImpl
-
-