org.ektorp.impl
Class QueryResultParser<T>
java.lang.Object
org.ektorp.impl.QueryResultParser<T>
public class QueryResultParser<T>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryResultParser
public QueryResultParser(Class<T> type,
org.codehaus.jackson.map.ObjectMapper mapper)
parseResult
public void parseResult(InputStream json)
throws org.codehaus.jackson.JsonParseException,
IOException
- Throws:
org.codehaus.jackson.JsonParseException
IOException
getTotalRows
public int getTotalRows()
getOffset
public int getOffset()
getRows
public List<T> getRows()
setIgnoreNotFound
public void setIgnoreNotFound(boolean b)
getFirstId
public String getFirstId()
getFirstKey
public org.codehaus.jackson.JsonNode getFirstKey()
getLastId
public String getLastId()
getLastKey
public org.codehaus.jackson.JsonNode getLastKey()
Copyright © 2011. All Rights Reserved.