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,- Hintable,- RelNode
Sub-class of 
Union
 not targeted at any particular engine or calling convention.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.calcite.rel.RelNodeRelNode.Context
- 
Field SummaryFields inherited from class org.apache.calcite.rel.AbstractRelNodedigest, id, rowType, traitSet
- 
Constructor SummaryConstructorsConstructorDescriptionLogicalUnion(RelOptCluster cluster, List<RelNode> inputs, boolean all) Deprecated.LogicalUnion(RelOptCluster cluster, RelTraitSet traitSet, List<RelHint> hints, List<RelNode> inputs, boolean all) Creates a LogicalUnion.LogicalUnion(RelOptCluster cluster, RelTraitSet traitSet, List<RelNode> inputs, boolean all) Creates a LogicalUnion.LogicalUnion(RelInput input) Creates a LogicalUnion by parsing serialized output.
- 
Method SummaryModifier and TypeMethodDescriptionaccept(RelShuttle shuttle) Accepts a visit from a shuttle.copy(RelTraitSet traitSet, List<RelNode> inputs, boolean all) static LogicalUnionCreates a LogicalUnion.Returns a new relational expression with the specified hintshintList.Methods inherited from class org.apache.calcite.rel.core.UnionestimateRowCount, estimateRowCountMethods inherited from class org.apache.calcite.rel.core.SetOpcopy, deriveRowType, explainTerms, getHints, getInputs, isHomogeneous, replaceInputMethods inherited from class org.apache.calcite.rel.AbstractRelNodeaccept, 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, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.calcite.rel.hint.HintableattachHintsMethods inherited from interface org.apache.calcite.rel.RelNodeexplain, fieldIsNullable, stripped
- 
Constructor Details- 
LogicalUnionpublic LogicalUnion(RelOptCluster cluster, RelTraitSet traitSet, List<RelHint> hints, 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.
- 
LogicalUnionCreates a LogicalUnion.Use create(java.util.List<org.apache.calcite.rel.RelNode>, boolean)unless you know what you're doing.
- 
LogicalUnionDeprecated.
- 
LogicalUnionCreates a LogicalUnion by parsing serialized output.
 
- 
- 
Method Details- 
createCreates a LogicalUnion.
- 
copy
- 
acceptDescription copied from interface:RelNodeAccepts a visit from a shuttle.- Specified by:
- acceptin interface- RelNode
- Overrides:
- acceptin class- AbstractRelNode
- Parameters:
- shuttle- Shuttle
- Returns:
- A copy of this node incorporating changes made by the shuttle to this node's children
 
- 
withHintsDescription copied from interface:HintableReturns a new relational expression with the specified hintshintList.This method should be overridden by every logical node that supports hint. It is only for internal use during decorrelation. Sub-class should return a new copy of the relational expression. The default implementation returns the relational expression directly only because not every kind of relational expression supports hints. - Returns:
- Relational expression with set up hints
 
 
-