Interface CqnTopTransformation

All Superinterfaces:
CqnTransformation

@Beta public interface CqnTopTransformation extends CqnTransformation
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 Type
    Method
    Description
    Returns the kind of this transformation
    long
    top()
    Returns the maximum number of rows to be returned
  • 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

      default CqnTransformation.Kind kind()
      Description copied from interface: CqnTransformation
      Returns the kind of this transformation
      Specified by:
      kind in interface CqnTransformation
      Returns:
      the kind of this transformation