Class AggregationPageable
java.lang.Object
com.redis.om.spring.search.stream.AggregationPageable
- All Implemented Interfaces:
org.springframework.data.domain.Pageable
-
Constructor Summary
ConstructorsConstructorDescriptionAggregationPageable(org.springframework.data.domain.Pageable pageable, long cursorId) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Pageablefirst()longlongintintorg.springframework.data.domain.SortgetSort()booleanorg.springframework.data.domain.Pageablenext()org.springframework.data.domain.Pageableorg.springframework.data.domain.PageablewithPage(int pageNumber) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.domain.Pageable
getSortOr, isPaged, isUnpaged, toOptional, toScrollPosition
-
Constructor Details
-
AggregationPageable
public AggregationPageable(org.springframework.data.domain.Pageable pageable, long cursorId)
-
-
Method Details
-
getCursorId
public long getCursorId() -
getPageNumber
public int getPageNumber()- Specified by:
getPageNumberin interfaceorg.springframework.data.domain.Pageable
-
getPageSize
public int getPageSize()- Specified by:
getPageSizein interfaceorg.springframework.data.domain.Pageable
-
getOffset
public long getOffset()- Specified by:
getOffsetin interfaceorg.springframework.data.domain.Pageable
-
getSort
public org.springframework.data.domain.Sort getSort()- Specified by:
getSortin interfaceorg.springframework.data.domain.Pageable
-
next
public org.springframework.data.domain.Pageable next()- Specified by:
nextin interfaceorg.springframework.data.domain.Pageable
-
previousOrFirst
public org.springframework.data.domain.Pageable previousOrFirst()- Specified by:
previousOrFirstin interfaceorg.springframework.data.domain.Pageable
-
first
public org.springframework.data.domain.Pageable first()- Specified by:
firstin interfaceorg.springframework.data.domain.Pageable
-
withPage
public org.springframework.data.domain.Pageable withPage(int pageNumber) - Specified by:
withPagein interfaceorg.springframework.data.domain.Pageable
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceorg.springframework.data.domain.Pageable
-