public abstract class DrillJoinRelBase extends org.apache.calcite.rel.core.Join implements DrillJoin
| Modifier and Type | Field and Description |
|---|---|
protected List<Boolean> |
filterNulls
The join key positions for which null values will not match.
|
protected List<Integer> |
leftKeys |
protected List<Integer> |
rightKeys |
| Constructor and Description |
|---|
DrillJoinRelBase(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.core.JoinRelType joinType) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.calcite.plan.RelOptCost |
computeCartesianJoinCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
protected org.apache.calcite.plan.RelOptCost |
computeHashJoinCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
static org.apache.calcite.plan.RelOptCost |
computeHashJoinCostWithRowCntKeySize(org.apache.calcite.plan.RelOptPlanner planner,
double probeRowCount,
double buildRowCount,
int keySize) |
protected org.apache.calcite.plan.RelOptCost |
computeLogicalJoinCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
org.apache.calcite.plan.RelOptCost |
computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
double |
estimateRowCount(org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
List<Integer> |
getLeftKeys() |
List<Integer> |
getRightKeys() |
static <T> boolean |
isUnique(List<T> list) |
static boolean |
uniqueFieldNames(org.apache.calcite.rel.type.RelDataType rowType) |
accept, analyzeCondition, copy, copy, createJoinType, deriveJoinRowType, deriveRowType, estimateJoinedRows, explainTerms, getChildExps, getCondition, getJoinType, getSystemFieldList, getVariablesSet, isSemiJoin, isSemiJoinDone, isValidchildrenAccept, getInputs, getLeft, getRight, replaceInputaccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, equals, explain, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesStopped, hashCode, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCondition, getJoinType, getLeft, getRight, isSemiJoinaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInputpublic DrillJoinRelBase(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.core.JoinRelType joinType)
public org.apache.calcite.plan.RelOptCost computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq)
computeSelfCost in interface org.apache.calcite.rel.RelNodecomputeSelfCost in class org.apache.calcite.rel.core.Joinpublic double estimateRowCount(org.apache.calcite.rel.metadata.RelMetadataQuery mq)
estimateRowCount in interface org.apache.calcite.rel.RelNodeestimateRowCount in class org.apache.calcite.rel.core.Joinpublic static boolean uniqueFieldNames(org.apache.calcite.rel.type.RelDataType rowType)
public static <T> boolean isUnique(List<T> list)
public List<Integer> getLeftKeys()
getLeftKeys in interface DrillJoinpublic List<Integer> getRightKeys()
getRightKeys in interface DrillJoinprotected org.apache.calcite.plan.RelOptCost computeCartesianJoinCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq)
protected org.apache.calcite.plan.RelOptCost computeLogicalJoinCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq)
protected org.apache.calcite.plan.RelOptCost computeHashJoinCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq)
public static org.apache.calcite.plan.RelOptCost computeHashJoinCostWithRowCntKeySize(org.apache.calcite.plan.RelOptPlanner planner,
double probeRowCount,
double buildRowCount,
int keySize)
Copyright © 2021 The Apache Software Foundation. All rights reserved.