Java org.apache.hadoop.typedbytes TypedBytesWritable fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.typedbytes TypedBytesWritable fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Constructor

TypedBytesWritable()
Create a TypedBytesWritable.
TypedBytesWritable(byte[] bytes)
Create a TypedBytesWritable with a given byte array as initial value.

Method

byte[]getBytes()
Get the data backing the BytesWritable.
intgetLength()
Get the current size of the buffer.
ObjectgetValue()
Get the typed bytes as a Java object.
voidset(byte[] newData, int offset, int length)
Set the value to a copy of the given byte range
voidset(BytesWritable newData)
Set the BytesWritable to the contents of the given newData.
voidsetValue(Object obj)
Set the typed bytes from a given Java object.
StringtoString()
Generate a suitable string representation.