Interface KeysetAwarePage<T>
- Type Parameters:
T- Element type.
- All Superinterfaces:
Iterable<T>,KeysetAwareSlice<T>,org.springframework.data.domain.Page<T>,org.springframework.data.domain.Slice<T>,org.springframework.data.util.Streamable<T>,Supplier<Stream<T>>
- All Known Implementing Classes:
KeysetAwarePageImpl
public interface KeysetAwarePage<T>
extends org.springframework.data.domain.Page<T>, KeysetAwareSlice<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.Page
getTotalElements, getTotalPages, mapMethods inherited from interface org.springframework.data.domain.Slice
getContent, getNumber, getNumberOfElements, getPageable, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, 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.- Specified by:
getKeysetPagein interfaceKeysetAwareSlice<T>- Returns:
- The keyset page
-
nextPageable
KeysetPageable nextPageable()- Specified by:
nextPageablein interfaceKeysetAwareSlice<T>- Specified by:
nextPageablein interfaceorg.springframework.data.domain.Slice<T>
-
previousPageable
KeysetPageable previousPageable()- Specified by:
previousPageablein interfaceKeysetAwareSlice<T>- Specified by:
previousPageablein interfaceorg.springframework.data.domain.Slice<T>
-