org.apache.hadoop.hive.ql.exec
Class ByteWritable.Comparator

java.lang.Object
  extended by WritableComparator
      extended by org.apache.hadoop.hive.ql.exec.ByteWritable.Comparator
Enclosing class:
ByteWritable

public static class ByteWritable.Comparator
extends WritableComparator

A Comparator optimized for BytesWritable.


Constructor Summary
ByteWritable.Comparator()
           
 
Method Summary
 int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
          Compare the buffers in serialized form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteWritable.Comparator

public ByteWritable.Comparator()
Method Detail

compare

public int compare(byte[] b1,
                   int s1,
                   int l1,
                   byte[] b2,
                   int s2,
                   int l2)
Compare the buffers in serialized form.



Copyright © 2012 The Apache Software Foundation