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
构造器和说明 |
---|
BinaryPartitioner() |
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 JobConfigurable
job
- the configurationCopyright © 2009 The Apache Software Foundation