Java org.apache.spark.unsafe.types UTF8String fields, constructors, methods, implement or subclass

Example usage for Java org.apache.spark.unsafe.types UTF8String fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.spark.unsafe.types UTF8String.

The text is from its open source code.

Field

intnumBytes
UTF8StringEMPTY_UTF8

Method

UTF8StringfromBytes(byte[] bytes)
Creates an UTF8String from byte array, which should be encoded in UTF-8.
UTF8StringfromString(String str)
Creates an UTF8String from String.
byte[]getBytes()
Returns the underline bytes, will be a copy of it if it's part of another array.