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,org.teiid.query.processor.BatchCollector.BatchProducer
public class SaxonXMLTableNode extends org.teiid.query.processor.relational.SubqueryAwareRelationalNodeHandles xml table processing. When streaming the results will be fully built and stored in a buffer before being returned
-
-
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()org.teiid.client.plan.PlanNodegetDescriptionProperties()Collection<? extends org.teiid.query.sql.LanguageObject>getObjects()static ObjectgetValue(Class<?> type, net.sf.saxon.om.Item colItem, net.sf.saxon.Configuration config, org.teiid.query.util.CommandContext context)protected org.teiid.common.buffer.TupleBatchnextBatchDirect()voidopen()voidprocessRow(net.sf.saxon.om.NodeInfo row)voidreset()voidsetProjectedColumns(List<org.teiid.query.sql.lang.XMLTable.XMLColumn> projectedColumns)voidsetTable(org.teiid.query.sql.lang.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 classorg.teiid.query.processor.relational.SubqueryAwareRelationalNode
-
reset
public void reset()
- Overrides:
resetin classorg.teiid.query.processor.relational.SubqueryAwareRelationalNode
-
setTable
public void setTable(org.teiid.query.sql.lang.XMLTable table)
-
setProjectedColumns
public void setProjectedColumns(List<org.teiid.query.sql.lang.XMLTable.XMLColumn> projectedColumns)
-
clone
public SaxonXMLTableNode clone()
- Specified by:
clonein classorg.teiid.query.processor.relational.RelationalNode
-
open
public void open() throws org.teiid.core.TeiidComponentException, org.teiid.core.TeiidProcessingException- Overrides:
openin classorg.teiid.query.processor.relational.RelationalNode- Throws:
org.teiid.core.TeiidComponentExceptionorg.teiid.core.TeiidProcessingException
-
nextBatchDirect
protected org.teiid.common.buffer.TupleBatch nextBatchDirect() throws org.teiid.common.buffer.BlockedException, org.teiid.core.TeiidComponentException, org.teiid.core.TeiidProcessingException- Specified by:
nextBatchDirectin classorg.teiid.query.processor.relational.RelationalNode- Throws:
org.teiid.common.buffer.BlockedExceptionorg.teiid.core.TeiidComponentExceptionorg.teiid.core.TeiidProcessingException
-
getValue
public static Object getValue(Class<?> type, net.sf.saxon.om.Item colItem, net.sf.saxon.Configuration config, org.teiid.query.util.CommandContext context) throws net.sf.saxon.trans.XPathException, net.sf.saxon.type.ValidationException, org.teiid.core.types.TransformationException
- Throws:
net.sf.saxon.trans.XPathExceptionnet.sf.saxon.type.ValidationExceptionorg.teiid.core.types.TransformationException
-
processRow
public void processRow(net.sf.saxon.om.NodeInfo row)
-
getObjects
public Collection<? extends org.teiid.query.sql.LanguageObject> getObjects()
- Specified by:
getObjectsin classorg.teiid.query.processor.relational.SubqueryAwareRelationalNode
-
getDescriptionProperties
public org.teiid.client.plan.PlanNode getDescriptionProperties()
- Overrides:
getDescriptionPropertiesin classorg.teiid.query.processor.relational.RelationalNode
-
-