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

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

Introduction

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

The text is from its open source code.

Constructor

UTF8(String string)
Construct from a given string.
UTF8(UTF8 utf8)
Construct from a given string.

Method

byte[]getBytes()
The raw bytes.
intgetLength()
The number of bytes in the encoded string.
StringreadString(DataInput in)
Read a UTF-8 encoded string.
intwriteString(DataOutput out, String s)
Write a UTF-8 encoded string.