org.ektorp.impl
Class QueryResultParser<T>
java.lang.Object
org.ektorp.impl.QueryResultParser<T>
public class QueryResultParser<T>
- extends Object
- Author:
- Henrik Lundgren (original implementation), Pascal Gélinas (rewrite for issue #98)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryResultParser
public QueryResultParser(Class<T> type,
com.fasterxml.jackson.databind.ObjectMapper mapper)
parseResult
public void parseResult(InputStream json)
throws IOException
- Throws:
IOException
getTotalRows
public int getTotalRows()
getOffset
public long getOffset()
getRows
public List<T> getRows()
getLastId
public String getLastId()
getLastKey
public com.fasterxml.jackson.databind.JsonNode getLastKey()
getFirstId
public String getFirstId()
getFirstKey
public com.fasterxml.jackson.databind.JsonNode getFirstKey()
setIgnoreNotFound
public void setIgnoreNotFound(boolean ignoreNotFound)
getUpdateSequence
public Long getUpdateSequence()
Copyright © 2017. All rights reserved.