Interface KeysetAwareSlice<T>
- Type Parameters:
T- Element type.
- All Known Subinterfaces:
KeysetAwarePage<T>
Like
Slice but contains keyset information.- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and TypeMethodDescriptioncom.blazebit.persistence.KeysetPageReturns the keyset page associated to the results of this page.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface com.blazebit.persistence.deltaspike.data.Slice
getContent, getNumber, getNumberOfElements, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast
-
Method Details
-
getKeysetPage
com.blazebit.persistence.KeysetPage getKeysetPage()Returns the keyset page associated to the results of this page.- Returns:
- The keyset page
-
currentPageable
KeysetPageable currentPageable()Description copied from interface:Slice- Specified by:
currentPageablein interfaceSlice<T>- Returns:
- The Pageable for the current Slice
-
nextPageable
KeysetPageable nextPageable()Description copied from interface:SliceReturns thePageablethat can be used to request the next Slice. ReturnsnullifSlice.hasNext()returnsfalse.- Specified by:
nextPageablein interfaceSlice<T>- Returns:
- The Pageable for the next Slice, or
nullif this is the last Slice
-
previousPageable
KeysetPageable previousPageable()Description copied from interface:SliceReturns thePageablethat can be used to request the previous Slice. ReturnsnullifSlice.hasPrevious()returnsfalse.- Specified by:
previousPageablein interfaceSlice<T>- Returns:
- The Pageable for the previous Slice, or
nullif this is the first Slice
-