public abstract class AbstractRDBMSQueryResult
extends org.datanucleus.store.query.AbstractQueryResult
Modifier and Type | Field and Description |
---|---|
protected Map<Object,Map<Integer,Object>> |
bulkLoadedValueByMemberNumber |
protected boolean |
closeStatementWithResultSet
Default to closing the statement when closing the resultSet, but allow override.
|
protected ResultObjectFactory |
rof
ResultObjectFactory for converting the result set into objects.
|
protected ResultSet |
rs
The ResultSet containing the results.
|
closed, connectionListeners, loadResultsAtCommit, query, resultSizeMethod, size
modCount
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.
|
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, toArray
listIterator, removeRange
addAll, remove, removeAll, retainAll, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream
addAll, remove, removeAll, replaceAll, retainAll, sort, spliterator
protected ResultSet rs
protected ResultObjectFactory rof
protected Map<Object,Map<Integer,Object>> bulkLoadedValueByMemberNumber
protected boolean closeStatementWithResultSet
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 setCloseStatementWithResultSet(boolean flag)
public void registerMemberBulkResultSet(IteratorStatement iterStmt, ResultSet rs)
public abstract void initialise() throws SQLException
SQLException
public void disconnect()
disconnect
in interface org.datanucleus.store.query.QueryResult
disconnect
in class org.datanucleus.store.query.AbstractQueryResult
public void close()
close
in interface org.datanucleus.store.query.QueryResult
close
in class org.datanucleus.store.query.AbstractQueryResult
protected void closeResults()
closeResults
in class org.datanucleus.store.query.AbstractQueryResult
public boolean equals(Object o)
equals
in interface Collection
equals
in interface List
equals
in class org.datanucleus.store.query.AbstractQueryResult
public int hashCode()
hashCode
in interface Collection
hashCode
in interface List
hashCode
in class org.datanucleus.store.query.AbstractQueryResult
Copyright © 2015. All rights reserved.