public abstract class AbstractRDBMSQueryResult
extends org.datanucleus.store.query.AbstractQueryResult
| Modifier and Type | Field and Description |
|---|---|
protected Map<Object,Map<Integer,Object>> |
bulkLoadedValueByMemberNumber |
protected ResultObjectFactory |
rof
ResultObjectFactory for converting the result set into objects.
|
protected ResultSet |
rs
The ResultSet containing the results.
|
closed, connectionListeners, loadResultsAtCommit, LOCALISER, query, resultSizeMethod, sizemodCount| Constructor and Description |
|---|
AbstractRDBMSQueryResult(org.datanucleus.store.query.Query query,
ResultObjectFactory rof,
ResultSet rs)
Constructor of the result from a Query.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Method to close the results, meaning that they are inaccessible after this point.
|
protected void |
closeResults()
Internal method to close the ResultSet.
|
void |
disconnect()
Method to disconnect the results from the ExecutionContext, meaning that thereafter it just behaves
like a List.
|
int |
hashCode()
Override for compatibility with equals().
|
abstract void |
initialise() |
void |
registerMemberBulkResultSet(IteratorStatement iterStmt,
ResultSet rs) |
add, add, addAll, addConnectionListener, assertIsOpen, clear, closingConnection, contains, containsAll, equals, get, getSizeUsingMethod, indexOf, isEmpty, isOpen, iterator, lastIndexOf, listIterator, remove, set, size, subList, toArray, toArraylistIterator, removeRangeaddAll, remove, removeAll, retainAll, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, remove, removeAll, retainAllprotected ResultSet rs
protected ResultObjectFactory rof
public AbstractRDBMSQueryResult(org.datanucleus.store.query.Query query,
ResultObjectFactory rof,
ResultSet rs)
query - The Queryrof - The factory to retrieve results fromrs - The ResultSet from the Query Statementpublic void registerMemberBulkResultSet(IteratorStatement iterStmt, ResultSet rs)
public abstract void initialise()
throws SQLException
SQLExceptionpublic void disconnect()
disconnect in interface org.datanucleus.store.query.QueryResultdisconnect in class org.datanucleus.store.query.AbstractQueryResultpublic void close()
close in interface org.datanucleus.store.query.QueryResultclose in class org.datanucleus.store.query.AbstractQueryResultprotected void closeResults()
closeResults in class org.datanucleus.store.query.AbstractQueryResultpublic int hashCode()
hashCode in interface CollectionhashCode in interface ListhashCode in class org.datanucleus.store.query.AbstractQueryResultCopyright © 2013. All Rights Reserved.