Class Page<T extends Page,​P extends Query>

  • Type Parameters:
    T - the subclass of Page
    P - the subclass of Query

    public class Page<T extends Page,​P extends Query>
    extends Builder<T,​P>
    page(pageNum, [pageSize]) pageNum(pageNum, [pageSize]) offset(offset, [limit]) limit(limit, [offset]) pageSize(pageSize)
    • Constructor Detail

      • Page

        public Page​(P query)
    • Method Detail

      • isPaginated

        public boolean isPaginated()
        Returns:
        true if a page or pageNum was provided in the query
      • getOffset

        public int getOffset()
      • getAfter

        public io.inversion.rql.Term getAfter()
      • getLimit

        public int getLimit()
      • getPageSize

        public int getPageSize()
      • getPage

        public int getPage()
      • getPageNum

        public int getPageNum()