|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ResultSetClient is the standard interface for iterating over the results of a query against a CollectionClient.
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. |
CollectionClient |
getCollection()
getCollection returns the top-level Collection context. |
int |
getCount()
getCount returns the number of records returned or modified by this query. |
java.lang.String |
getQueryString()
getQueryString returns the String that was used to create the Query instance. |
java.lang.String |
getQueryStyle()
getQueryStyle returns the QueryStyle (ex: XPath) for this Query instance. |
org.w3c.dom.Node |
getResult()
getResult returns the result as a DOM Node structure. |
java.lang.String |
getResultAsText()
getResultAsText returns the result as a Text String. |
CollectionClient |
getResultCollection()
getResultCollection returns the Collection context for the current result in the cursor. |
java.lang.String |
getResultKey()
getResultKey return the Key for the current result in the cursor. |
boolean |
next()
next moves the cursor down one object from its current position. |
Method Detail |
public CollectionClient getCollection() throws dbXMLException
dbXMLException
public java.lang.String getQueryStyle() throws dbXMLException
dbXMLException
public java.lang.String getQueryString() throws dbXMLException
dbXMLException
public boolean next() throws dbXMLException
dbXMLException
public void close() throws dbXMLException
dbXMLException
public int getCount() throws dbXMLException
dbXMLException
public org.w3c.dom.Node getResult() throws dbXMLException
dbXMLException
public java.lang.String getResultAsText() throws dbXMLException
dbXMLException
public CollectionClient getResultCollection() throws dbXMLException
dbXMLException
public java.lang.String getResultKey() throws dbXMLException
dbXMLException
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |