Interface KeysetPageable
- All Superinterfaces:
Pageable
- All Known Implementing Classes:
KeysetPageRequest
Like
Pageable but contains keyset information.- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and TypeMethodDescriptionfirst()Returns the KeysetPageable that can be used to request the firstPage.com.blazebit.persistence.KeysetPageReturns the keyset page information.booleanReturns whether count query execution is enabled or not.booleanReturns whether extraction for all keysets is enabled or not.next()Returns the KeysetPageable that can be used to request the nextPage.previous()Returns the KeysetPageable that can be used to request the previousPageor null if the current one already is the first one.Returns the KeysetPageable that can be used to request the previousPageor the first if the current one already is the first one.Methods inherited from interface com.blazebit.persistence.deltaspike.data.Pageable
getOffset, getPageNumber, getPageSize, getSort, hasPrevious
-
Method Details
-
getKeysetPage
com.blazebit.persistence.KeysetPage getKeysetPage()Returns the keyset page information.- Returns:
- The keyset page
-
next
KeysetPageable next()Returns the KeysetPageable that can be used to request the nextPage.- Specified by:
nextin interfacePageable- Returns:
- The KeysetPageable for the next Page
-
previous
KeysetPageable previous()Returns the KeysetPageable that can be used to request the previousPageor null if the current one already is the first one.- Specified by:
previousin interfacePageable- Returns:
- The KeysetPageable for the previous Page
-
previousOrFirst
KeysetPageable previousOrFirst()Returns the KeysetPageable that can be used to request the previousPageor the first if the current one already is the first one.- Specified by:
previousOrFirstin interfacePageable- Returns:
- The KeysetPageable for the previous or first Page
-
first
KeysetPageable first()Returns the KeysetPageable that can be used to request the firstPage.- Specified by:
firstin interfacePageable- Returns:
- The KeysetPageable for the first Page
-
isWithCountQuery
boolean isWithCountQuery()Returns whether count query execution is enabled or not.- Returns:
- true when enabled, false otherwise
- Since:
- 1.4.0
-
isWithExtractAllKeysets
boolean isWithExtractAllKeysets()Returns whether extraction for all keysets is enabled or not.- Returns:
- true when enabled, false otherwise
- Since:
- 1.4.0
-