Class PageableBase

    • Method Detail

      • getLimit

        public int getLimit()
        Total of rows that are returned.
        Specified by:
        getLimit in interface Pageable
        Returns:
        the limit.
      • getOffset

        public long getOffset()
        Defines how many items to skip before beginning to return rows.
        Specified by:
        getOffset in interface Pageable
        Returns:
        the offset with 0 being no offset at all.
      • addOffset

        public void addOffset​(long offsetDiff)
        Adds to existing offset, setting offset to zero if it would be negative.
        Parameters:
        offsetDiff - to be added to existing offset.