Interface KeysetPageable

All Superinterfaces:
Pageable
All Known Implementing Classes:
KeysetPageRequest

public interface KeysetPageable extends Pageable
Like Pageable but contains keyset information.
Since:
1.2.0
Author:
Christian Beikov
  • Method Details

    • getKeysetPage

      com.blazebit.persistence.KeysetPage getKeysetPage()
      Returns the keyset page information.
      Returns:
      The keyset page
    • next

      Returns the KeysetPageable that can be used to request the next Page.
      Specified by:
      next in interface Pageable
      Returns:
      The KeysetPageable for the next Page
    • previous

      KeysetPageable previous()
      Returns the KeysetPageable that can be used to request the previous Page or null if the current one already is the first one.
      Specified by:
      previous in interface Pageable
      Returns:
      The KeysetPageable for the previous Page
    • previousOrFirst

      KeysetPageable previousOrFirst()
      Returns the KeysetPageable that can be used to request the previous Page or the first if the current one already is the first one.
      Specified by:
      previousOrFirst in interface Pageable
      Returns:
      The KeysetPageable for the previous or first Page
    • first

      Returns the KeysetPageable that can be used to request the first Page.
      Specified by:
      first in interface Pageable
      Returns:
      The KeysetPageable for the first Page
    • isWithCountQuery

      boolean isWithCountQuery()
      Returns whether count query execution is enabled or not.
      Returns:
      true when enabled, false otherwise
      Since:
      1.4.0
    • isWithExtractAllKeysets

      boolean isWithExtractAllKeysets()
      Returns whether extraction for all keysets is enabled or not.
      Returns:
      true when enabled, false otherwise
      Since:
      1.4.0