java.lang.Comparable<org.apache.hadoop.io.UTF8>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<org.apache.hadoop.io.UTF8>@Private
public class DeprecatedUTF8
extends org.apache.hadoop.io.UTF8
UTF8.
This class should be used only when it is absolutely necessary
to use UTF8. The only difference is that
using this class does not require "@SuppressWarning" annotation to avoid
javac warning. Instead the deprecation is implied in the class name.
This should be treated as package private class to HDFS.| Constructor | Description |
|---|---|
DeprecatedUTF8() |
|
DeprecatedUTF8(java.lang.String string) |
Construct from a given string.
|
DeprecatedUTF8(DeprecatedUTF8 utf8) |
Construct from a given string.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
readString(java.io.DataInput in) |
|
static int |
writeString(java.io.DataOutput out,
java.lang.String s) |
public DeprecatedUTF8()
public DeprecatedUTF8(java.lang.String string)
public DeprecatedUTF8(DeprecatedUTF8 utf8)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.