public class AccumuloResult<K,T extends PersistentBase> extends ResultBase<K,T>
dataStore, key, limit, offset, persistent, query| Constructor and Description |
|---|
AccumuloResult(DataStore<K,T> dataStore,
Query<K,T> query,
org.apache.accumulo.core.client.Scanner scanner) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
AccumuloStore<K,T> |
getDataStore()
Returns the DataStore, that this Result is associated with.
|
float |
getProgress()
Returns how far along the result has iterated, a value between 0 and 1.
|
protected boolean |
nextInner()
ResultBase.next() calls this function to read the
actual results. |
clear, filter, get, getKey, getKeyClass, getOffset, getOrCreatePersistent, getPersistentClass, getQuery, isLimitReached, nextpublic AccumuloStore<K,T> getDataStore()
ResultgetDataStore in interface Result<K,T extends PersistentBase>getDataStore in class ResultBase<K,T extends PersistentBase>public float getProgress()
throws IOException
ResultIOExceptionpublic void close()
throws IOException
close in interface Result<K,T extends PersistentBase>close in class ResultBase<K,T extends PersistentBase>IOExceptionprotected boolean nextInner()
throws IOException
ResultBaseResultBase.next() calls this function to read the
actual results.nextInner in class ResultBase<K,T extends PersistentBase>IOExceptionCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.