public static class TestTotalOrderPartitioner.ReverseStringComparator extends Object implements org.apache.hadoop.io.RawComparator<org.apache.hadoop.io.Text>
| Constructor and Description |
|---|
TestTotalOrderPartitioner.ReverseStringComparator() |
| 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.Text a,
org.apache.hadoop.io.Text b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic TestTotalOrderPartitioner.ReverseStringComparator()
public int compare(org.apache.hadoop.io.Text a,
org.apache.hadoop.io.Text b)
compare in interface Comparator<org.apache.hadoop.io.Text>public int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
compare in interface org.apache.hadoop.io.RawComparator<org.apache.hadoop.io.Text>Copyright © 2018 Mapr Technologies, Inc.. All rights reserved.