Java org.apache.hadoop.io WritableComparator fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.io WritableComparator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.io WritableComparator.

The text is from its open source code.

Subclass

org.apache.hadoop.io.WritableComparator has subclasses.
Click this link to see all its subclasses.

Method

intcompare(WritableComparable a, WritableComparable b)
Compare two WritableComparables.
intcompare(Object a, Object b)
intcompare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
Optimization hook.
intcompareBytes(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
Lexicographic order of binary data.
WritableComparatorget(Class c)
For backwards compatibility.
inthashBytes(byte[] bytes, int length)
Compute hash for binary data.
doublereadDouble(byte[] bytes, int start)
Parse a double from a byte array.
floatreadFloat(byte[] bytes, int start)
Parse a float from a byte array.
intreadInt(byte[] bytes, int start)
Parse an integer from a byte array.
longreadLong(byte[] bytes, int start)
Parse a long from a byte array.
intreadUnsignedShort(byte[] bytes, int start)
Parse an unsigned short from a byte array.
intreadVInt(byte[] bytes, int start)
Reads a zero-compressed encoded integer from a byte array and returns it.
longreadVLong(byte[] bytes, int start)
Reads a zero-compressed encoded long from a byte array and returns it.