Class OperatorIdVisitor
java.lang.Object
org.apache.drill.exec.physical.base.AbstractPhysicalVisitor<PhysicalOperator,Integer,ExecutionSetupException>
org.apache.drill.exec.planner.fragment.contrib.OperatorIdVisitor
- All Implemented Interfaces:
PhysicalVisitor<PhysicalOperator,
Integer, ExecutionSetupException>
public class OperatorIdVisitor
extends AbstractPhysicalVisitor<PhysicalOperator,Integer,ExecutionSetupException>
Visitor to renumber operators - needed after materialization is done as some operators may be removed
using @ExtendedMaterializerVisitor
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvisitOp
(PhysicalOperator op, Integer parentOpId) visitSubScan
(SubScan subScan, Integer parentOpId) Methods inherited from class org.apache.drill.exec.physical.base.AbstractPhysicalVisitor
visitBroadcastSender, visitChildren, visitExchange, visitFilter, visitFlatten, visitGroupScan, visitHashAggregate, visitHashPartitionSender, visitHashPartitionSender, visitIteratorValidator, visitLateralJoin, visitLimit, visitMergingReceiver, visitOrderedPartitionSender, visitProducerConsumer, visitProject, visitRangePartitionSender, visitReceiver, visitRowKeyJoin, visitScreen, visitSender, visitSetOp, visitSingleSender, visitSort, visitStatisticsAggregate, visitStatisticsMerge, visitStore, visitStreamingAggregate, visitTableModify, visitTrace, visitUnion, visitUnnest, visitUnorderedReceiver, visitUnpivot, visitValues, visitWindowFrame, visitWriter
-
Field Details
-
INSTANCE
-
-
Method Details
-
visitSubScan
public PhysicalOperator visitSubScan(SubScan subScan, Integer parentOpId) throws ExecutionSetupException - Specified by:
visitSubScan
in interfacePhysicalVisitor<PhysicalOperator,
Integer, ExecutionSetupException> - Overrides:
visitSubScan
in classAbstractPhysicalVisitor<PhysicalOperator,
Integer, ExecutionSetupException> - Throws:
ExecutionSetupException
-
visitOp
public PhysicalOperator visitOp(PhysicalOperator op, Integer parentOpId) throws ExecutionSetupException - Specified by:
visitOp
in interfacePhysicalVisitor<PhysicalOperator,
Integer, ExecutionSetupException> - Overrides:
visitOp
in classAbstractPhysicalVisitor<PhysicalOperator,
Integer, ExecutionSetupException> - Throws:
ExecutionSetupException
-