Class JoinCommuteRule.VariableReplacer

  • Enclosing class:
    JoinCommuteRule

    private static class JoinCommuteRule.VariableReplacer
    extends java.lang.Object
    Walks over an expression, replacing references to fields of the left and right inputs.

    If the field index is less than leftFieldCount, it must be from the left, and so has rightFieldCount added to it; if the field index is greater than leftFieldCount, it must be from the right, so we subtract leftFieldCount from it.