public abstract class Union extends SetOp
Temporarily copy from calcite to cherry-pick [CALCITE-5107] and will be removed when upgrade the latest calcite.
Corresponds to SQL UNION
and UNION ALL
.
Modifier | Constructor and Description |
---|---|
protected |
Union(org.apache.calcite.rel.RelInput input)
Creates a Union by parsing serialized output.
|
protected |
Union(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
List<org.apache.calcite.rel.hint.RelHint> hints,
List<org.apache.calcite.rel.RelNode> inputs,
boolean all) |
protected |
Union(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
List<org.apache.calcite.rel.RelNode> inputs,
boolean all) |
Modifier and Type | Method and Description |
---|---|
double |
estimateRowCount(org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
static double |
estimateRowCount(org.apache.calcite.rel.RelNode rel)
Deprecated.
|
copy, copy, deriveRowType, explainTerms, getHints, getInputs, isHomogeneous, replaceInput
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
protected Union(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traits, List<org.apache.calcite.rel.hint.RelHint> hints, List<org.apache.calcite.rel.RelNode> inputs, boolean all)
protected Union(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traits, List<org.apache.calcite.rel.RelNode> inputs, boolean all)
protected Union(org.apache.calcite.rel.RelInput input)
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
@Deprecated public static double estimateRowCount(org.apache.calcite.rel.RelNode rel)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.