Class 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 factors
      private int leftFactor
      The left factor in a removable self-join
      private 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)  
    • 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
    • Constructor Detail

      • RemovableSelfJoin

        RemovableSelfJoin​(int leftFactor,
                          int rightFactor,
                          java.util.Map<java.lang.Integer,​java.lang.Integer> columnMapping)
    • Method Detail

      • getLeftFactor

        public int getLeftFactor()
      • getRightFactor

        public int getRightFactor()
      • getColumnMapping

        public java.util.Map<java.lang.Integer,​java.lang.Integer> getColumnMapping()