This project has retired. For details please refer to its
Attic page.
HFileUtils.KeyValueComparator (Apache Crunch 0.9.0 API)
org.apache.crunch.io.hbase
Class HFileUtils.KeyValueComparator
java.lang.Object
org.apache.crunch.io.hbase.HFileUtils.KeyValueComparator
- All Implemented Interfaces:
- Comparator<org.apache.hadoop.io.BytesWritable>, org.apache.hadoop.io.RawComparator<org.apache.hadoop.io.BytesWritable>
- Enclosing class:
- HFileUtils
public static class HFileUtils.KeyValueComparator
- extends Object
- implements org.apache.hadoop.io.RawComparator<org.apache.hadoop.io.BytesWritable>
Method Summary |
int |
compare(byte[] left,
int loffset,
int llength,
byte[] right,
int roffset,
int rlength)
|
int |
compare(org.apache.hadoop.io.BytesWritable left,
org.apache.hadoop.io.BytesWritable right)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HFileUtils.KeyValueComparator
public HFileUtils.KeyValueComparator()
compare
public int compare(byte[] left,
int loffset,
int llength,
byte[] right,
int roffset,
int rlength)
- Specified by:
compare
in interface org.apache.hadoop.io.RawComparator<org.apache.hadoop.io.BytesWritable>
compare
public int compare(org.apache.hadoop.io.BytesWritable left,
org.apache.hadoop.io.BytesWritable right)
- Specified by:
compare
in interface Comparator<org.apache.hadoop.io.BytesWritable>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.