Example usage for Java org.apache.hadoop.typedbytes TypedBytesWritable fields, constructors, methods, implement or subclass
The text is from its open source code.
TypedBytesWritable() Create a TypedBytesWritable. | |
TypedBytesWritable(byte[] bytes) Create a TypedBytesWritable with a given byte array as initial value. |
byte[] | getBytes() Get the data backing the BytesWritable. |
int | getLength() Get the current size of the buffer. |
Object | getValue() Get the typed bytes as a Java object. |
void | set(byte[] newData, int offset, int length) Set the value to a copy of the given byte range |
void | set(BytesWritable newData) Set the BytesWritable to the contents of the given newData. |
void | setValue(Object obj) Set the typed bytes from a given Java object. |
String | toString() Generate a suitable string representation. |