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 Type
    Method
    Description
    com.blazebit.persistence.KeysetPage
    Returns the keyset page associated to the results of this page.
     
     

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator

    Methods inherited from interface org.springframework.data.domain.Page

    getTotalElements, getTotalPages, map

    Methods inherited from interface org.springframework.data.domain.Slice

    getContent, getNumber, getNumberOfElements, getPageable, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextOrLastPageable, previousOrFirstPageable

    Methods 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:
      getKeysetPage in interface KeysetAwareSlice<T>
      Returns:
      The keyset page
    • nextPageable

      KeysetPageable nextPageable()
      Specified by:
      nextPageable in interface KeysetAwareSlice<T>
      Specified by:
      nextPageable in interface org.springframework.data.domain.Slice<T>
    • previousPageable

      KeysetPageable previousPageable()
      Specified by:
      previousPageable in interface KeysetAwareSlice<T>
      Specified by:
      previousPageable in interface org.springframework.data.domain.Slice<T>