Class Utf8

java.lang.Object
org.apache.avro.util.Utf8
All Implemented Interfaces:
Externalizable, Serializable, CharSequence, Comparable<Utf8>

public class Utf8 extends Object implements Comparable<Utf8>, CharSequence, Externalizable
A Utf8 string. Unlike String, instances are mutable. This is more efficient than String when reading or writing a sequence of values, as a single instance may be reused.
See Also: