Package | Description |
---|---|
org.apache.avro.io |
Utilities for Encoding and Decoding Avro data.
|
org.apache.avro.mapred |
Run Hadoop MapReduce jobs over
Avro data, with map and reduce functions written in Java.
|
org.apache.avro.util |
Common utility classes.
|
Modifier and Type | Method and Description |
---|---|
Utf8 |
ValidatingDecoder.readString(Utf8 old) |
Utf8 |
ResolvingDecoder.readString(Utf8 old) |
Utf8 |
JsonDecoder.readString(Utf8 old) |
abstract Utf8 |
Decoder.readString(Utf8 old)
Reads a char-string written by
Encoder.writeString(org.apache.avro.util.Utf8) . |
Utf8 |
BinaryDecoder.readString(Utf8 old) |
Modifier and Type | Method and Description |
---|---|
Utf8 |
ValidatingDecoder.readString(Utf8 old) |
Utf8 |
ResolvingDecoder.readString(Utf8 old) |
Utf8 |
JsonDecoder.readString(Utf8 old) |
abstract Utf8 |
Decoder.readString(Utf8 old)
Reads a char-string written by
Encoder.writeString(org.apache.avro.util.Utf8) . |
Utf8 |
BinaryDecoder.readString(Utf8 old) |
void |
ValidatingEncoder.writeString(Utf8 utf8) |
void |
JsonEncoder.writeString(Utf8 utf8) |
abstract void |
Encoder.writeString(Utf8 utf8)
Write a Unicode character string.
|
void |
BinaryEncoder.writeString(Utf8 utf8) |
Modifier and Type | Method and Description |
---|---|
RecordReader<AvroWrapper<Utf8>,NullWritable> |
AvroUtf8InputFormat.getRecordReader(InputSplit split,
JobConf job,
Reporter reporter) |
Modifier and Type | Method and Description |
---|---|
Utf8 |
Utf8.set(String string)
Set to the contents of a String.
|
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) |
Constructor and Description |
---|
Utf8(Utf8 other) |
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.