public class FetchLauncher extends Object
Constructor and Description |
---|
FetchLauncher(PigContext pigContext) |
Modifier and Type | Method and Description |
---|---|
void |
explain(PhysicalPlan pp,
PigContext pc,
PrintStream ps,
String format)
Creates an empty MR plan
|
PigStats |
launchPig(PhysicalPlan pp)
Runs the fetch task by executing chain of calls on the PhysicalPlan from the leaf
up to the LoadFunc
|
public FetchLauncher(PigContext pigContext)
public PigStats launchPig(PhysicalPlan pp) throws IOException
pp
- - Physical planIOException
public void explain(PhysicalPlan pp, PigContext pc, PrintStream ps, String format) throws PlanException, VisitorException, IOException
pp
- - Physical planpc
- - PigContextps
- - PrintStream to write the plan toformat
- format of the output planPlanException
VisitorException
IOException
Copyright © 2007-2017 The Apache Software Foundation