public class QueryResult<T>
extends java.lang.Object
| Constructor and Description |
|---|
QueryResult(java.lang.Class<T> type,
org.tiogasolutions.couchace.core.api.CouchDatabase database,
org.tiogasolutions.couchace.core.api.query.CouchViewQuery viewQuery) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.tiogasolutions.couchace.core.api.response.EntityDocument<T>> |
getDocumentList() |
java.util.List<T> |
getEntityList() |
int |
getSize() |
boolean |
hasNextPage() |
boolean |
hasPrevPage() |
boolean |
nextPage() |
boolean |
prevPage() |
public QueryResult(java.lang.Class<T> type, org.tiogasolutions.couchace.core.api.CouchDatabase database, org.tiogasolutions.couchace.core.api.query.CouchViewQuery viewQuery)
public java.util.List<T> getEntityList()
public java.util.List<org.tiogasolutions.couchace.core.api.response.EntityDocument<T>> getDocumentList()
public int getSize()
public boolean hasNextPage()
public boolean nextPage()
public boolean hasPrevPage()
public boolean prevPage()