Package org.apache.nemo.compiler.backend
Interface Backend<Plan>
-
- Type Parameters:
Plan
- the physical execution plan to compile the DAG into.
- All Known Implementing Classes:
NemoBackend
@DefaultImplementation(NemoBackend.class) public interface Backend<Plan>
Interface for backend components.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Plan
compile(IRDAG dag)
Compiles a DAG to a physical execution plan.
-
-
-
Method Detail
-
compile
Plan compile(IRDAG dag) throws java.lang.Exception
Compiles a DAG to a physical execution plan. The method should not modify the IRDAG in any way (i.e., should be idempotent).- Parameters:
dag
- the DAG to compile.- Returns:
- the execution plan generated.
- Throws:
java.lang.Exception
- Exception on the way.
-
-