|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList
org.jpox.store.query.AbstractQueryResult
org.jpox.store.rdbms.query.AbstractRDBMSQueryResult
public abstract class AbstractRDBMSQueryResult
Abstract representation of a QueryResult for RDBMS queries.
| Field Summary | |
|---|---|
protected org.jpox.store.mapped.expression.QueryExpression |
qs
The Query statement used to generate these results. |
protected org.jpox.store.query.ResultObjectFactory |
rof
Result Object Factory used for accessing the elements. |
protected java.sql.ResultSet |
rs
The ResultSet containing the results. |
| Fields inherited from class org.jpox.store.query.AbstractQueryResult |
|---|
closed, connectionListeners, LOCALISER, query |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
AbstractRDBMSQueryResult(org.jpox.store.mapped.expression.QueryExpression qs,
org.jpox.store.query.Query query,
org.jpox.store.query.ResultObjectFactory rof,
java.sql.ResultSet rs)
Constructor of the result from a Query. |
|
| Method Summary | |
|---|---|
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 ObjectManager, meaning that thereafter it just behaves like a List. |
int |
hashCode()
Accessor for the hashcode of this object |
| Methods inherited from class org.jpox.store.query.AbstractQueryResult |
|---|
add, add, addAll, addConnectionListener, assertIsOpen, clear, closingConnection, contains, containsAll, equals, get, indexOf, isEmpty, isOpen, iterator, lastIndexOf, listIterator, remove, set, size, subList, toArray, toArray |
| Methods inherited from class java.util.AbstractList |
|---|
listIterator, removeRange |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, remove, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
add, addAll, clear, contains, containsAll, equals, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Methods inherited from interface java.util.List |
|---|
addAll, remove, removeAll, retainAll |
| Field Detail |
|---|
protected org.jpox.store.query.ResultObjectFactory rof
protected java.sql.ResultSet rs
protected org.jpox.store.mapped.expression.QueryExpression qs
| Constructor Detail |
|---|
public AbstractRDBMSQueryResult(org.jpox.store.mapped.expression.QueryExpression qs,
org.jpox.store.query.Query query,
org.jpox.store.query.ResultObjectFactory rof,
java.sql.ResultSet rs)
qs - The Query Statementquery - The Queryrof - The factory to retrieve results fromrs - The ResultSet from the Query Statement| Method Detail |
|---|
public void disconnect()
disconnect in interface org.jpox.store.query.QueryResultdisconnect in class org.jpox.store.query.AbstractQueryResultpublic void close()
close in interface org.jpox.store.query.QueryResultclose in class org.jpox.store.query.AbstractQueryResultprotected void closeResults()
closeResults in class org.jpox.store.query.AbstractQueryResultpublic int hashCode()
hashCode in interface java.util.CollectionhashCode in interface java.util.ListhashCode in class org.jpox.store.query.AbstractQueryResult
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||