Package org.apache.calcite.rel.logical
Class LogicalUnion
- java.lang.Object
-
- org.apache.calcite.rel.AbstractRelNode
-
- org.apache.calcite.rel.core.SetOp
-
- org.apache.calcite.rel.core.Union
-
- org.apache.calcite.rel.logical.LogicalUnion
-
- All Implemented Interfaces:
java.lang.Cloneable
,RelOptNode
,RelNode
public final class LogicalUnion extends Union
Sub-class ofUnion
not targeted at any particular engine or calling convention.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode
RelNode.Context
-
-
Constructor Summary
Constructors Constructor Description LogicalUnion(RelOptCluster cluster, java.util.List<RelNode> inputs, boolean all)
Deprecated.LogicalUnion(RelOptCluster cluster, RelTraitSet traitSet, java.util.List<RelNode> inputs, boolean all)
Creates a LogicalUnion.LogicalUnion(RelInput input)
Creates a LogicalUnion by parsing serialized output.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RelNode
accept(RelShuttle shuttle)
Accepts a visit from a shuttle.LogicalUnion
copy(RelTraitSet traitSet, java.util.List<RelNode> inputs, boolean all)
static LogicalUnion
create(java.util.List<RelNode> inputs, boolean all)
Creates a LogicalUnion.-
Methods inherited from class org.apache.calcite.rel.core.Union
estimateRowCount, estimateRowCount
-
Methods inherited from class org.apache.calcite.rel.core.SetOp
copy, deriveRowType, explainTerms, getInputs, isHomogeneous, replaceInput
-
Methods inherited from class org.apache.calcite.rel.AbstractRelNode
accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, computeSelfCost, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
-
-
-
-
Constructor Detail
-
LogicalUnion
public LogicalUnion(RelOptCluster cluster, RelTraitSet traitSet, java.util.List<RelNode> inputs, boolean all)
Creates a LogicalUnion.Use
create(java.util.List<org.apache.calcite.rel.RelNode>, boolean)
unless you know what you're doing.
-
LogicalUnion
@Deprecated public LogicalUnion(RelOptCluster cluster, java.util.List<RelNode> inputs, boolean all)
Deprecated.
-
LogicalUnion
public LogicalUnion(RelInput input)
Creates a LogicalUnion by parsing serialized output.
-
-
Method Detail
-
create
public static LogicalUnion create(java.util.List<RelNode> inputs, boolean all)
Creates a LogicalUnion.
-
copy
public LogicalUnion copy(RelTraitSet traitSet, java.util.List<RelNode> inputs, boolean all)
-
accept
public RelNode accept(RelShuttle shuttle)
Description copied from interface:RelNode
Accepts a visit from a shuttle.- Specified by:
accept
in interfaceRelNode
- Overrides:
accept
in classAbstractRelNode
- Parameters:
shuttle
- Shuttle- Returns:
- A copy of this node incorporating changes made by the shuttle to this node's children
-
-