public class GroupingNode extends SubqueryAwareRelationalNode
childCount| Constructor and Description |
|---|
GroupingNode(int nodeID) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
All the implementation of Cloneable interface need to implement clone() method.
|
void |
closeDirect() |
protected void |
closeGroup(int colDiff,
boolean reset,
CommandContext context) |
PlanNode |
getDescriptionProperties() |
TupleSource |
getGroupSortTupleSource() |
protected void |
getNodeString(StringBuffer str) |
Collection<? extends LanguageObject> |
getObjects() |
void |
initialize(CommandContext context,
BufferManager bufferManager,
ProcessorDataManager dataMgr) |
TupleBatch |
nextBatchDirect()
Template method for subclasses to implement.
|
void |
reset() |
static int |
sameGroup(int[] indexes,
List<?> newTuple,
List<?> oldTuple) |
void |
setOrderBy(List<OrderByItem> orderBy) |
void |
setOutputMapping(SymbolMap outputMapping) |
void |
setRemoveDuplicates(boolean removeDuplicates) |
void |
setRollup(boolean rollup) |
getEvaluator, requiresTransaction, requiresTransaction, setReferenceValuesaddBatchRow, addChild, close, copyTo, createLookupMap, getBatchSize, getBuffer, getBufferDirect, getBufferManager, getChildCount, getChildren, getClassName, getConnectionID, getContext, getDataManager, getElements, getEstimateNodeCardinality, getID, getNodeStatistics, getOutputElements, getParent, getProjectionIndexes, hasBuffer, hasPendingRows, 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 void setRemoveDuplicates(boolean removeDuplicates)
public void setOrderBy(List<OrderByItem> orderBy)
public void setOutputMapping(SymbolMap outputMapping)
public void initialize(CommandContext context, BufferManager bufferManager, ProcessorDataManager dataMgr)
initialize in class RelationalNodepublic TupleBatch nextBatchDirect() throws BlockedException, TeiidComponentException, TeiidProcessingException
RelationalNodenextBatchDirect in class RelationalNodeBlockedExceptionTeiidComponentExceptionTeiidProcessingException - if exception related to user input occuredpublic TupleSource getGroupSortTupleSource()
public Collection<? extends LanguageObject> getObjects()
getObjects in class SubqueryAwareRelationalNodeprotected void closeGroup(int colDiff,
boolean reset,
CommandContext context)
throws FunctionExecutionException,
ExpressionEvaluationException,
TeiidComponentException,
TeiidProcessingException
public void closeDirect()
closeDirect in class SubqueryAwareRelationalNodeprotected void getNodeString(StringBuffer str)
getNodeString in class RelationalNodepublic Object clone()
RelationalNodeclone in class RelationalNodepublic PlanNode getDescriptionProperties()
getDescriptionProperties in class RelationalNodepublic void setRollup(boolean rollup)
Copyright © 2019. All rights reserved.