Examples of PreprocessContext


Examples of org.apache.tajo.engine.planner.LogicalPlanPreprocessor.PreprocessContext

  public LogicalPlan createPlan(Session session, Expr expr, boolean debug) throws PlanningException {

    LogicalPlan plan = new LogicalPlan(session.getCurrentDatabase(), this);

    QueryBlock rootBlock = plan.newAndGetBlock(LogicalPlan.ROOT_BLOCK);
    PreprocessContext preProcessorCtx = new PreprocessContext(session, plan, rootBlock);
    preprocessor.visit(preProcessorCtx, new Stack<Expr>(), expr);

    PlanContext context = new PlanContext(session, plan, plan.getRootBlock(), debug);
    LogicalNode topMostNode = this.visit(context, new Stack<Expr>(), expr);
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.