Class StatsCollector
java.lang.Object
org.apache.drill.exec.physical.base.AbstractPhysicalVisitor<RET,Wrapper,EXCEP>
org.apache.drill.exec.planner.AbstractOpWrapperVisitor<Void,RuntimeException>
org.apache.drill.exec.planner.fragment.StatsCollector
- All Implemented Interfaces:
PhysicalVisitor<Void,
Wrapper, RuntimeException>
Visitor to collect stats such as cost and parallelization info of operators within a fragment.
All operators have cost associated with them, but only few type of operators such as scan,
store and exchanges (both sending and receiving) have parallelization info associated with them.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvisitGroupScan
(GroupScan groupScan, Wrapper wrapper) visitOp
(PhysicalOperator op, Wrapper wrapper) visitReceivingExchange
(Exchange exchange, Wrapper wrapper) visitSendingExchange
(Exchange exchange, Wrapper wrapper) visitStore
(Store store, Wrapper wrapper) Methods inherited from class org.apache.drill.exec.planner.AbstractOpWrapperVisitor
visitExchange
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, visitSubScan, visitTableModify, visitTrace, visitUnion, visitUnnest, visitUnorderedReceiver, visitUnpivot, visitValues, visitWindowFrame, visitWriter
-
Constructor Details
-
StatsCollector
-
-
Method Details
-
visitSendingExchange
- Overrides:
visitSendingExchange
in classAbstractOpWrapperVisitor<Void,
RuntimeException> - Throws:
RuntimeException
-
visitReceivingExchange
- Overrides:
visitReceivingExchange
in classAbstractOpWrapperVisitor<Void,
RuntimeException> - Throws:
RuntimeException
-
visitGroupScan
- Specified by:
visitGroupScan
in interfacePhysicalVisitor<Void,
Wrapper, RuntimeException> - Overrides:
visitGroupScan
in classAbstractPhysicalVisitor<Void,
Wrapper, RuntimeException>
-
visitStore
- Specified by:
visitStore
in interfacePhysicalVisitor<Void,
Wrapper, RuntimeException> - Overrides:
visitStore
in classAbstractPhysicalVisitor<Void,
Wrapper, RuntimeException>
-
visitOp
- Specified by:
visitOp
in interfacePhysicalVisitor<Void,
Wrapper, RuntimeException> - Overrides:
visitOp
in classAbstractPhysicalVisitor<Void,
Wrapper, RuntimeException>
-