Package org.apache.calcite.rel.logical
Class LogicalIntersect
java.lang.Object
org.apache.calcite.rel.AbstractRelNode
org.apache.calcite.rel.core.SetOp
org.apache.calcite.rel.core.Intersect
org.apache.calcite.rel.logical.LogicalIntersect
- All Implemented Interfaces:
Cloneable
,RelOptNode
,Hintable
,RelNode
Sub-class of
Intersect
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
-
Field Summary
Fields inherited from class org.apache.calcite.rel.AbstractRelNode
digest, id, rowType, traitSet
-
Constructor Summary
ConstructorDescriptionLogicalIntersect
(RelOptCluster cluster, List<RelNode> inputs, boolean all) Deprecated.LogicalIntersect
(RelOptCluster cluster, RelTraitSet traitSet, List<RelHint> hints, List<RelNode> inputs, boolean all) Creates a LogicalIntersect.LogicalIntersect
(RelOptCluster cluster, RelTraitSet traitSet, List<RelNode> inputs, boolean all) Creates a LogicalIntersect.LogicalIntersect
(RelInput input) Creates a LogicalIntersect by parsing serialized output. -
Method Summary
Modifier and TypeMethodDescriptionaccept
(RelShuttle shuttle) Accepts a visit from a shuttle.copy
(RelTraitSet traitSet, List<RelNode> inputs, boolean all) static LogicalIntersect
Creates a LogicalIntersect.Returns a new relational expression with the specified hintshintList
.Methods inherited from class org.apache.calcite.rel.core.Intersect
estimateRowCount
Methods inherited from class org.apache.calcite.rel.core.SetOp
copy, deriveRowType, explainTerms, getHints, 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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.calcite.rel.hint.Hintable
attachHints
Methods inherited from interface org.apache.calcite.rel.RelNode
explain, fieldIsNullable, stripped
-
Constructor Details
-
LogicalIntersect
public LogicalIntersect(RelOptCluster cluster, RelTraitSet traitSet, List<RelHint> hints, List<RelNode> inputs, boolean all) Creates a LogicalIntersect.Use
create(java.util.List<org.apache.calcite.rel.RelNode>, boolean)
unless you know what you're doing. -
LogicalIntersect
public LogicalIntersect(RelOptCluster cluster, RelTraitSet traitSet, List<RelNode> inputs, boolean all) Creates a LogicalIntersect.Use
create(java.util.List<org.apache.calcite.rel.RelNode>, boolean)
unless you know what you're doing. -
LogicalIntersect
Deprecated. -
LogicalIntersect
Creates a LogicalIntersect by parsing serialized output.
-
-
Method Details
-
create
Creates a LogicalIntersect. -
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
-
withHints
Description copied from interface:Hintable
Returns 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
-