Class ExchangeRemoverMaterializer
java.lang.Object
org.apache.drill.exec.physical.base.AbstractPhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode,ExecutionSetupException>
org.apache.drill.exec.planner.fragment.contrib.ExchangeRemoverMaterializer
- All Implemented Interfaces:
PhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode, ExecutionSetupException>
public class ExchangeRemoverMaterializer
extends AbstractPhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode,ExecutionSetupException>
Materializer visitor to remove exchange(s)
NOTE: this Visitor does NOT set OperatorId, as after Exchange removal all operators need renumbering
Use OperatorIdVisitor on top to set correct OperatorId
-
Field Summary
FieldsFields inherited from interface org.apache.drill.exec.physical.base.PhysicalVisitor
logger -
Method Summary
Modifier and TypeMethodDescriptionvisitExchange(Exchange exchange, Materializer.IndexedFragmentNode iNode) visitGroupScan(GroupScan groupScan, Materializer.IndexedFragmentNode iNode) visitStore(Store store, Materializer.IndexedFragmentNode iNode) visitSubScan(SubScan subScan, Materializer.IndexedFragmentNode value) Methods inherited from class org.apache.drill.exec.physical.base.AbstractPhysicalVisitor
visitBroadcastSender, visitChildren, visitFilter, visitFlatten, visitHashAggregate, visitHashPartitionSender, visitHashPartitionSender, visitIteratorValidator, visitLateralJoin, visitLimit, visitMergingReceiver, visitOrderedPartitionSender, visitProducerConsumer, visitProject, visitRangePartitionSender, visitReceiver, visitRowKeyJoin, visitScreen, visitSender, visitSetOp, visitSingleSender, visitSort, visitStatisticsAggregate, visitStatisticsMerge, visitStreamingAggregate, visitTableModify, visitTrace, visitUnion, visitUnnest, visitUnorderedReceiver, visitUnpivot, visitValues, visitWindowFrame, visitWriter
-
Field Details
-
INSTANCE
-
-
Method Details
-
visitExchange
public PhysicalOperator visitExchange(Exchange exchange, Materializer.IndexedFragmentNode iNode) throws ExecutionSetupException - Specified by:
visitExchangein interfacePhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode, ExecutionSetupException> - Overrides:
visitExchangein classAbstractPhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode, ExecutionSetupException> - Throws:
ExecutionSetupException
-
visitGroupScan
public PhysicalOperator visitGroupScan(GroupScan groupScan, Materializer.IndexedFragmentNode iNode) throws ExecutionSetupException - Specified by:
visitGroupScanin interfacePhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode, ExecutionSetupException> - Overrides:
visitGroupScanin classAbstractPhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode, ExecutionSetupException> - Throws:
ExecutionSetupException
-
visitSubScan
public PhysicalOperator visitSubScan(SubScan subScan, Materializer.IndexedFragmentNode value) throws ExecutionSetupException - Specified by:
visitSubScanin interfacePhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode, ExecutionSetupException> - Overrides:
visitSubScanin classAbstractPhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode, ExecutionSetupException> - Throws:
ExecutionSetupException
-
visitStore
public PhysicalOperator visitStore(Store store, Materializer.IndexedFragmentNode iNode) throws ExecutionSetupException - Specified by:
visitStorein interfacePhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode, ExecutionSetupException> - Overrides:
visitStorein classAbstractPhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode, ExecutionSetupException> - Throws:
ExecutionSetupException
-
visitOp
public PhysicalOperator visitOp(PhysicalOperator op, Materializer.IndexedFragmentNode iNode) throws ExecutionSetupException - Specified by:
visitOpin interfacePhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode, ExecutionSetupException> - Overrides:
visitOpin classAbstractPhysicalVisitor<PhysicalOperator,Materializer.IndexedFragmentNode, ExecutionSetupException> - Throws:
ExecutionSetupException
-