Package io.inversion.query
Class Page<T extends Page,P extends Query>
java.lang.Object
io.inversion.query.Builder<T,P>
io.inversion.query.Page<T,P>
- Type Parameters:
T- the subclass of PageP- the subclass of Query
page(pageNum, [pageSize])
pageNum(pageNum, [pageSize])
offset(offset, [limit])
limit(limit, [offset])
pageSize(pageSize)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.inversion.query.Builder
addTerm, clearFunctions, find, find, findAll, findAll, findInt, findTerm, getBuilders, getParent, getRoot, getTerms, isFunction, parse, r, removeBuilder, toString, toString, withBuilder, withFunctions, withFunctions, withParent, withTerm, withTerm, withTerm, withTerms
-
Field Details
-
DEFAULT_LIMIT
public static final int DEFAULT_LIMIT- See Also:
-
-
Constructor Details
-
Page
-
-
Method Details
-
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()
-