public abstract class DrillLateralJoinRelBase extends org.apache.calcite.rel.core.Correlate implements DrillRelNode
Modifier and Type | Field and Description |
---|---|
boolean |
excludeCorrelateColumn |
static String |
IMPLICIT_COLUMN |
Constructor and Description |
---|
DrillLateralJoinRelBase(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
boolean excludeCorrelateCol,
org.apache.calcite.rel.core.CorrelationId correlationId,
org.apache.calcite.util.ImmutableBitSet requiredColumns,
org.apache.calcite.rel.core.JoinRelType semiJoinType) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.plan.RelOptCost |
computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
org.apache.calcite.rel.type.RelDataType |
constructRowType(org.apache.calcite.rel.type.RelDataType inputRowType) |
protected org.apache.calcite.rel.type.RelDataType |
deriveRowType() |
double |
estimateRowCount(org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
int |
getInputSize(int ordinal)
Returns number of fields in
RelDataType for
input rel node with specified ordinal considering value of
excludeCorrelateColumn . |
org.apache.calcite.rel.type.RelDataType |
removeImplicitField(org.apache.calcite.rel.type.RelDataType inputRowType) |
copy, copy, explainTerms, getCorrelationId, getCorrelVariable, getJoinType, getRequiredColumns, getVariablesSet, isValid
childrenAccept, getInputs, getLeft, getRight, replaceInput
accept, accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, equals, explain, getChildExps, getCluster, getCollationList, getConvention, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesStopped, hashCode, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept, 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, replaceInput
public static final String IMPLICIT_COLUMN
public final boolean excludeCorrelateColumn
public DrillLateralJoinRelBase(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traits, org.apache.calcite.rel.RelNode left, org.apache.calcite.rel.RelNode right, boolean excludeCorrelateCol, org.apache.calcite.rel.core.CorrelationId correlationId, org.apache.calcite.util.ImmutableBitSet requiredColumns, org.apache.calcite.rel.core.JoinRelType semiJoinType)
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.RelNode
computeSelfCost
in class org.apache.calcite.rel.core.Correlate
protected org.apache.calcite.rel.type.RelDataType deriveRowType()
deriveRowType
in class org.apache.calcite.rel.core.Correlate
public int getInputSize(int ordinal)
RelDataType
for
input rel node with specified ordinal considering value of
excludeCorrelateColumn
.ordinal
- ordinal of input rel nodeRelDataType
public org.apache.calcite.rel.type.RelDataType constructRowType(org.apache.calcite.rel.type.RelDataType inputRowType)
public org.apache.calcite.rel.type.RelDataType removeImplicitField(org.apache.calcite.rel.type.RelDataType inputRowType)
public double estimateRowCount(org.apache.calcite.rel.metadata.RelMetadataQuery mq)
estimateRowCount
in interface org.apache.calcite.rel.RelNode
estimateRowCount
in class org.apache.calcite.rel.AbstractRelNode
Copyright © 1970 The Apache Software Foundation. All rights reserved.