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, setReferenceValuesaddBatchRow, 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, unwrapExceptionpublic void reset()
reset in class SubqueryAwareRelationalNodepublic List<? extends Expression> getSelectSymbols()
public void setSelectSymbols(List<? extends Expression> symbols)
public void addChild(RelationalNode child)
addChild in class RelationalNodepublic TupleBatch nextBatchDirect() throws BlockedException, TeiidComponentException, TeiidProcessingException
RelationalNodenextBatchDirect in class RelationalNodeBlockedExceptionTeiidComponentExceptionTeiidProcessingException - if exception related to user input occuredprotected void getNodeString(StringBuffer str)
getNodeString in class RelationalNodepublic Object clone()
RelationalNodeclone in class RelationalNodeprotected void copyTo(ProjectNode target)
public PlanNode getDescriptionProperties()
getDescriptionProperties in class RelationalNodepublic Collection<? extends LanguageObject> getObjects()
getObjects in class SubqueryAwareRelationalNodepublic boolean hasBuffer()
RelationalNodehasBuffer in interface BatchCollector.BatchProducerhasBuffer in class RelationalNodepublic TupleBuffer getBufferDirect(int maxRows) throws BlockedException, TeiidComponentException, TeiidProcessingException
RelationalNodegetBufferDirect in class RelationalNodeBlockedExceptionTeiidComponentExceptionTeiidProcessingExceptionCopyright © 2019. All rights reserved.