@InterfaceAudience.Public @InterfaceStability.Stable public class BinaryPartitioner<V> extends BinaryPartitioner<V> implements Partitioner<BinaryComparable,V>
BinaryComparable
keys using a configurable part of
the bytes array returned by BinaryComparable.getBytes()
.BinaryPartitioner
LEFT_OFFSET_PROPERTY_NAME, RIGHT_OFFSET_PROPERTY_NAME
Constructor and Description |
---|
BinaryPartitioner() |
Modifier and Type | Method and Description |
---|---|
void |
configure(JobConf job)
Initializes a new instance from a
JobConf . |
getConf, getPartition, setConf, setLeftOffset, setOffsets, setRightOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPartition
public void configure(JobConf job)
JobConfigurable
JobConf
.configure
in interface JobConfigurable
job
- the configurationCopyright © 2018 Apache Software Foundation. All rights reserved.