Class DetermineJoinDistributionType
- java.lang.Object
-
- io.prestosql.sql.planner.iterative.rule.DetermineJoinDistributionType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.prestosql.sql.planner.iterative.Rule
Rule.Context, Rule.Result
-
-
Constructor Summary
Constructors Constructor Description DetermineJoinDistributionType(CostComparator costComparator, TaskCountEstimator taskCountEstimator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Rule.Result
apply(JoinNode joinNode, Captures captures, Rule.Context context)
static boolean
canReplicate(JoinNode joinNode, Rule.Context context)
Pattern<JoinNode>
getPattern()
Returns a pattern to which plan nodes this rule applies.static double
getSourceTablesSizeInBytes(PlanNode node, Rule.Context context)
-
-
-
Constructor Detail
-
DetermineJoinDistributionType
public DetermineJoinDistributionType(CostComparator costComparator, TaskCountEstimator taskCountEstimator)
-
-
Method Detail
-
getPattern
public Pattern<JoinNode> getPattern()
Description copied from interface:Rule
Returns a pattern to which plan nodes this rule applies.- Specified by:
getPattern
in interfaceRule<JoinNode>
-
apply
public Rule.Result apply(JoinNode joinNode, Captures captures, Rule.Context context)
-
canReplicate
public static boolean canReplicate(JoinNode joinNode, Rule.Context context)
-
getSourceTablesSizeInBytes
public static double getSourceTablesSizeInBytes(PlanNode node, Rule.Context context)
-
-