@InterfaceAudience.Private public class DeprecatedUTF8 extends 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.UTF8.Comparator
Constructor and Description |
---|
DeprecatedUTF8() |
DeprecatedUTF8(DeprecatedUTF8 utf8)
Construct from a given string.
|
DeprecatedUTF8(String string)
Construct from a given string.
|
Modifier and Type | Method and Description |
---|---|
static String |
readString(DataInput in) |
static int |
writeString(DataOutput out,
String s) |
public DeprecatedUTF8()
public DeprecatedUTF8(String string)
public DeprecatedUTF8(DeprecatedUTF8 utf8)
public static String readString(DataInput in) throws IOException
IOException
public static int writeString(DataOutput out, String s) throws IOException
IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.