public class ZeroPageRequest extends Object implements org.springframework.data.domain.Pageable
| Modifier and Type | Field and Description |
|---|---|
static ZeroPageRequest |
AGGREGATION_ONLY |
| Constructor and Description |
|---|
ZeroPageRequest() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Pageable |
first() |
long |
getOffset() |
int |
getPageNumber() |
int |
getPageSize() |
org.springframework.data.domain.Sort |
getSort() |
boolean |
hasPrevious() |
org.springframework.data.domain.Pageable |
next() |
org.springframework.data.domain.Pageable |
previousOrFirst() |
public static ZeroPageRequest AGGREGATION_ONLY
public org.springframework.data.domain.Pageable first()
first in interface org.springframework.data.domain.Pageablepublic long getOffset()
getOffset in interface org.springframework.data.domain.Pageablepublic int getPageNumber()
getPageNumber in interface org.springframework.data.domain.Pageablepublic int getPageSize()
getPageSize in interface org.springframework.data.domain.Pageablepublic org.springframework.data.domain.Sort getSort()
getSort in interface org.springframework.data.domain.Pageablepublic boolean hasPrevious()
hasPrevious in interface org.springframework.data.domain.Pageablepublic org.springframework.data.domain.Pageable next()
next in interface org.springframework.data.domain.Pageablepublic org.springframework.data.domain.Pageable previousOrFirst()
previousOrFirst in interface org.springframework.data.domain.PageableCopyright © 2017 Committed. All rights reserved.