org.apache.hadoop.mapred.lib
Class TotalOrderPartitioner<K extends WritableComparable<?>,V>

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Partitioner<K,V>
      extended by org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner<K,V>
          extended by org.apache.hadoop.mapred.lib.TotalOrderPartitioner<K,V>
All Implemented Interfaces:
Configurable, JobConfigurable, Partitioner<K,V>

@InterfaceAudience.Public
@InterfaceStability.Stable
public class TotalOrderPartitioner<K extends WritableComparable<?>,V>
extends TotalOrderPartitioner<K,V>
implements Partitioner<K,V>

Partitioner effecting a total order by reading split points from an externally generated source.


Field Summary
 
Fields inherited from class org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner
DEFAULT_PATH, MAX_TRIE_DEPTH, NATURAL_ORDER, PARTITIONER_PATH
 
Constructor Summary
TotalOrderPartitioner()
           
 
Method Summary
 void configure(JobConf job)
          Initializes a new instance from a JobConf.
 
Methods inherited from class org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner
getConf, getPartition, getPartitionFile, setConf, setPartitionFile
 
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.Partitioner
getPartition
 

Constructor Detail

TotalOrderPartitioner

public TotalOrderPartitioner()
Method Detail

configure

public void configure(JobConf job)
Description copied from interface: JobConfigurable
Initializes a new instance from a JobConf.

Specified by:
configure in interface JobConfigurable
Parameters:
job - the configuration


Copyright © 2012 Apache Software Foundation. All Rights Reserved.