public final class PagedQueryResultDsl<T> extends PagedResultBase<T>
Modifier and Type | Method and Description |
---|---|
PagedQueryResultDsl<T> |
withOffset(Long offset)
Creates a copy of this item with the given offset.
|
PagedQueryResultDsl<T> |
withTotal(Long total)
Creates a copy of this with the given total items count.
|
getCount, getLimit, getOffset, getResults, getTotal, size
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
empty, getCount, getLimit, getOffset, getResults, getTotal, of, of, of, of
getPageIndex, getTotalPages, head, isFirst, isLast, size
public PagedQueryResultDsl<T> withOffset(Long offset)
offset
- the offset of the new copypublic PagedQueryResultDsl<T> withTotal(Long total)
total
- the number of total items in the backend.