public class PageRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PageRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ViewQuery |
applyPagingParameters(ViewQuery q,
PageRequest pr) |
com.fasterxml.jackson.databind.JsonNode |
asJson() |
String |
asLink() |
boolean |
equals(Object obj) |
static PageRequest |
firstPage(int pageSize) |
static PageRequest |
fromLink(String link) |
int |
getPageNo() |
int |
getPageSize() |
PageRequest |
getPreviousPageRequest() |
Object |
getStartKey() |
String |
getStartKeyDocId() |
int |
hashCode() |
boolean |
isBack() |
PageRequest.Builder |
nextRequest(Object nextStartKey,
String nextStartDocId) |
String |
toString() |
public static ViewQuery applyPagingParameters(ViewQuery q, PageRequest pr)
public int getPageNo()
public static PageRequest firstPage(int pageSize)
public PageRequest.Builder nextRequest(Object nextStartKey, String nextStartDocId)
public static PageRequest fromLink(String link)
public String asLink()
public com.fasterxml.jackson.databind.JsonNode asJson()
public int getPageSize()
public Object getStartKey()
public String getStartKeyDocId()
public PageRequest getPreviousPageRequest()
startKey
- startDocId
- public boolean isBack()
Copyright © 2013. All Rights Reserved.