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

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      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
All Implemented Interfaces:
Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.Text,Tuple,PigNullableWritable,org.apache.hadoop.io.Writable>
Enclosing class:
PigMapReduce

public static class PigMapReduce.MapWithPartitionIndex
extends PigMapReduce.Map
implements org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.Text,Tuple,PigNullableWritable,org.apache.hadoop.io.Writable>

Used by Skewed Join


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.mapred.OutputCollector<PigNullableWritable,org.apache.hadoop.io.Writable> oc, Tuple tuple)
           
protected  void runPipeline(PhysicalOperator leaf)
           
 
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase
close, configure, getKeyType, map, setKeyType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.mapred.Mapper
map
 
Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable
configure
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

PigMapReduce.MapWithPartitionIndex

public PigMapReduce.MapWithPartitionIndex()
Method Detail

collect

public void collect(org.apache.hadoop.mapred.OutputCollector<PigNullableWritable,org.apache.hadoop.io.Writable> oc,
                    Tuple tuple)
             throws ExecException,
                    IOException
Overrides:
collect in class PigMapReduce.Map
Throws:
ExecException
IOException

runPipeline

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


Copyright © ${year} The Apache Software Foundation