org.apache.hadoop.hbase.mapreduce
Class Import.KeyValueWritableComparablePartitioner

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Partitioner<Import.KeyValueWritableComparable,KeyValue>
      extended by org.apache.hadoop.hbase.mapreduce.Import.KeyValueWritableComparablePartitioner
Enclosing class:
Import

public static class Import.KeyValueWritableComparablePartitioner
extends org.apache.hadoop.mapreduce.Partitioner<Import.KeyValueWritableComparable,KeyValue>


Constructor Summary
Import.KeyValueWritableComparablePartitioner()
           
 
Method Summary
 int getPartition(Import.KeyValueWritableComparable key, KeyValue value, int numPartitions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Import.KeyValueWritableComparablePartitioner

public Import.KeyValueWritableComparablePartitioner()
Method Detail

getPartition

public int getPartition(Import.KeyValueWritableComparable key,
                        KeyValue value,
                        int numPartitions)
Specified by:
getPartition in class org.apache.hadoop.mapreduce.Partitioner<Import.KeyValueWritableComparable,KeyValue>


Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.