## Package org.apache.hadoop.mapreduce.lib.partition

Interface Summary
InputSampler.Sampler<K,V>: Interface to sample using an `InputFormat`.

Class Summary
BinaryPartitioner<V>: Partition `BinaryComparable` keys using a configurable part of the bytes array returned by `BinaryComparable.getBytes()`.
HashPartitioner<K,V>: Partition keys by their `Object.hashCode()`.
InputSampler<K,V>: Utility for collecting samples and writing a partition file for `TotalOrderPartitioner`.
InputSampler.IntervalSampler<K,V>: Sample from s splits at regular intervals.
InputSampler.RandomSampler<K,V>: Sample from random points in the input.
InputSampler.SplitSampler<K,V>: Samples the first n records from s splits.
KeyFieldBasedComparator<K,V>: This comparator implementation provides a subset of the features provided by the Unix/GNU Sort.
KeyFieldBasedPartitioner<K2,V2>: Defines a way to partition keys based on certain key fields (also see `KeyFieldBasedComparator`.
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