public class ProjectNode extends SubqueryAwareRelationalNode
childCount
Modifier | Constructor and Description |
---|---|
protected |
ProjectNode() |
|
ProjectNode(int nodeID) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(RelationalNode child) |
Object |
clone()
All the implementation of Cloneable interface need to implement clone() method.
|
protected void |
copyTo(ProjectNode target) |
TupleBuffer |
getBufferDirect(int maxRows)
For subclasses to override if they wish to return a buffer rather than batches.
|
PlanNode |
getDescriptionProperties() |
protected void |
getNodeString(StringBuffer str) |
Collection<? extends LanguageObject> |
getObjects() |
List<? extends Expression> |
getSelectSymbols()
return List of select symbols
|
boolean |
hasBuffer()
Return true if the node provides a final buffer via getBuffer
|
TupleBatch |
nextBatchDirect()
Template method for subclasses to implement.
|
void |
reset() |
void |
setSelectSymbols(List<? extends Expression> symbols) |
closeDirect, getEvaluator, requiresTransaction, requiresTransaction, setReferenceValues
addBatchRow, close, copyTo, createLookupMap, getBatchSize, getBuffer, getBufferManager, getChildCount, getChildren, getClassName, getConnectionID, getContext, getDataManager, getElements, getEstimateNodeCardinality, getID, getNodeStatistics, getOutputElements, getParent, getProjectionIndexes, hasPendingRows, initialize, isBatchFull, isClosed, isLastBatch, nextBatch, nodeToString, open, projectTuple, projectTuple, pullBatch, setContext, setElements, setEstimateDepAccessCardinality, setEstimateDepJoinCost, setEstimateJoinCost, setEstimateNodeCardinality, setEstimateNodeSetSize, setID, setParent, terminateBatches, toString, unwrapException
public void reset()
reset
in class SubqueryAwareRelationalNode
public List<? extends Expression> getSelectSymbols()
public void setSelectSymbols(List<? extends Expression> symbols)
public void addChild(RelationalNode child)
addChild
in class RelationalNode
public TupleBatch nextBatchDirect() throws BlockedException, TeiidComponentException, TeiidProcessingException
RelationalNode
nextBatchDirect
in class RelationalNode
BlockedException
TeiidComponentException
TeiidProcessingException
- if exception related to user input occuredprotected void getNodeString(StringBuffer str)
getNodeString
in class RelationalNode
public Object clone()
RelationalNode
clone
in class RelationalNode
protected void copyTo(ProjectNode target)
public PlanNode getDescriptionProperties()
getDescriptionProperties
in class RelationalNode
public Collection<? extends LanguageObject> getObjects()
getObjects
in class SubqueryAwareRelationalNode
public boolean hasBuffer()
RelationalNode
hasBuffer
in interface BatchCollector.BatchProducer
hasBuffer
in class RelationalNode
public TupleBuffer getBufferDirect(int maxRows) throws BlockedException, TeiidComponentException, TeiidProcessingException
RelationalNode
getBufferDirect
in class RelationalNode
BlockedException
TeiidComponentException
TeiidProcessingException
Copyright © 2019. All rights reserved.