org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
Class KeyTypeDiscoveryVisitor
java.lang.Object
org.apache.pig.impl.plan.PlanVisitor<MapReduceOper,MROperPlan>
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.plans.MROpPlanVisitor
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.KeyTypeDiscoveryVisitor
public class KeyTypeDiscoveryVisitor
- extends MROpPlanVisitor
A visitor to figure out the type of the key for the map plan
this is needed when the key is null to create
an appropriate NullableXXXWritable object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyTypeDiscoveryVisitor
public KeyTypeDiscoveryVisitor(MROperPlan plan)
- Parameters:
plan - The MROperPlan to visit to discover keyType
visitMROp
public void visitMROp(MapReduceOper mr)
throws VisitorException
- Overrides:
visitMROp in class MROpPlanVisitor
- Throws:
VisitorException
Copyright © 2007-2012 The Apache Software Foundation