public abstract class JoinPruleBase extends Prule
| Modifier and Type | Class and Description |
|---|---|
protected static class |
JoinPruleBase.PhysicalJoinType |
| Modifier | Constructor and Description |
|---|---|
protected |
JoinPruleBase(org.apache.calcite.plan.RelOptRuleOperand operand,
String description) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkBroadcastConditions(org.apache.calcite.plan.RelOptPlanner planner,
DrillJoin join,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right) |
protected boolean |
checkPreconditions(DrillJoin join,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
PlannerSettings settings) |
protected void |
createBroadcastPlan(org.apache.calcite.plan.RelOptRuleCall call,
DrillJoin join,
org.apache.calcite.rex.RexNode joinCondition,
JoinPruleBase.PhysicalJoinType physicalJoinType,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
org.apache.calcite.rel.RelCollation collationLeft,
org.apache.calcite.rel.RelCollation collationRight) |
protected void |
createDistBothPlan(org.apache.calcite.plan.RelOptRuleCall call,
DrillJoin join,
JoinPruleBase.PhysicalJoinType physicalJoinType,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
org.apache.calcite.rel.RelCollation collationLeft,
org.apache.calcite.rel.RelCollation collationRight,
boolean hashSingleKey) |
protected void |
createRangePartitionRightPlan(org.apache.calcite.plan.RelOptRuleCall call,
RowKeyJoinRel join,
JoinPruleBase.PhysicalJoinType physicalJoinType,
boolean implementAsRowKeyJoin,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
org.apache.calcite.rel.RelCollation collationLeft,
org.apache.calcite.rel.RelCollation collationRight) |
protected List<DrillDistributionTrait.DistributionField> |
getDistributionField(List<Integer> keys) |
convert, isSingleModeany, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, onMatch, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unorderedprotected JoinPruleBase(org.apache.calcite.plan.RelOptRuleOperand operand,
String description)
protected boolean checkPreconditions(DrillJoin join, org.apache.calcite.rel.RelNode left, org.apache.calcite.rel.RelNode right, PlannerSettings settings)
protected List<DrillDistributionTrait.DistributionField> getDistributionField(List<Integer> keys)
protected boolean checkBroadcastConditions(org.apache.calcite.plan.RelOptPlanner planner,
DrillJoin join,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right)
protected void createRangePartitionRightPlan(org.apache.calcite.plan.RelOptRuleCall call,
RowKeyJoinRel join,
JoinPruleBase.PhysicalJoinType physicalJoinType,
boolean implementAsRowKeyJoin,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
org.apache.calcite.rel.RelCollation collationLeft,
org.apache.calcite.rel.RelCollation collationRight)
throws org.apache.calcite.rel.InvalidRelException
org.apache.calcite.rel.InvalidRelExceptionprotected void createDistBothPlan(org.apache.calcite.plan.RelOptRuleCall call,
DrillJoin join,
JoinPruleBase.PhysicalJoinType physicalJoinType,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
org.apache.calcite.rel.RelCollation collationLeft,
org.apache.calcite.rel.RelCollation collationRight,
boolean hashSingleKey)
throws org.apache.calcite.rel.InvalidRelException
org.apache.calcite.rel.InvalidRelExceptionprotected void createBroadcastPlan(org.apache.calcite.plan.RelOptRuleCall call,
DrillJoin join,
org.apache.calcite.rex.RexNode joinCondition,
JoinPruleBase.PhysicalJoinType physicalJoinType,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
org.apache.calcite.rel.RelCollation collationLeft,
org.apache.calcite.rel.RelCollation collationRight)
throws org.apache.calcite.rel.InvalidRelException
org.apache.calcite.rel.InvalidRelExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.