Interface KeysetAwareSlice<T>
- Type Parameters:
T- Element type.
- All Superinterfaces:
Iterable<T>,org.springframework.data.domain.Slice<T>,org.springframework.data.util.Streamable<T>,Supplier<Stream<T>>
- All Known Subinterfaces:
KeysetAwarePage<T>
- All Known Implementing Classes:
KeysetAwarePageImpl,KeysetAwareSliceImpl
public interface KeysetAwareSlice<T>
extends org.springframework.data.domain.Slice<T>
Like
Page but contains keyset information.- Since:
- 1.6.9
- Author:
- Christian Beikov, Eugen Mayer
-
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 org.springframework.data.domain.Slice
getContent, getNumber, getNumberOfElements, getPageable, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, map, nextOrLastPageable, previousOrFirstPageableMethods inherited from interface org.springframework.data.util.Streamable
and, and, and, and, filter, flatMap, get, isEmpty, stream, toList, toSet
-
Method Details
-
getKeysetPage
com.blazebit.persistence.KeysetPage getKeysetPage()Returns the keyset page associated to the results of this page.- Returns:
- The keyset page
-
nextPageable
KeysetPageable nextPageable()- Specified by:
nextPageablein interfaceorg.springframework.data.domain.Slice<T>
-
previousPageable
KeysetPageable previousPageable()- Specified by:
previousPageablein interfaceorg.springframework.data.domain.Slice<T>
-