T
- Type of valuepublic static interface QueryBuilder.Paging<T> extends QueryBuilder.Sorting<T>
This interface is available as a preview of functionality that will be added to the supported public API in a future release. While it is in the preview phase, it is subject to change or removal without deprecation or notice. Although notice of change is not guaranteed, we will try to let developers know of major changes through announcements in release notes.
Restricts path after Paging.
QueryBuilder.Aggregating<T>, QueryBuilder.Filtering<T>, QueryBuilder.FilteringCriteria<T>, QueryBuilder.Grouping<T>, QueryBuilder.Paging<T>, QueryBuilder.Selecting<T>, QueryBuilder.Sorting<T>
Modifier and Type | Method and Description |
---|---|
QueryBuilder.Sorting<T> |
page(int startIndex,
int batchSize)
Obtains the set of operations allowed after
Paging |
QueryBuilder<T> |
page(PagingInfo pagingInfo)
Defines query's
PagingInfo |
sortBy, sortBy, sortBy, sortBy
build
QueryBuilder.Sorting<T> page(int startIndex, int batchSize)
Paging
pagingInfo
- the index from which to start paging. This may be 0-based or
1-based depending on where this PagingInfo object will be used.batchSize
- the number of results to return in one page. If negative, the full
result set should be returned.Sorting
interface with the set of operations allowed after Paging
QueryBuilder<T> page(PagingInfo pagingInfo)
PagingInfo
pagingInfo
- the PagingInfo
describing how to page the resultsQueryBuilder
which can produce a Query
instance.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.