public class FetchOptimizer extends Object
FetchablePlanVisitor is used
to walk through the plan.| Constructor and Description |
|---|
FetchOptimizer() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isFetchEnabled(PigContext pc)
Checks whether the fetch is enabled
|
static boolean |
isPlanFetchable(PigContext pc,
PhysicalPlan pp)
Visits the plan with
FetchablePlanVisitor and checks whether the
plan is fetchable. |
public static boolean isFetchEnabled(PigContext pc)
pc - public static boolean isPlanFetchable(PigContext pc, PhysicalPlan pp) throws VisitorException
FetchablePlanVisitor and checks whether the
plan is fetchable.pc - PigContextpp - the physical plan to be examinedVisitorExceptionCopyright © 2007-2017 The Apache Software Foundation