Interface KeysetAwareSlice<T>
- Type Parameters:
T- Element type.
- All Known Subinterfaces:
KeysetAwarePage<T>
public interface KeysetAwareSlice<T> extends Slice<T>
Like
Slice but contains keyset information.- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and Type Method Description KeysetPageablecurrentPageable()com.blazebit.persistence.KeysetPagegetKeysetPage()Returns the keyset page associated to the results of this page.KeysetPageablenextPageable()KeysetPageablepreviousPageable()Methods 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
-