Class PigToSqlAggregateRule.RexCallReplacer

  • All Implemented Interfaces:
    RexVisitor<RexNode>
    Enclosing class:
    PigToSqlAggregateRule

    private class PigToSqlAggregateRule.RexCallReplacer
    extends RexShuttle
    Helper class to replace each RexCall by a corresponding RexNode, defined in a given map, for an expression.

    It also replaces a projection by a new projection.