@InterfaceAudience.Public
@InterfaceStability.Unstable
public class TezBytesComparator
extends org.apache.hadoop.io.WritableComparator
implements org.apache.tez.runtime.library.common.comparator.ProxyComparator<org.apache.hadoop.io.BytesWritable>
| Constructor and Description |
|---|
TezBytesComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
Compare the buffers in serialized form.
|
int |
getProxy(org.apache.hadoop.io.BytesWritable key)
This comparator interface provides a fast-path for comparisons between keys.
|
compare, compare, compareBytes, define, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLongclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompare, equalspublic int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
compare in interface org.apache.hadoop.io.RawComparatorcompare in class org.apache.hadoop.io.WritableComparatorpublic int getProxy(org.apache.hadoop.io.BytesWritable key)
org.apache.tez.runtime.library.common.comparator.ProxyComparatorgetProxy in interface org.apache.tez.runtime.library.common.comparator.ProxyComparator<org.apache.hadoop.io.BytesWritable>Copyright © 2015 Apache Software Foundation. All rights reserved.