/** * Translates the given program to an OptimizedPlan, where all nodes have their local strategy assigned * and all channels have a shipping strategy assigned. * * For more details on the optimization phase, see the comments for * {@link #compile(org.apache.flink.api.common.Plan, org.apache.flink.optimizer.postpass.OptimizerPostPass)}. * * @param program The program to be translated. * @return The optimized plan. * * @throws CompilerException * Thrown, if the plan is invalid or the optimizer encountered an inconsistent * situation during the compilation process. */ public OptimizedPlan compile(Plan program) throws CompilerException { final OptimizerPostPass postPasser = getPostPassFromPlan(program); return compile(program, postPasser); }
/** * Translates the given program to an OptimizedPlan, where all nodes have their local strategy assigned * and all channels have a shipping strategy assigned. * * For more details on the optimization phase, see the comments for * {@link #compile(org.apache.flink.api.common.Plan, org.apache.flink.optimizer.postpass.OptimizerPostPass)}. * * @param program The program to be translated. * @return The optimized plan. * * @throws CompilerException * Thrown, if the plan is invalid or the optimizer encountered an inconsistent * situation during the compilation process. */ public OptimizedPlan compile(Plan program) throws CompilerException { final OptimizerPostPass postPasser = getPostPassFromPlan(program); return compile(program, postPasser); }
/** * Translates the given program to an OptimizedPlan, where all nodes have their local strategy assigned * and all channels have a shipping strategy assigned. * * For more details on the optimization phase, see the comments for * {@link #compile(org.apache.flink.api.common.Plan, org.apache.flink.optimizer.postpass.OptimizerPostPass)}. * * @param program The program to be translated. * @return The optimized plan. * * @throws CompilerException * Thrown, if the plan is invalid or the optimizer encountered an inconsistent * situation during the compilation process. */ public OptimizedPlan compile(Plan program) throws CompilerException { final OptimizerPostPass postPasser = getPostPassFromPlan(program); return compile(program, postPasser); }
/** * Translates the given program to an OptimizedPlan, where all nodes have their local strategy assigned * and all channels have a shipping strategy assigned. * * For more details on the optimization phase, see the comments for * {@link #compile(org.apache.flink.api.common.Plan, org.apache.flink.optimizer.postpass.OptimizerPostPass)}. * * @param program The program to be translated. * @return The optimized plan. * * @throws CompilerException * Thrown, if the plan is invalid or the optimizer encountered an inconsistent * situation during the compilation process. */ public OptimizedPlan compile(Plan program) throws CompilerException { final OptimizerPostPass postPasser = getPostPassFromPlan(program); return compile(program, postPasser); }
/** * Translates the given program to an OptimizedPlan, where all nodes have their local strategy assigned * and all channels have a shipping strategy assigned. * * For more details on the optimization phase, see the comments for * {@link #compile(org.apache.flink.api.common.Plan, org.apache.flink.optimizer.postpass.OptimizerPostPass)}. * * @param program The program to be translated. * @return The optimized plan. * * @throws CompilerException * Thrown, if the plan is invalid or the optimizer encountered an inconsistent * situation during the compilation process. */ public OptimizedPlan compile(Plan program) throws CompilerException { final OptimizerPostPass postPasser = getPostPassFromPlan(program); return compile(program, postPasser); }