/** * Creates a RexPermuteInputsShuttle. * * <p>The mapping provides at most one target for every source. If a source * has no targets and is referenced in the expression, * {@link org.apache.calcite.util.mapping.Mappings.TargetMapping#getTarget(int)} * will give an error. Otherwise the mapping gives a unique target. * * @param mapping Mapping * @param inputs Input relational expressions */ public RexPermuteInputsShuttle( Mappings.TargetMapping mapping, RelNode... inputs) { this(mapping, fields(inputs)); }
/** * Creates a RexPermuteInputsShuttle. * * <p>The mapping provides at most one target for every source. If a source * has no targets and is referenced in the expression, * {@link org.apache.calcite.util.mapping.Mappings.TargetMapping#getTarget(int)} * will give an error. Otherwise the mapping gives a unique target. * * @param mapping Mapping * @param inputs Input relational expressions */ public RexPermuteInputsShuttle( Mappings.TargetMapping mapping, RelNode... inputs) { this(mapping, fields(inputs)); }