Skip navigation links
oracle.hadoop.balancer.examples.invindx
Class InvertedIndex.InvertedIndexValue.Comparator
java.lang.Object
oracle.hadoop.balancer.examples.invindx.InvertedIndex.InvertedIndexValue.Comparator
- All Implemented Interfaces:
- java.util.Comparator<InvertedIndex.InvertedIndexValue>, org.apache.hadoop.io.RawComparator<InvertedIndex.InvertedIndexValue>
- Enclosing class:
- InvertedIndex.InvertedIndexValue
-
public static class InvertedIndex.InvertedIndexValue.Comparator
- extends java.lang.Object
- implements org.apache.hadoop.io.RawComparator<InvertedIndex.InvertedIndexValue>
A comparator for the value.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
InvertedIndex.InvertedIndexValue.Comparator
public InvertedIndex.InvertedIndexValue.Comparator()
compare
public int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
-
- Specified by:
compare
in interface org.apache.hadoop.io.RawComparator<InvertedIndex.InvertedIndexValue>
compare
public int compare(InvertedIndex.InvertedIndexValue a,
InvertedIndex.InvertedIndexValue b)
-
- Specified by:
compare
in interface java.util.Comparator<InvertedIndex.InvertedIndexValue>
Skip navigation links
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.