Interface CqnTopTransformation
- All Superinterfaces:
CqnTransformation
,JSONizable
Transformation that limits the input set to a maximum number of rows
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cds.ql.cqn.transformation.CqnTransformation
CqnTransformation.Kind
-
Field Summary
Fields inherited from interface com.sap.cds.ql.cqn.transformation.CqnTransformation
IDENTITY
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
accept
(CqnTransformationVisitor visitor) default CqnTransformation.Kind
kind()
Returns the kind of this transformationlong
top()
Returns the maximum number of rows to be returnedMethods inherited from interface com.sap.cds.ql.cqn.transformation.CqnTransformation
rowType, toJson
-
Method Details
-
top
long top()Returns the maximum number of rows to be returned- Returns:
- the maximum number of rows to be returned or -1 if unlimited
-
kind
Description copied from interface:CqnTransformation
Returns the kind of this transformation- Specified by:
kind
in interfaceCqnTransformation
- Returns:
- the kind of this transformation
-
accept
- Specified by:
accept
in interfaceCqnTransformation
-