This project has retired. For details please refer to its
Attic page.
ChukwaArchiveKey.Comparator (Apache Chukwa 0.8.0 API)
- java.lang.Object
-
- org.apache.hadoop.io.WritableComparator
-
- org.apache.hadoop.record.RecordComparator
-
- org.apache.hadoop.chukwa.ChukwaArchiveKey.Comparator
-
-
Constructor Summary
Constructors
Constructor and Description |
Comparator() |
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
static int |
compareRaw(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
static int |
slurpRaw(byte[] b,
int s,
int l) |
-
Methods inherited from class org.apache.hadoop.record.RecordComparator
define
-
Methods inherited from class org.apache.hadoop.io.WritableComparator
compare, compare, compareBytes, define, get, get, getConf, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong, setConf
-
Methods inherited from interface java.util.Comparator
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
Constructor Detail
-
Comparator
public Comparator()
-
Method Detail
-
compareRaw
public static int compareRaw(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
-
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
- Specified by:
compare
in class org.apache.hadoop.record.RecordComparator
Copyright © 2016 Apache Software Foundation. All Rights Reserved.