|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dbxml.db.common.query.ResultSetBase
ResultSetBase
Field Summary |
Fields inherited from interface com.dbxml.db.core.query.ResultSet |
RESULT_ANYURI, RESULT_ATTRIBUTE, RESULT_BASE64BINARY, RESULT_BOOLEAN, RESULT_CDATA, RESULT_COMMENT, RESULT_DATE, RESULT_DATETIME, RESULT_DECIMAL, RESULT_DOCUMENT, RESULT_DOUBLE, RESULT_DURATION, RESULT_ELEMENT, RESULT_FLOAT, RESULT_GDAY, RESULT_GMONTH, RESULT_GMONTHDAY, RESULT_GYEAR, RESULT_GYEARMONTH, RESULT_HEXBINARY, RESULT_PROCINST, RESULT_QNAME, RESULT_STRING, RESULT_TEXT, RESULT_TIME |
Constructor Summary | |
ResultSetBase(Transaction tx,
Collection context,
Query query,
Key[] keySet)
|
Method Summary | |
void |
close()
close releases this ResultSet object's database resources immediately instead of waiting for this to happen when it is automatically closed. |
Collection |
getCollection()
getCollection returns the top-level Collection context. |
int |
getCount()
getCount returns the number of records returned or modified by this query. |
Query |
getQuery()
getQuery returns the Query instance that produced this result set. |
Collection |
getResultCollection()
getResultCollection returns the Collection context for the current result in the cursor. |
Key |
getResultKey()
getResultKey return the Key for the current result in the cursor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.dbxml.db.core.query.ResultSet |
getResult, getResultType, next |
Constructor Detail |
public ResultSetBase(Transaction tx, Collection context, Query query, Key[] keySet)
Method Detail |
public Collection getCollection()
ResultSet
getCollection
in interface ResultSet
public Query getQuery()
ResultSet
getQuery
in interface ResultSet
public int getCount() throws QueryException
ResultSet
getCount
in interface ResultSet
QueryException
public Collection getResultCollection() throws QueryException
ResultSet
getResultCollection
in interface ResultSet
QueryException
public Key getResultKey() throws QueryException
ResultSet
getResultKey
in interface ResultSet
QueryException
public void close()
ResultSet
close
in interface ResultSet
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |