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, setReferenceValues
addBatchRow, 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, unwrapException
public void reset()
reset
in class SubqueryAwareRelationalNode
public 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 RelationalNode
public TupleBatch nextBatchDirect() throws BlockedException, TeiidComponentException, TeiidProcessingException
RelationalNode
nextBatchDirect
in class RelationalNode
BlockedException
TeiidComponentException
TeiidProcessingException
- if exception related to user input occuredpublic TupleSource getGroupSortTupleSource()
public Collection<? extends LanguageObject> getObjects()
getObjects
in class SubqueryAwareRelationalNode
protected void closeGroup(int colDiff, boolean reset, CommandContext context) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException, TeiidProcessingException
public void closeDirect()
closeDirect
in class SubqueryAwareRelationalNode
protected void getNodeString(StringBuffer str)
getNodeString
in class RelationalNode
public Object clone()
RelationalNode
clone
in class RelationalNode
public PlanNode getDescriptionProperties()
getDescriptionProperties
in class RelationalNode
public void setRollup(boolean rollup)
Copyright © 2019. All rights reserved.