程序包 | 说明 |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.lib.partition |
限定符和类型 | 类和说明 |
---|---|
static class |
SecondarySort.FirstPartitioner
Partition based on the first part of the pair.
|
限定符和类型 | 方法和说明 |
---|---|
Class<? extends Partitioner<?,?>> |
JobContext.getPartitionerClass()
Get the
Partitioner class for the job. |
限定符和类型 | 方法和说明 |
---|---|
void |
Job.setPartitionerClass(Class<? extends Partitioner> cls)
Set the
Partitioner for the job. |
限定符和类型 | 类和说明 |
---|---|
class |
BinaryPartitioner<V>
Partition
BinaryComparable keys using a configurable part of
the bytes array returned by BinaryComparable.getBytes() . |
class |
HashPartitioner<K,V>
Partition keys by their
Object.hashCode() . |
class |
KeyFieldBasedPartitioner<K2,V2>
Defines a way to partition keys based on certain key fields (also see
KeyFieldBasedComparator . |
class |
TotalOrderPartitioner<K extends WritableComparable<?>,V>
Partitioner effecting a total order by reading split points from
an externally generated source.
|
Copyright © 2009 The Apache Software Foundation