public static class MemStore.MemResult<K,T extends PersistentBase> extends ResultBase<K,T>
dataStore, key, limit, offset, persistent, query
Constructor and Description |
---|
MemStore.MemResult(DataStore<K,T> dataStore,
Query<K,T> query,
NavigableMap<K,T> map) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
close() |
float |
getProgress()
Returns how far along the result has iterated, a value between 0 and 1.
|
boolean |
nextInner()
ResultBase.next() calls this function to read the
actual results. |
filter, get, getDataStore, getKey, getKeyClass, getOffset, getOrCreatePersistent, getPersistentClass, getQuery, isLimitReached, next
public void close()
close
in interface Result<K,T extends PersistentBase>
close
in class ResultBase<K,T extends PersistentBase>
public float getProgress() throws IOException
Result
IOException
protected void clear()
clear
in class ResultBase<K,T extends PersistentBase>
public boolean nextInner() throws IOException
ResultBase
ResultBase.next()
calls this function to read the
actual results.nextInner
in class ResultBase<K,T extends PersistentBase>
IOException
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.