Class Limit

  • All Implemented Interfaces:
    LanguageObject

    public class Limit
    extends BaseLanguageObject
    Represents a LIMIT clause with row offset and row limit values to bound the resulting rows
    • Constructor Detail

      • Limit

        public Limit​(int offset,
                     int rowLimit)
    • Method Detail

      • getRowLimit

        public int getRowLimit()
        Get the max number of rows returned.
      • getRowOffset

        public int getRowOffset()
        Get the row offset at which to begin returning rows.
      • setRowLimit

        public void setRowLimit​(int rowLimit)
      • setRowOffset

        public void setRowOffset​(int rowOffset)