Class NullNode
- java.lang.Object
-
- org.teiid.query.processor.relational.RelationalNode
-
- org.teiid.query.processor.relational.NullNode
-
- All Implemented Interfaces:
Cloneable
,BatchCollector.BatchProducer
public class NullNode extends RelationalNode
-
-
Field Summary
-
Fields inherited from class org.teiid.query.processor.relational.RelationalNode
childCount
-
-
Constructor Summary
Constructors Constructor Description NullNode(int nodeID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
All the implementation of Cloneable interface need to implement clone() method.List
getOutputElements()
Get list of resolved elements describing output columns for this plan.TupleBatch
nextBatchDirect()
Template method for subclasses to implement.-
Methods inherited from class org.teiid.query.processor.relational.RelationalNode
addBatchRow, addChild, close, closeDirect, copyTo, createLookupMap, getBatchSize, getBuffer, getBufferDirect, getBufferManager, getChildCount, getChildren, getClassName, getConnectionID, getContext, getDataManager, getDescriptionProperties, getElements, getEstimateNodeCardinality, getID, getNodeStatistics, getNodeString, getParent, getProjectionIndexes, hasBuffer, hasPendingRows, initialize, isBatchFull, isClosed, isLastBatch, nextBatch, nodeToString, open, projectTuple, projectTuple, pullBatch, requiresTransaction, reset, setContext, setElements, setEstimateDepAccessCardinality, setEstimateDepJoinCost, setEstimateJoinCost, setEstimateNodeCardinality, setEstimateNodeSetSize, setID, setParent, terminateBatches, toString, unwrapException
-
-
-
-
Method Detail
-
nextBatchDirect
public TupleBatch nextBatchDirect() throws TeiidComponentException
Description copied from class:RelationalNode
Template method for subclasses to implement.- Specified by:
nextBatchDirect
in classRelationalNode
- Returns:
- Throws:
BlockedException
TeiidComponentException
-
getOutputElements
public List getOutputElements()
Description copied from interface:BatchCollector.BatchProducer
Get list of resolved elements describing output columns for this plan.- Specified by:
getOutputElements
in interfaceBatchCollector.BatchProducer
- Overrides:
getOutputElements
in classRelationalNode
- Returns:
- List of SingleElementSymbol
-
clone
public Object clone()
Description copied from class:RelationalNode
All the implementation of Cloneable interface need to implement clone() method. The plan is only clonable in the pre-execution stage, not the execution state (things like program state, result sets, etc). It's only safe to call that method in between query processings, in other words, it's only safe to call clone() on a plan after nextTuple() returns null, meaning the plan has finished processing.- Specified by:
clone
in classRelationalNode
-
-