Class ExcessiveExchangeIdentifier
java.lang.Object
org.apache.drill.exec.planner.physical.visitor.BasePrelVisitor<Prel,org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat,RuntimeException>
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier
- All Implemented Interfaces:
PrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException>
public class ExcessiveExchangeIdentifier
extends BasePrelVisitor<Prel,org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat,RuntimeException>
-
Field Summary
Fields inherited from interface org.apache.drill.exec.planner.physical.visitor.PrelVisitor
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat
static Prel
removeExcessiveExchanges
(Prel prel, long targetSliceSize) visitExchange
(ExchangePrel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat parent) visitLateral
(LateralJoinPrel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) visitPrel
(Prel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) visitScan
(ScanPrel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) visitScreen
(ScreenPrel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) visitUnnest
(UnnestPrel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) Methods inherited from class org.apache.drill.exec.planner.physical.visitor.BasePrelVisitor
visitJoin, visitLeaf, visitProject, visitScan, visitTableModify, visitWriter
-
Constructor Details
-
ExcessiveExchangeIdentifier
public ExcessiveExchangeIdentifier(long targetSliceSize)
-
-
Method Details
-
removeExcessiveExchanges
-
visitExchange
public Prel visitExchange(ExchangePrel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat parent) throws RuntimeException - Specified by:
visitExchange
in interfacePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Overrides:
visitExchange
in classBasePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Throws:
RuntimeException
-
visitScreen
public Prel visitScreen(ScreenPrel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) throws RuntimeException - Specified by:
visitScreen
in interfacePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Overrides:
visitScreen
in classBasePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Throws:
RuntimeException
-
visitScan
public Prel visitScan(ScanPrel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) throws RuntimeException - Specified by:
visitScan
in interfacePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Overrides:
visitScan
in classBasePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Throws:
RuntimeException
-
visitLateral
public Prel visitLateral(LateralJoinPrel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) throws RuntimeException - Specified by:
visitLateral
in interfacePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Overrides:
visitLateral
in classBasePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Throws:
RuntimeException
-
visitUnnest
public Prel visitUnnest(UnnestPrel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) throws RuntimeException - Specified by:
visitUnnest
in interfacePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Overrides:
visitUnnest
in classBasePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Throws:
RuntimeException
-
visitPrel
public Prel visitPrel(Prel prel, org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) throws RuntimeException - Specified by:
visitPrel
in interfacePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Overrides:
visitPrel
in classBasePrelVisitor<Prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat, RuntimeException> - Throws:
RuntimeException
-
getNewStat
public org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat getNewStat()
-