public class SQLDocument extends DTMDocument
DTMDocument.CharacterNodeHandler
DTMDefaultBaseIterators.AncestorIterator, DTMDefaultBaseIterators.AttributeIterator, DTMDefaultBaseIterators.ChildrenIterator, DTMDefaultBaseIterators.DescendantIterator, DTMDefaultBaseIterators.FollowingIterator, DTMDefaultBaseIterators.FollowingSiblingIterator, DTMDefaultBaseIterators.InternalAxisIteratorBase, DTMDefaultBaseIterators.NamespaceAttributeIterator, DTMDefaultBaseIterators.NamespaceChildrenIterator, DTMDefaultBaseIterators.NamespaceIterator, DTMDefaultBaseIterators.NthDescendantIterator, DTMDefaultBaseIterators.ParentIterator, DTMDefaultBaseIterators.PrecedingIterator, DTMDefaultBaseIterators.PrecedingSiblingIterator, DTMDefaultBaseIterators.RootIterator, DTMDefaultBaseIterators.SingletonIterator, DTMDefaultBaseIterators.TypedAncestorIterator, DTMDefaultBaseIterators.TypedAttributeIterator, DTMDefaultBaseIterators.TypedChildrenIterator, DTMDefaultBaseIterators.TypedDescendantIterator, DTMDefaultBaseIterators.TypedFollowingIterator, DTMDefaultBaseIterators.TypedFollowingSiblingIterator, DTMDefaultBaseIterators.TypedNamespaceIterator, DTMDefaultBaseIterators.TypedPrecedingIterator, DTMDefaultBaseIterators.TypedPrecedingSiblingIterator, DTMDefaultBaseIterators.TypedRootIterator, DTMDefaultBaseIterators.TypedSingletonIterator
m_attribute, m_Document_TypeID, m_DocumentIdx, m_ObjectArray, m_TextNode_TypeID, S_ATTRIB_NOT_SUPPORTED, S_DOCUMENT, S_ELEMENT_NODE, S_ISFALSE, S_ISTRUE, S_TEXT_NODE
DEFAULT_BLOCKSIZE, DEFAULT_NUMBLOCKS, DEFAULT_NUMBLOCKS_SMALL, m_documentBaseURI, m_dtmIdent, m_elemIndexes, m_expandedNameTable, m_exptype, m_firstch, m_indexing, m_mgr, m_mgrDefault, m_namespaceDeclSetElements, m_namespaceDeclSets, m_nextsib, m_parent, m_prevsib, m_shouldStripWhitespaceStack, m_shouldStripWS, m_size, m_traversers, m_wsfilter, m_xstrf, NOTPROCESSED, ROOTNODE
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 and Description |
---|
SQLDocument(DTMManager mgr,
int ident) |
Modifier and Type | Method and Description |
---|---|
protected int |
_nextsib(int identity)
Get the next sibling for the given node identity.
|
SQLWarning |
checkWarnings() |
void |
close(boolean flushConnPool)
Close down any resources used by this document.
|
protected void |
createExpandedNameTable()
Populate the Expanded Name Table with the Node that we will use.
|
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.
|
protected boolean |
nextNode()
This method should try and build one or more nodes in the table.
|
protected void |
setExpressionContext(ExpressionContext expr)
When building the SQL Document, we need to store the Expression
Context that was used to create the document.
|
void |
skip(int value)
Push the record set forward value rows.
|
_exptype, _firstch, _level, _parent, _prevsib, _type, addAttributeToNode, addElement, addElementWithData, appendChild, appendTextChild, cloneAttributeFromNode, declareNamespaceInContext, dispatchCharactersEvents, dispatchNodeData, dispatchToEvents, dumpDTM, ensureSize, ensureSizeOfIndex, error, findGTE, findInSortedSuballocatedIntVector, findNamespaceContext, getAttributeNode, getAxisIterator, getAxisTraverser, getContentHandler, getDeclHandler, getDocument, getDocumentAllDeclarationsProcessed, getDocumentBaseURI, getDocumentEncoding, getDocumentStandalone, getDocumentSystemIdentifier, getDocumentTypeDeclarationPublicIdentifier, getDocumentTypeDeclarationSystemIdentifier, getDocumentVersion, getDTDHandler, getElementById, getEntityResolver, getErrorHandler, getExpandedTypeID, getExpandedTypeID, getFirstAttribute, getFirstChild, getFirstNamespaceNode, getLastChild, getLevel, getLexicalHandler, getLocalName, getLocalNameFromExpandedNameID, getNamespaceFromExpandedNameID, getNamespaceType, getNamespaceURI, getNextAttribute, getNextNamespaceNode, getNextNodeIdentity, getNextSibling, getNode, getNodeData, getNodeName, getNodeNameX, getNodeType, getNodeValue, getNumberOfNodes, getOwnerDocument, getParent, getPrefix, getPreviousSibling, getShouldStripWhitespace, getSourceLocatorFor, getStringValue, getStringValueChunk, getStringValueChunkCount, getTypedAxisIterator, getUnparsedEntityURI, hasChildNodes, indexNode, isAttributeSpecified, isCharacterElementContentWhitespace, isDocumentAllDeclarationsProcessed, isNodeAfter, isSupported, needsTwoThreads, popShouldStripWhitespace, pushShouldStripWhitespace, setDocumentBaseURI, setFeature, setProperty, setShouldStripWhitespace, supportsPreStripping
dumpDTM, dumpNode, getDocumentRoot, getDTMIDs, getFirstAttributeIdentity, getManager, getNextAttributeIdentity, getNodeHandle, getNodeIdent, getTypedAttribute, getTypedFirstChild, getTypedNextSibling, makeNodeHandle, makeNodeIdentity, migrateTo
public SQLDocument(DTMManager mgr, int ident)
mgr
- ident
- SQLException
public static SQLDocument getNewDocument(ExpressionContext exprContext)
protected void setExpressionContext(ExpressionContext expr)
public ExpressionContext getExpressionContext()
public void execute(XConnection xconn, SQLQueryParser query) throws SQLException
SQLException
public void skip(int value)
value
- protected void createExpandedNameTable()
createExpandedNameTable
in class DTMDocument
public boolean hasErrors()
public void close(boolean flushConnPool)
protected boolean nextNode()
DTMDefaultBase
nextNode
in class DTMDocument
protected int _nextsib(int identity)
DTMDefaultBase
_nextsib
in class DTMDocument
identity
- public void documentRegistration()
DTMDefaultBase
documentRegistration
in interface DTM
documentRegistration
in class DTMDefaultBase
public void documentRelease()
DTMDefaultBase
documentRelease
in interface DTM
documentRelease
in class DTMDefaultBase
public SQLWarning checkWarnings()
Copyright © 2018 JBoss by Red Hat. All rights reserved.