org.apache.pig.backend.hadoop.executionengine.mapreduceExec
Class SortPartitioner

java.lang.Object
  extended by org.apache.pig.backend.hadoop.executionengine.mapreduceExec.SortPartitioner
All Implemented Interfaces:
org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Partitioner<Tuple,org.apache.hadoop.io.Writable>

public class SortPartitioner
extends Object
implements org.apache.hadoop.mapred.Partitioner<Tuple,org.apache.hadoop.io.Writable>


Constructor Summary
SortPartitioner()
           
 
Method Summary
 void configure(org.apache.hadoop.mapred.JobConf job)
           
 int getPartition(Tuple key, org.apache.hadoop.io.Writable value, int numPartitions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortPartitioner

public SortPartitioner()
Method Detail

getPartition

public int getPartition(Tuple key,
                        org.apache.hadoop.io.Writable value,
                        int numPartitions)
Specified by:
getPartition in interface org.apache.hadoop.mapred.Partitioner<Tuple,org.apache.hadoop.io.Writable>

configure

public void configure(org.apache.hadoop.mapred.JobConf job)
Specified by:
configure in interface org.apache.hadoop.mapred.JobConfigurable


Copyright © ${year} The Apache Software Foundation