Interface CqnEntitySelector

  • All Known Subinterfaces:
    CqnExpand, CqnSelect, Expand<T>
    All Known Implementing Classes:
    Select

    public interface CqnEntitySelector
    The entity selector describes a basic selection from an entity set.
    • Method Detail

      • ref

        CqnStructuredTypeRef ref()
        Returns the reference to the entity set of this selector.
        Returns:
        the reference
        Throws:
        CdsException - if this selector does not have a reference
      • dispatch

        default void dispatch​(CqnVisitor visitor)
        Dispatches a given visitor to all clause except the ref or source of this entity selector
        Parameters:
        visitor - the visitor
      • 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
      • skip

        long skip()
        Returns the number of rows to be skipped
        Returns:
        the number of rows to be skipped
      • hasLimit

        default boolean hasLimit()
        Returns whether this entity selector has a top or skip
        Returns:
        true if there is a top or skip