Example usage for Java org.apache.spark.unsafe.types UTF8String fields, constructors, methods, implement or subclass
The text is from its open source code.
int | numBytes |
UTF8String | EMPTY_UTF8 |
UTF8String | fromBytes(byte[] bytes) Creates an UTF8String from byte array, which should be encoded in UTF-8. |
UTF8String | fromString(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. |