Interface KeysetPageable
- All Superinterfaces:
org.springframework.data.domain.Pageable
- All Known Implementing Classes:
KeysetPageRequest
public interface KeysetPageable
extends org.springframework.data.domain.Pageable
Like
Pageable but contains keyset information.- Since:
- 1.6.9
- Author:
- Christian Beikov, Eugen Mayer
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the offset as int.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.Methods inherited from interface org.springframework.data.domain.Pageable
first, getOffset, getPageNumber, getPageSize, getSort, getSortOr, hasPrevious, isPaged, isUnpaged, next, previousOrFirst, toOptional, toScrollPosition, withPage
-
Method Details
-
getKeysetPage
com.blazebit.persistence.KeysetPage getKeysetPage()Returns the keyset page information.- Returns:
- The keyset 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
-
getIntOffset
int getIntOffset()Returns the offset as int.- Returns:
- The offset as int
- Since:
- 1.3.0
-