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:
Cloneable
,RelOptNode
,RelNode
public final class LogicalUnion extends Union
Sub-class of
Union
not targeted at any particular engine or calling convention.-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LogicalUnion(RelOptCluster cluster, List<RelNode> inputs, boolean all)
Deprecated.LogicalUnion(RelOptCluster cluster, RelTraitSet traitSet, List<RelNode> inputs, boolean all)
Creates a LogicalUnion.LogicalUnion(RelInput input)
Creates a LogicalUnion by parsing serialized output. -
Method Summary
Modifier and Type Method Description RelNode
accept(RelShuttle shuttle)
Accepts a visit from a shuttle.LogicalUnion
copy(RelTraitSet traitSet, List<RelNode> inputs, boolean all)
static LogicalUnion
create(List<RelNode> inputs, boolean all)
Creates a LogicalUnion.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, 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
-
Constructor Details
-
LogicalUnion
public LogicalUnion(RelOptCluster cluster, RelTraitSet traitSet, 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. -
LogicalUnion
Creates a LogicalUnion by parsing serialized output.
-
-
Method Details
-
create
Creates a LogicalUnion. -
copy
-
accept
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
-