public class CouchDBResult<K,T extends Persistent> extends ResultBase<K,T>
Result
interface.Modifier and Type | Field and Description |
---|---|
protected CouchDBStore |
dataStore |
key, limit, offset, persistent, query
Constructor and Description |
---|
CouchDBResult(DataStore<K,T> dataStore,
Query<K,T> query,
List<Map> result)
Constructor for the result set
|
Modifier and Type | Method and Description |
---|---|
float |
getProgress()
Gets the items reading progress
|
List<Map> |
getResultData()
Result set containing query results
|
protected boolean |
nextInner()
Gets the next item
|
clear, close, filter, get, getDataStore, getKey, getKeyClass, getOffset, getOrCreatePersistent, getPersistentClass, getQuery, isLimitReached, next
protected CouchDBStore dataStore
protected boolean nextInner() throws IOException
nextInner
in class ResultBase<K,T extends Persistent>
IOException
- if for some reason we reach a result which does not existpublic float getProgress() throws IOException, InterruptedException
IOException
- if there is an erro obtaining progressInterruptedException
- if progress stalls or is interruptedCopyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.