Class MultiStageOperator
- java.lang.Object
-
- org.apache.pinot.query.runtime.operator.MultiStageOperator
-
- All Implemented Interfaces:
AutoCloseable,Operator<TransferableBlock>
- Direct Known Subclasses:
AggregateOperator,BaseMailboxReceiveOperator,FilterOperator,HashJoinOperator,LeafStageTransferableBlockOperator,LiteralValueOperator,MailboxSendOperator,SetOperator,SortOperator,TransformOperator,WindowAggregateOperator
public abstract class MultiStageOperator extends Object implements Operator<TransferableBlock>, AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected OpChainExecutionContext_contextprotected OpChainStats_opChainStatsprotected String_operatorId
-
Constructor Summary
Constructors Constructor Description MultiStageOperator(OpChainExecutionContext context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcancel(Throwable e)voidclose()List<MultiStageOperator>getChildOperators()protected abstract TransferableBlockgetNextBlock()StringgetOperatorId()TransferableBlocknextBlock()protected booleanshouldCollectStats()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.pinot.core.common.Operator
explainPlan, getExecutionStatistics, getIndexSegment, prepareForExplainPlan, toExplainString
-
-
-
-
Field Detail
-
_context
protected final OpChainExecutionContext _context
-
_operatorId
protected final String _operatorId
-
_opChainStats
protected final OpChainStats _opChainStats
-
-
Constructor Detail
-
MultiStageOperator
public MultiStageOperator(OpChainExecutionContext context)
-
-
Method Detail
-
nextBlock
public TransferableBlock nextBlock()
- Specified by:
nextBlockin interfaceOperator<TransferableBlock>
-
getOperatorId
public String getOperatorId()
-
getNextBlock
protected abstract TransferableBlock getNextBlock()
-
shouldCollectStats
protected boolean shouldCollectStats()
-
getChildOperators
public List<MultiStageOperator> getChildOperators()
- Specified by:
getChildOperatorsin interfaceOperator<TransferableBlock>
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
cancel
public void cancel(Throwable e)
-
-