Class TestPlanGenerator
- java.lang.Object
-
- org.apache.nemo.runtime.common.plan.TestPlanGenerator
-
public final class TestPlanGenerator extends java.lang.Object
Generates physical plans for testing purposes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestPlanGenerator.PlanType
Type of the plan to generate.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PhysicalPlan
generatePhysicalPlan(TestPlanGenerator.PlanType planType, boolean isPush)
-
-
-
Method Detail
-
generatePhysicalPlan
public static PhysicalPlan generatePhysicalPlan(TestPlanGenerator.PlanType planType, boolean isPush) throws java.lang.Exception
- Parameters:
planType
- type of the plan to generate.isPush
- whether to use the push policy.- Returns:
- the generated plan.
- Throws:
java.lang.Exception
- exception.
-
-