org.apache.hadoop.chukwa.extraction.archive
Class ChukwaArchiveDataTypePartitioner<K,V>

java.lang.Object
  extended by org.apache.hadoop.chukwa.extraction.archive.ChukwaArchiveDataTypePartitioner<K,V>
All Implemented Interfaces:
org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Partitioner<ChukwaArchiveKey,ChunkImpl>

public class ChukwaArchiveDataTypePartitioner<K,V>
extends Object
implements org.apache.hadoop.mapred.Partitioner<ChukwaArchiveKey,ChunkImpl>


Constructor Summary
ChukwaArchiveDataTypePartitioner()
           
 
Method Summary
 void configure(org.apache.hadoop.mapred.JobConf conf)
           
 int getPartition(ChukwaArchiveKey key, ChunkImpl chunk, int numReduceTasks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChukwaArchiveDataTypePartitioner

public ChukwaArchiveDataTypePartitioner()
Method Detail

configure

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

getPartition

public int getPartition(ChukwaArchiveKey key,
                        ChunkImpl chunk,
                        int numReduceTasks)
Specified by:
getPartition in interface org.apache.hadoop.mapred.Partitioner<ChukwaArchiveKey,ChunkImpl>


Copyright © 2011 Apache Software Foundation. All Rights Reserved.