org.apache.hadoop.hbase.client.tableindexed
Class ReverseByteArrayComparator
java.lang.Object
org.apache.hadoop.hbase.client.tableindexed.ReverseByteArrayComparator
- All Implemented Interfaces:
- Comparator<byte[]>, WritableComparator<byte[]>, org.apache.hadoop.io.Writable
public class ReverseByteArrayComparator
- extends Object
- implements WritableComparator<byte[]>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReverseByteArrayComparator
public ReverseByteArrayComparator()
compare
public int compare(byte[] o1,
byte[] o2)
-
- Specified by:
compare
in interface Comparator<byte[]>
readFields
public void readFields(DataInput arg0)
throws IOException
-
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
write
public void write(DataOutput arg0)
throws IOException
-
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
Copyright © 2008 The Apache Software Foundation