Package | Description |
---|---|
org.apache.hadoop.mapred | |
org.apache.hadoop.mapred.lib |
Modifier and Type | Method and Description |
---|---|
Class<? extends Partitioner> |
JobConf.getPartitionerClass()
|
Modifier and Type | Method and Description |
---|---|
static <K extends WritableComparable,V extends Writable> |
MapFileOutputFormat.getEntry(org.apache.hadoop.io.MapFile.Reader[] readers,
Partitioner<K,V> partitioner,
K key,
V value)
Get an entry from output generated by this class.
|
Modifier and Type | Method and Description |
---|---|
void |
JobConf.setPartitionerClass(Class<? extends Partitioner> theClass)
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryPartitioner<V>
Partition
BinaryComparable keys using a configurable part of
the bytes array returned by BinaryComparable.getBytes() . |
class |
HashPartitioner<K2,V2>
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 © 2016 Apache Software Foundation. All rights reserved.