public abstract class AbstractRDBMSQueryResult<E>
extends org.datanucleus.store.query.AbstractQueryResult<E>
| Modifier and Type | Field and Description |
|---|---|
protected Map<Object,Map<Integer,Object>> |
bulkLoadedValueByMemberNumber
Map of field values, keyed by the "id" of the object.
|
protected boolean |
closeStatementWithResultSet
Default to closing the statement when closing the resultSet, but allow override.
|
protected org.datanucleus.FetchPlan |
fp |
protected ResultObjectFactory<E> |
rof
ResultObjectFactory for converting the result set into objects.
|
protected ResultSet |
rs
The ResultSet containing the results.
|
api, closed, connectionListeners, loadResultsAtCommit, query, resultSizeMethod, sizemodCount| Constructor and Description |
|---|
AbstractRDBMSQueryResult(org.datanucleus.store.query.Query query,
ResultObjectFactory<E> rof,
ResultSet rs,
org.datanucleus.FetchPlan fp)
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.
|
boolean |
equals(Object o) |
int |
hashCode() |
abstract void |
initialise() |
void |
registerMemberBulkResultSet(IteratorStatement iterStmt,
ResultSet rs) |
void |
setCloseStatementWithResultSet(boolean flag) |
add, add, addAll, addConnectionListener, assertIsOpen, clear, closingConnection, contains, containsAll, 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, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, streamaddAll, remove, removeAll, replaceAll, retainAll, sort, spliteratorprotected ResultSet rs
protected ResultObjectFactory<E> rof
protected org.datanucleus.FetchPlan fp
protected Map<Object,Map<Integer,Object>> bulkLoadedValueByMemberNumber
protected boolean closeStatementWithResultSet
public AbstractRDBMSQueryResult(org.datanucleus.store.query.Query query,
ResultObjectFactory<E> rof,
ResultSet rs,
org.datanucleus.FetchPlan fp)
query - The Queryrof - The factory to retrieve results fromrs - The ResultSet from the Query Statementfp - FetchPlanpublic void setCloseStatementWithResultSet(boolean flag)
public void registerMemberBulkResultSet(IteratorStatement iterStmt, ResultSet rs)
public abstract void initialise()
throws SQLException
SQLExceptionpublic void disconnect()
public void close()
protected void closeResults()
closeResults in class org.datanucleus.store.query.AbstractQueryResult<E>public boolean equals(Object o)
Copyright © 2020. All rights reserved.