@InterfaceAudience.Public @InterfaceStability.Stable public class BinaryPartitioner<V> extends BinaryPartitioner<V> implements Partitioner<org.apache.hadoop.io.BinaryComparable,V>
BinaryComparable keys using a configurable part of
the bytes array returned by BinaryComparable.getBytes().BinaryPartitionerLEFT_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, setRightOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPartitionpublic void configure(JobConf job)
JobConfigurableJobConf.configure in interface JobConfigurablejob - the configurationCopyright © 2022 Apache Software Foundation. All rights reserved.