|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.io.BinaryData
public class BinaryData
Utilities for binary-encoded data.
Method Summary | |
---|---|
static int |
compare(byte[] b1,
int s1,
byte[] b2,
int s2,
Schema schema)
Compare binary encoded data. |
static int |
compareBytes(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
Lexicographically compare bytes. |
static int |
hashCode(byte[] bytes,
int start,
int length,
Schema schema)
Hash binary encoded data. |
static int |
skipLong(byte[] bytes,
int start)
Skip a binary-encoded long, returning the position after it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int compare(byte[] b1, int s1, byte[] b2, int s2, Schema schema)
GenericData.compare(Object, Object, Schema)
.
public static int compareBytes(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
public static int hashCode(byte[] bytes, int start, int length, Schema schema)
GenericData.hashCode(Object, Schema)
.
public static int skipLong(byte[] bytes, int start)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |