Interface KeysetPageable
- All Superinterfaces:
Pageable
- All Known Implementing Classes:
KeysetPageRequest
public interface KeysetPageable extends Pageable
Like
Pageable but contains keyset information.- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and Type Method Description KeysetPageablefirst()Returns the KeysetPageable that can be used to request the firstPage.com.blazebit.persistence.KeysetPagegetKeysetPage()Returns the keyset page information.booleanisWithCountQuery()Returns whether count query execution is enabled or not.booleanisWithExtractAllKeysets()Returns whether extraction for all keysets is enabled or not.KeysetPageablenext()Returns the KeysetPageable that can be used to request the nextPage.KeysetPageableprevious()Returns the KeysetPageable that can be used to request the previousPageor null if the current one already is the first one.KeysetPageablepreviousOrFirst()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
-