public static class Logalyzer.LogComparator extends Text.Comparator implements Configurable
| 构造器和说明 |
|---|
Logalyzer.LogComparator() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
Optimization hook.
|
Configuration |
getConf()
Return the configuration used by this object.
|
void |
setConf(Configuration conf)
Set the configuration to be used by this object.
|
compare, compare, compareBytes, define, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLongclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic void setConf(Configuration conf)
ConfigurablesetConf 在接口中 Configurablepublic Configuration getConf()
ConfigurablegetConf 在接口中 Configurablepublic int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
WritableComparatorThe default implementation reads the data into two WritableComparables (using Writable.readFields(DataInput), then calls WritableComparator.compare(WritableComparable,WritableComparable).
compare 在接口中 RawComparatorcompare 在类中 Text.ComparatorCopyright © 2009 The Apache Software Foundation