Package org.apache.calcite.rel.rules
Class LoptMultiJoin.RemovableSelfJoin
- java.lang.Object
-
- org.apache.calcite.rel.rules.LoptMultiJoin.RemovableSelfJoin
-
- Enclosing class:
- LoptMultiJoin
private class LoptMultiJoin.RemovableSelfJoin extends java.lang.Object
Utility class used to keep track of the factors in a removable self-join. The right factor in the self-join is the one that will be removed.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.lang.Integer>
columnMapping
A mapping that maps references to columns from the right factor to columns in the left factor, if the column is referenced in both factorsprivate int
leftFactor
The left factor in a removable self-joinprivate int
rightFactor
The right factor in a removable self-join, namely the factor that will be removed
-
Constructor Summary
Constructors Constructor Description RemovableSelfJoin(int leftFactor, int rightFactor, java.util.Map<java.lang.Integer,java.lang.Integer> columnMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.Integer,java.lang.Integer>
getColumnMapping()
int
getLeftFactor()
int
getRightFactor()
-
-
-
Field Detail
-
leftFactor
private int leftFactor
The left factor in a removable self-join
-
rightFactor
private int rightFactor
The right factor in a removable self-join, namely the factor that will be removed
-
columnMapping
private java.util.Map<java.lang.Integer,java.lang.Integer> columnMapping
A mapping that maps references to columns from the right factor to columns in the left factor, if the column is referenced in both factors
-
-