Beispiel #1
0
 /**
  * Creates a RelFieldTrimmer.
  *
  * @param validator Validator
  */
 public RelFieldTrimmer(SqlValidator validator) {
   Util.discard(validator); // may be useful one day
   this.trimFieldsDispatcher =
       ReflectUtil.createMethodDispatcher(
           TrimResult.class, this, "trimFields", RelNode.class, BitSet.class, Set.class);
 }
 /**
  * Creates a new FarragoReduceExpressionsRule object.
  *
  * @param relClass class of rels to which this rule should apply
  */
 private FarragoReduceExpressionsRule(Class<? extends RelNode> relClass) {
   super(
       new RelOptRuleOperand(relClass, ANY),
       "FarragoReduceExpressionsRule:" + ReflectUtil.getUnqualifiedClassName(relClass));
 }