@InterfaceAudience.Public @InterfaceStability.Stable public class TotalOrderPartitioner<K,V> extends TotalOrderPartitioner<K,V> implements Partitioner<K,V>
DEFAULT_PATH, MAX_TRIE_DEPTH, NATURAL_ORDER, PARTITIONER_PATH
Constructor and Description |
---|
TotalOrderPartitioner() |
Modifier and Type | Method and Description |
---|---|
void |
configure(JobConf job)
Initializes a new instance from a
JobConf . |
static String |
getPartitionFile(JobConf job)
Deprecated.
|
static void |
setPartitionFile(JobConf job,
Path p)
Deprecated.
|
getConf, getPartition, getPartitionFile, setConf, setPartitionFile
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 configuration@Deprecated public static void setPartitionFile(JobConf job, Path p)
TotalOrderPartitioner.setPartitionFile(Configuration, Path)
instead@Deprecated public static String getPartitionFile(JobConf job)
TotalOrderPartitioner.getPartitionFile(Configuration)
insteadsetPartitionFile(JobConf,Path)
Copyright © 2019 Apache Software Foundation. All rights reserved.