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 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.Slice

    getContent, getNumber, getNumberOfElements, getPageable, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, map, 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.
      Returns:
      The keyset page
    • nextPageable

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

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