public static class ChukwaArchiveKey.Comparator
extends org.apache.hadoop.record.RecordComparator
Constructor and Description |
---|
ChukwaArchiveKey.Comparator() |
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) |
compare, compare, compareBytes, define, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static int slurpRaw(byte[] b, int s, int l)
public static int compareRaw(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface org.apache.hadoop.io.RawComparator
compare
in class org.apache.hadoop.record.RecordComparator
Copyright © 2014 Apache Software Foundation. All Rights Reserved.