Skip navigation links

Oracle® Big Data Appliance Perfect Balance Java API Reference
Release 1.1

E49335-01


oracle.hadoop.balancer.examples.invindx
Class InvertedIndex.InvertedIndexValue.Comparator

java.lang.Object
  extended by 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.


Constructor Summary
InvertedIndex.InvertedIndexValue.Comparator()
           

 

Method Summary
 int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
           
 int compare(InvertedIndex.InvertedIndexValue a, InvertedIndex.InvertedIndexValue b)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface java.util.Comparator
equals

 

Constructor Detail

InvertedIndex.InvertedIndexValue.Comparator

public InvertedIndex.InvertedIndexValue.Comparator()

Method Detail

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

Oracle® Big Data Appliance Perfect Balance Java API Reference
Release 1.1

E49335-01


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.