Class TopGenerator

java.lang.Object
com.sap.cds.services.impl.odata.query.TopGenerator
All Implemented Interfaces:
AbstractGenerator

public class TopGenerator extends Object implements AbstractGenerator
  • Constructor Summary

    Constructors
    Constructor
    Description
    TopGenerator(com.sap.cds.ql.cqn.CqnEntitySelector selector)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(com.sap.cloud.sdk.datamodel.odata.client.query.StructuredQuery query)
    Collects the query parameter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TopGenerator

      public TopGenerator(com.sap.cds.ql.cqn.CqnEntitySelector selector)
  • Method Details

    • apply

      public void apply(com.sap.cloud.sdk.datamodel.odata.client.query.StructuredQuery query)
      Description copied from interface: AbstractGenerator
      Collects the query parameter
      Specified by:
      apply in interface AbstractGenerator
      Parameters:
      query - the StructuredQuery to apply the generated result