public class FetchLauncher
extends java.lang.Object
Constructor and Description |
---|
FetchLauncher(PigContext pigContext) |
Modifier and Type | Method and Description |
---|---|
void |
explain(PhysicalPlan pp,
PigContext pc,
java.io.PrintStream ps,
java.lang.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 java.io.IOException
pp
- - Physical planjava.io.IOException
public void explain(PhysicalPlan pp, PigContext pc, java.io.PrintStream ps, java.lang.String format) throws PlanException, VisitorException, java.io.IOException
pp
- - Physical planpc
- - PigContextps
- - PrintStream to write the plan toformat
- format of the output planPlanException
VisitorException
java.io.IOException
Copyright © 2007-2012 The Apache Software Foundation