org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
Class PigGenericMapReduce.MapWithPartitionIndex

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.Text,Tuple,PigNullableWritable,org.apache.hadoop.io.Writable>
      extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapBase
          extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase
              extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapReduce.Map
                  extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapReduce.MapWithPartitionIndex
Enclosing class:
PigGenericMapReduce

public static class PigGenericMapReduce.MapWithPartitionIndex
extends PigGenericMapReduce.Map

Used by Skewed Join


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase.IllustratorContext
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
 
Field Summary
 
Fields inherited from class org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapBase
errorInMap, keyType, mp, stores, tf
 
Constructor Summary
PigGenericMapReduce.MapWithPartitionIndex()
           
 
Method Summary
 void collect(org.apache.hadoop.mapreduce.Mapper.Context oc, Tuple tuple)
           
protected  void runPipeline(PhysicalOperator leaf)
           
 
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase
getIllustratorContext, inIllustrator
 
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapBase
cleanup, getKeyType, map, setKeyType, setMapPlan, setup
 
Methods inherited from class org.apache.hadoop.mapreduce.Mapper
run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PigGenericMapReduce.MapWithPartitionIndex

public PigGenericMapReduce.MapWithPartitionIndex()
Method Detail

collect

public void collect(org.apache.hadoop.mapreduce.Mapper.Context oc,
                    Tuple tuple)
             throws InterruptedException,
                    IOException
Overrides:
collect in class PigGenericMapReduce.Map
Throws:
InterruptedException
IOException

runPipeline

protected void runPipeline(PhysicalOperator leaf)
                    throws IOException,
                           InterruptedException
Overrides:
runPipeline in class PigGenericMapBase
Throws:
IOException
InterruptedException


Copyright © 2007-2012 The Apache Software Foundation