Package | Description |
---|---|
org.apache.avro.io |
Utilities for Encoding and Decoding Avro data.
|
org.apache.avro.util |
Common utility classes.
|
Modifier and Type | Method and Description |
---|---|
abstract Utf8 |
Decoder.readString(Utf8 old)
Reads a char-string written by
Encoder.writeString(org.apache.avro.util.Utf8) . |
Utf8 |
JsonDecoder.readString(Utf8 old) |
Utf8 |
ValidatingDecoder.readString(Utf8 old) |
Utf8 |
ResolvingDecoder.readString(Utf8 old) |
Utf8 |
BinaryDecoder.readString(Utf8 old) |
Modifier and Type | Method and Description |
---|---|
abstract Utf8 |
Decoder.readString(Utf8 old)
Reads a char-string written by
Encoder.writeString(org.apache.avro.util.Utf8) . |
Utf8 |
JsonDecoder.readString(Utf8 old) |
Utf8 |
ValidatingDecoder.readString(Utf8 old) |
Utf8 |
ResolvingDecoder.readString(Utf8 old) |
Utf8 |
BinaryDecoder.readString(Utf8 old) |
void |
JsonEncoder.writeString(Utf8 utf8) |
abstract void |
Encoder.writeString(Utf8 utf8)
Write a Unicode character string.
|
void |
BinaryEncoder.writeString(Utf8 utf8) |
void |
ValidatingEncoder.writeString(Utf8 utf8) |
Modifier and Type | Method and Description |
---|---|
Utf8 |
Utf8.set(String string)
Set to the contents of a String.
|
Utf8 |
Utf8.set(Utf8 other) |
Utf8 |
Utf8.setByteLength(int newLength)
Set length in bytes.
|
Utf8 |
Utf8.setLength(int newLength)
Deprecated.
call
setByteLength(int) instead. |
Modifier and Type | Method and Description |
---|---|
int |
Utf8.compareTo(Utf8 that) |
Utf8 |
Utf8.set(Utf8 other) |
Constructor and Description |
---|
Utf8(Utf8 other) |
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.