public class QueryResultParser<T> extends Object
| Constructor and Description |
|---|
QueryResultParser(Class<T> type,
com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFirstId() |
com.fasterxml.jackson.databind.JsonNode |
getFirstKey() |
String |
getLastId() |
com.fasterxml.jackson.databind.JsonNode |
getLastKey() |
int |
getOffset() |
List<T> |
getRows() |
int |
getTotalRows() |
Long |
getUpdateSequence() |
void |
parseResult(InputStream json) |
void |
setIgnoreNotFound(boolean ignoreNotFound) |
public void parseResult(InputStream json) throws IOException
IOExceptionpublic int getTotalRows()
public int getOffset()
public String getLastId()
public com.fasterxml.jackson.databind.JsonNode getLastKey()
public String getFirstId()
public com.fasterxml.jackson.databind.JsonNode getFirstKey()
public void setIgnoreNotFound(boolean ignoreNotFound)
public Long getUpdateSequence()
Copyright © 2013. All Rights Reserved.