Package org.eigenbase.relopt

Examples of org.eigenbase.relopt.RelOptPlanner.addRule()


  }

  @Override
  protected RelOptPlanner createPlanner() {
    final RelOptPlanner planner = super.createPlanner();
    planner.addRule(EnumerableDrillRule.getInstance(driver == null ? null : driver.getClient()));

    // Enable when https://issues.apache.org/jira/browse/DRILL-57 fixed
    if (false) {
      planner.addRule(DrillValuesRule.INSTANCE);
      planner.removeRule(JavaRules.ENUMERABLE_VALUES_RULE);
View Full Code Here


    final RelOptPlanner planner = super.createPlanner();
    planner.addRule(EnumerableDrillRule.getInstance(driver == null ? null : driver.getClient()));

    // Enable when https://issues.apache.org/jira/browse/DRILL-57 fixed
    if (false) {
      planner.addRule(DrillValuesRule.INSTANCE);
      planner.removeRule(JavaRules.ENUMERABLE_VALUES_RULE);
    }
    return planner;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.