org.apache.hadoop.hive.ql.io
Class HiveKey.Comparator
java.lang.Object
WritableComparator
org.apache.hadoop.hive.ql.io.HiveKey.Comparator
- Enclosing class:
- HiveKey
public static class HiveKey.Comparator
- extends WritableComparator
A Comparator optimized for HiveKey.
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 |
HiveKey.Comparator
public HiveKey.Comparator()
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