|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ResultSet interface is a set interface that allows the developer to iterate over a set of DocumentTables. These DocumentTables are the result of a query, and can either be the entire original document, portions of an original document, or synthesized nodes produced by the query resolver.
Field Summary | |
static int |
RESULT_ANYURI
|
static int |
RESULT_ATTRIBUTE
|
static int |
RESULT_BASE64BINARY
|
static int |
RESULT_BOOLEAN
|
static int |
RESULT_CDATA
|
static int |
RESULT_COMMENT
|
static int |
RESULT_DATE
|
static int |
RESULT_DATETIME
|
static int |
RESULT_DECIMAL
|
static int |
RESULT_DOCUMENT
|
static int |
RESULT_DOUBLE
|
static int |
RESULT_DURATION
|
static int |
RESULT_ELEMENT
|
static int |
RESULT_FLOAT
|
static int |
RESULT_GDAY
|
static int |
RESULT_GMONTH
|
static int |
RESULT_GMONTHDAY
|
static int |
RESULT_GYEAR
|
static int |
RESULT_GYEARMONTH
|
static int |
RESULT_HEXBINARY
|
static int |
RESULT_PROCINST
|
static int |
RESULT_QNAME
|
static int |
RESULT_STRING
|
static int |
RESULT_TEXT
|
static int |
RESULT_TIME
|
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. |
DocumentTable |
getResult()
getResult returns the result as a DocumentTable structure. |
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. |
int |
getResultType()
getResultType returns the type of the object that the ResultSet cursor currently points to. |
boolean |
next()
next moves the cursor down one object from its current position. |
Field Detail |
public static final int RESULT_DOCUMENT
public static final int RESULT_ELEMENT
public static final int RESULT_ATTRIBUTE
public static final int RESULT_PROCINST
public static final int RESULT_COMMENT
public static final int RESULT_TEXT
public static final int RESULT_CDATA
public static final int RESULT_STRING
public static final int RESULT_BOOLEAN
public static final int RESULT_DECIMAL
public static final int RESULT_FLOAT
public static final int RESULT_DOUBLE
public static final int RESULT_DURATION
public static final int RESULT_DATETIME
public static final int RESULT_TIME
public static final int RESULT_DATE
public static final int RESULT_GYEARMONTH
public static final int RESULT_GYEAR
public static final int RESULT_GMONTHDAY
public static final int RESULT_GDAY
public static final int RESULT_GMONTH
public static final int RESULT_HEXBINARY
public static final int RESULT_BASE64BINARY
public static final int RESULT_ANYURI
public static final int RESULT_QNAME
Method Detail |
public Collection getCollection() throws QueryException
QueryException
public Query getQuery() throws QueryException
QueryException
public boolean next() throws QueryException
QueryException
public void close() throws QueryException
QueryException
public int getResultType() throws QueryException
QueryException
public int getCount() throws QueryException
QueryException
public DocumentTable getResult() throws QueryException
QueryException
public Collection getResultCollection() throws QueryException
QueryException
public Key getResultKey() throws QueryException
QueryException
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |