public static class ChukwaArchiveKey.Comparator
extends org.apache.hadoop.record.RecordComparator
Constructor and Description |
---|
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, get, getConf, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
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 © 2015 Apache Software Foundation. All Rights Reserved.