Package org.apache.tajo.engine.planner.rewrite

Examples of org.apache.tajo.engine.planner.rewrite.BasicQueryRewriteEngine


  private BasicQueryRewriteEngine rulesBeforeJoinOpt;
  private BasicQueryRewriteEngine rulesAfterToJoinOpt;
  private JoinOrderAlgorithm joinOrderAlgorithm = new GreedyHeuristicJoinOrderAlgorithm();

  public LogicalOptimizer() {
    rulesBeforeJoinOpt = new BasicQueryRewriteEngine();
    rulesBeforeJoinOpt.addRewriteRule(new FilterPushDownRule());

    rulesAfterToJoinOpt = new BasicQueryRewriteEngine();
    rulesAfterToJoinOpt.addRewriteRule(new ProjectionPushDownRule());
  }
View Full Code Here


  private BasicQueryRewriteEngine rulesBeforeJoinOpt;
  private BasicQueryRewriteEngine rulesAfterToJoinOpt;
  private JoinOrderAlgorithm joinOrderAlgorithm = new GreedyHeuristicJoinOrderAlgorithm();

  public LogicalOptimizer(TajoConf systemConf) {
    rulesBeforeJoinOpt = new BasicQueryRewriteEngine();
    rulesBeforeJoinOpt.addRewriteRule(new FilterPushDownRule());

    rulesAfterToJoinOpt = new BasicQueryRewriteEngine();
    rulesAfterToJoinOpt.addRewriteRule(new ProjectionPushDownRule());
    rulesAfterToJoinOpt.addRewriteRule(new PartitionedTableRewriter(systemConf));
  }
View Full Code Here

TOP

Related Classes of org.apache.tajo.engine.planner.rewrite.BasicQueryRewriteEngine

Copyright © 2018 www.massapicom. 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.