@InterfaceAudience.Public @InterfaceStability.Stable public class KeyFieldBasedComparator<K,V> extends KeyFieldBasedComparator<K,V> implements JobConfigurable
MRJobConfig.MAP_OUTPUT_KEY_FIELD_SEPARATOR
COMPARATOR_OPTIONS
Constructor and Description |
---|
KeyFieldBasedComparator() |
Modifier and Type | Method and Description |
---|---|
void |
configure(JobConf job)
Initializes a new instance from a
JobConf . |
compare, getConf, getKeyFieldComparatorOption, setConf, setKeyFieldComparatorOptions
compare, compare, compareBytes, define, get, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public void configure(JobConf job)
JobConfigurable
JobConf
.configure
in interface JobConfigurable
job
- the configurationCopyright © 2018 Apache Software Foundation. All rights reserved.