public class QueryResultParser<T> extends Object
| Constructor and Description |
|---|
QueryResultParser(Class<T> type,
org.codehaus.jackson.map.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFirstId() |
org.codehaus.jackson.JsonNode |
getFirstKey() |
String |
getLastId() |
org.codehaus.jackson.JsonNode |
getLastKey() |
int |
getOffset() |
List<T> |
getRows() |
int |
getTotalRows() |
void |
parseResult(InputStream json) |
void |
setIgnoreNotFound(boolean b) |
public void parseResult(InputStream json) throws org.codehaus.jackson.JsonParseException, IOException
org.codehaus.jackson.JsonParseExceptionIOExceptionpublic int getTotalRows()
public int getOffset()
public void setIgnoreNotFound(boolean b)
public String getFirstId()
public org.codehaus.jackson.JsonNode getFirstKey()
public String getLastId()
public org.codehaus.jackson.JsonNode getLastKey()
Copyright © 2012. All Rights Reserved.