|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.dtm.ref.DTMDefaultBase
org.apache.xml.dtm.ref.DTMDefaultBaseTraversers
org.apache.xml.dtm.ref.DTMDefaultBaseIterators
org.apache.xalan.lib.sql.DTMDocument
org.apache.xalan.lib.sql.SQLDocument
public class SQLDocument
The SQL Document is the main controlling class the executesa SQL Query
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.xalan.lib.sql.DTMDocument |
|---|
DTMDocument.CharacterNodeHandler |
| Field Summary |
|---|
| Fields inherited from class org.apache.xml.dtm.ref.DTMDefaultBase |
|---|
DEFAULT_BLOCKSIZE, DEFAULT_NUMBLOCKS, DEFAULT_NUMBLOCKS_SMALL, m_mgr, ROOTNODE |
| Fields inherited from interface org.apache.xml.dtm.DTM |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NAMESPACE_NODE, NOTATION_NODE, NTYPES, NULL, PROCESSING_INSTRUCTION_NODE, ROOT_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
SQLDocument(DTMManager mgr,
int ident)
|
|
| Method Summary | |
|---|---|
java.sql.SQLWarning |
checkWarnings()
|
void |
close(boolean flushConnPool)
Close down any resources used by this document. |
void |
documentRegistration()
A dummy routine to satisify the abstract interface. |
void |
documentRelease()
A dummy routine to satisify the abstract interface. |
void |
execute(XConnection xconn,
SQLQueryParser query)
|
ExpressionContext |
getExpressionContext()
Return the context used to build this document |
static SQLDocument |
getNewDocument(ExpressionContext exprContext)
This static method simplifies the creation of an SQL Document and allows us to embedd the complexity of creating / handling the dtmIdent inside the document. |
boolean |
hasErrors()
Used by the XConnection to determine if the Document should handle the document differently. |
void |
skip(int value)
Push the record set forward value rows. |
| Methods inherited from class org.apache.xml.dtm.ref.DTMDefaultBase |
|---|
dumpDTM, dumpNode, getDocumentRoot, getDTMIDs, getManager, getNodeHandle, getNodeIdent, getTypedFirstChild, getTypedNextSibling, makeNodeHandle, makeNodeIdentity, migrateTo |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLDocument(DTMManager mgr,
int ident)
mgr - ident -
java.sql.SQLException| Method Detail |
|---|
public static SQLDocument getNewDocument(ExpressionContext exprContext)
public ExpressionContext getExpressionContext()
public void execute(XConnection xconn,
SQLQueryParser query)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void skip(int value)
value - public boolean hasErrors()
public void close(boolean flushConnPool)
public void documentRegistration()
DTMDefaultBase
documentRegistration in interface DTMdocumentRegistration in class DTMDefaultBasepublic void documentRelease()
DTMDefaultBase
documentRelease in interface DTMdocumentRelease in class DTMDefaultBasepublic java.sql.SQLWarning checkWarnings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||