Package org.teiid.xquery.saxon
Class SaxonXMLTableNode
- java.lang.Object
-
- org.teiid.query.processor.relational.RelationalNode
-
- org.teiid.query.processor.relational.SubqueryAwareRelationalNode
-
- org.teiid.xquery.saxon.SaxonXMLTableNode
-
- All Implemented Interfaces:
Cloneable,BatchCollector.BatchProducer
public class SaxonXMLTableNode extends SubqueryAwareRelationalNode
Handles xml table processing. When streaming the results will be fully built and stored in a buffer before being returned
-
-
Field Summary
-
Fields inherited from class org.teiid.query.processor.relational.RelationalNode
childCount
-
-
Constructor Summary
Constructors Constructor Description SaxonXMLTableNode(int nodeID)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SaxonXMLTableNodeclone()voidcloseDirect()PlanNodegetDescriptionProperties()Collection<? extends LanguageObject>getObjects()static ObjectgetValue(Class<?> type, net.sf.saxon.om.Item colItem, net.sf.saxon.Configuration config, CommandContext context)protected TupleBatchnextBatchDirect()voidopen()voidprocessRow(net.sf.saxon.om.NodeInfo row)voidreset()voidsetProjectedColumns(List<XMLTable.XMLColumn> projectedColumns)voidsetTable(XMLTable table)-
Methods inherited from class org.teiid.query.processor.relational.SubqueryAwareRelationalNode
getEvaluator, requiresTransaction, requiresTransaction, setReferenceValues
-
Methods inherited from class org.teiid.query.processor.relational.RelationalNode
addBatchRow, addChild, close, copyTo, createLookupMap, getBatchSize, getBuffer, getBufferDirect, getBufferManager, getChildCount, getChildren, getClassName, getConnectionID, getContext, getDataManager, getElements, getEstimateNodeCardinality, getID, getNodeStatistics, getNodeString, getOutputElements, getParent, getProjectionIndexes, hasBuffer, hasPendingRows, initialize, isBatchFull, isClosed, isLastBatch, nextBatch, nodeToString, projectTuple, projectTuple, pullBatch, setContext, setElements, setEstimateDepAccessCardinality, setEstimateDepJoinCost, setEstimateJoinCost, setEstimateNodeCardinality, setEstimateNodeSetSize, setID, setParent, terminateBatches, toString, unwrapException
-
-
-
-
Method Detail
-
closeDirect
public void closeDirect()
- Overrides:
closeDirectin classSubqueryAwareRelationalNode
-
reset
public void reset()
- Overrides:
resetin classSubqueryAwareRelationalNode
-
setTable
public void setTable(XMLTable table)
-
setProjectedColumns
public void setProjectedColumns(List<XMLTable.XMLColumn> projectedColumns)
-
clone
public SaxonXMLTableNode clone()
- Specified by:
clonein classRelationalNode
-
open
public void open() throws TeiidComponentException, TeiidProcessingException- Overrides:
openin classRelationalNode- Throws:
TeiidComponentExceptionTeiidProcessingException
-
nextBatchDirect
protected TupleBatch nextBatchDirect() throws BlockedException, TeiidComponentException, TeiidProcessingException
- Specified by:
nextBatchDirectin classRelationalNode- Throws:
BlockedExceptionTeiidComponentExceptionTeiidProcessingException
-
getValue
public static Object getValue(Class<?> type, net.sf.saxon.om.Item colItem, net.sf.saxon.Configuration config, CommandContext context) throws net.sf.saxon.trans.XPathException, net.sf.saxon.type.ValidationException, TransformationException
- Throws:
net.sf.saxon.trans.XPathExceptionnet.sf.saxon.type.ValidationExceptionTransformationException
-
processRow
public void processRow(net.sf.saxon.om.NodeInfo row)
-
getObjects
public Collection<? extends LanguageObject> getObjects()
- Specified by:
getObjectsin classSubqueryAwareRelationalNode
-
getDescriptionProperties
public PlanNode getDescriptionProperties()
- Overrides:
getDescriptionPropertiesin classRelationalNode
-
-