org.apache.gora.sql.query
Class SqlResult<K,T extends Persistent>
java.lang.Object
org.apache.gora.query.impl.ResultBase<K,T>
org.apache.gora.sql.query.SqlResult<K,T>
- All Implemented Interfaces:
- java.io.Closeable, Result<K,T>
public class SqlResult<K,T extends Persistent>
- extends ResultBase<K,T>
|
Constructor Summary |
SqlResult(DataStore<K,T> dataStore,
Query<K,T> query,
java.sql.ResultSet resultSet,
java.sql.PreparedStatement statement)
|
| Methods inherited from class org.apache.gora.query.impl.ResultBase |
clear, get, getDataStore, getKey, getKeyClass, getOffset, getOrCreatePersistent, getPersistentClass, getQuery, isLimitReached, next |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlResult
public SqlResult(DataStore<K,T> dataStore,
Query<K,T> query,
java.sql.ResultSet resultSet,
java.sql.PreparedStatement statement)
nextInner
protected boolean nextInner()
throws java.io.IOException
- Specified by:
nextInner in class ResultBase<K,T extends Persistent>
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
getProgress
public float getProgress()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.