|
||||||||||
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 LinkedList<POLoad> |
getLoads(PhysicalPlan plan)
Get all the load operators in the plan in the right dependency order |
static LinkedList<PONative> |
getNativeMRs(PhysicalPlan plan)
Get all the load operators in the plan in the right dependency order |
static LinkedList<POStore> |
getStores(PhysicalPlan plan)
Get all the store operators in the plan in the right 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 LinkedList<POStore> getStores(PhysicalPlan plan) throws VisitorException
plan
-
VisitorException
public static LinkedList<POLoad> getLoads(PhysicalPlan plan) throws VisitorException
plan
-
VisitorException
public static LinkedList<PONative> getNativeMRs(PhysicalPlan plan) throws VisitorException
plan
-
VisitorException
public static String makeStoreTmpPath(String orig)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |