public class CassandraResult<K,T extends PersistentBase> extends ResultBase<K,T>
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
dataStore, key, limit, offset, persistent, query
Constructor and Description |
---|
CassandraResult(DataStore<K,T> dataStore,
Query<K,T> query) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
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. |
void |
setResultSet(CassandraResultSet<K> cassandraResultSet) |
void |
setReverseMap(Map<String,String> reverseMap) |
clear, filter, get, getDataStore, getKey, getKeyClass, getOffset, getOrCreatePersistent, getPersistentClass, getQuery, isLimitReached, next
protected boolean nextInner() throws IOException
ResultBase
ResultBase.next()
calls this function to read the
actual results.nextInner
in class ResultBase<K,T extends PersistentBase>
IOException
public void close() throws IOException
close
in interface Result<K,T extends PersistentBase>
close
in class ResultBase<K,T extends PersistentBase>
IOException
public float getProgress() throws IOException
Result
IOException
public void setResultSet(CassandraResultSet<K> cassandraResultSet)
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.