public static class Generator.HashComparator
extends org.apache.hadoop.io.WritableComparator
Constructor and Description |
---|
Generator.HashComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
int |
compare(org.apache.hadoop.io.WritableComparable a,
org.apache.hadoop.io.WritableComparable b) |
compare, compareBytes, define, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public int compare(org.apache.hadoop.io.WritableComparable a, org.apache.hadoop.io.WritableComparable b)
compare
in class org.apache.hadoop.io.WritableComparator
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface org.apache.hadoop.io.RawComparator
compare
in class org.apache.hadoop.io.WritableComparator
Copyright © 2014 The Apache Software Foundation