org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
Class PigMapReduce.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.PigMapBase
          extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce.Map
              extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce.MapWithPartitionIndex
Enclosing class:
PigMapReduce

public static class PigMapReduce.MapWithPartitionIndex
extends PigMapReduce.Map

Used by Skewed Join


Nested Class Summary
 
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.PigMapBase
errorInMap, keyType, mp, stores, tf
 
Constructor Summary
PigMapReduce.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
cleanup, getKeyType, map, setKeyType, 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

PigMapReduce.MapWithPartitionIndex

public PigMapReduce.MapWithPartitionIndex()
Method Detail

collect

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

runPipeline

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


Copyright © ${year} The Apache Software Foundation