|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pig.backend.hadoop.executionengine.physicalLayer.util.PlanHelper
public class PlanHelper
Utility class with a few helper functions to deal with physical plans.
| Method Summary | ||
|---|---|---|
static
|
containsPhysicalOperator(PhysicalPlan plan,
Class<C> opClass)
|
|
static
|
getPhysicalOperators(PhysicalPlan plan,
Class<C> opClass)
Returns a LinkedList of operators contained within the physical plan which implement the supplied class, in dependency order. |
|
static String |
makeStoreTmpPath(String orig)
Creates a relative path that can be used to build a temporary place to store the output from a number of map-reduce tasks. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String makeStoreTmpPath(String orig)
public static <C extends PhysicalOperator> boolean containsPhysicalOperator(PhysicalPlan plan,
Class<C> opClass)
throws VisitorException
VisitorException
public static <C extends PhysicalOperator> LinkedList<C> getPhysicalOperators(PhysicalPlan plan,
Class<C> opClass)
throws VisitorException
plan - opClass -
VisitorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||