Package eu.stratosphere.compiler.contextcheck

Examples of eu.stratosphere.compiler.contextcheck.ContextChecker


  public OptimizedPlan getOptimizedPlan(Plan p, int parallelism) throws CompilerException {
    if (parallelism > 0 && p.getDefaultParallelism() <= 0) {
      p.setDefaultParallelism(parallelism);
    }
   
    ContextChecker checker = new ContextChecker();
    checker.check(p);
    return this.compiler.compile(p);
  }
View Full Code Here


  public JobExecutionResult executePlan(Plan plan) throws Exception {
    if (plan == null) {
      throw new IllegalArgumentException("The plan may not be null.");
    }
   
    ContextChecker checker = new ContextChecker();
    checker.check(plan);
   
    synchronized (this.lock) {
     
      // check if we start a session dedicated for this execution
      final boolean shutDownAtEnd;
View Full Code Here

TOP

Related Classes of eu.stratosphere.compiler.contextcheck.ContextChecker

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.