Interface UnnumberedPageable

  • All Superinterfaces:
    org.springframework.data.domain.Pageable
    All Known Subinterfaces:
    NarrowedPageable
    All Known Implementing Classes:
    DefaultNarrowedPageable, DefaultUnnumberedPageable

    public interface UnnumberedPageable
    extends org.springframework.data.domain.Pageable
    Represents a Pageable for which page number are not used. Rather, an implementation should rely directly on offset. This can be useful in situations where the determination for the next Pageable.getOffset() is more complicated than simply multiplying pageNumber and pageSize.
    Author:
    Jeff Fischer
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default int getPageNumber()  
      • Methods inherited from interface org.springframework.data.domain.Pageable

        first, getOffset, getPageSize, getSort, getSortOr, hasPrevious, isPaged, isUnpaged, next, previousOrFirst, toOptional
    • Method Detail

      • getPageNumber

        default int getPageNumber()
        Specified by:
        getPageNumber in interface org.springframework.data.domain.Pageable