Example usage for org.apache.hadoop.io UTF8 UTF8

List of usage examples for org.apache.hadoop.io UTF8 UTF8

Introduction

In this page you can find the example usage for org.apache.hadoop.io UTF8 UTF8.

Prototype

public UTF8(UTF8 utf8) 

Source Link

Document

Construct from a given string.

Usage

From source file:org.elasticsearch.hadoop.serialization.WritableTypeToJsonTest.java

License:Apache License

@Test
public void testUTF8() {
    writableTypeToJson(new UTF8("some utf8"));
}