Class RhsRewriteCandidate


  • public class RhsRewriteCandidate
    extends Object
    A candidate is an RHS column that appears in a filter, along with the value being filtered on, plus the joinable clause associated with the table that the RHS column is from.
    • Method Detail

      • getRhsColumn

        public String getRhsColumn()
      • isDirectRewrite

        public boolean isDirectRewrite()
        A direct rewrite occurs when we filter on an RHS column that is also part of a join equicondition. For example, if we have the filter (j.x = 'hello') and the join condition is (y = j.x), we can directly rewrite the j.x filter to (y = 'hello').
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object