Top Description Interfaces Classes
[default module]

Package org.apache.avro.io


Utilities for Encoding and Decoding Avro data.

org.apache.avro.io.Encoder is the abstract type encapsulating the encoding of Avro data. Encoder instances are created and configured with org.apache.avro.io.EncoderFactory.

org.apache.avro.io.Decoder is the abstract type encapsulating the decoding of Avro data. Decoder instances are created and configured with org.apache.avro.io.DecoderFactory.

Interface Summary

Modifier and TypeInterface and Description
public interface
DatumReader<D>

Read data of a schema.

public interface
DatumWriter<D>

Write data of a schema.

Class Summary

Modifier and TypeClass and Description
public class
BinaryData

Utilities for binary-encoded data.

public class
BinaryDecoder

An Decoder for binary-format data.

public abstract class
BinaryEncoder

An abstract Encoder for Avro's binary encoding.

public class
BlockingBinaryEncoder

A BinaryEncoder implementation that writes large arrays and maps as a sequence of blocks.

public class
BufferedBinaryEncoder

An Encoder for Avro's binary encoding.

public abstract class
Decoder

Low-level support for de-serializing Avro values.

public class
DecoderFactory

A factory for creating and configuring Decoders.

pack-priv class
DirectBinaryDecoder

A non-buffering version of BinaryDecoder.

public class
DirectBinaryEncoder

An Encoder for Avro's binary encoding that does not buffer output.

public abstract class
Encoder

Low-level support for serializing Avro values.

public class
EncoderFactory

A factory for creating and configuring Encoder instances.

public class
public class
JsonDecoder

A Decoder for Avro's JSON data encoding.

public class
JsonEncoder

An Encoder for Avro's JSON data encoding.

public abstract class
ParsingDecoder

Base class for parser-based Decoders.

public abstract class
ParsingEncoder

Base class for parser-based Encoders.

public class
ResolvingDecoder

Decoder that performs type-resolution between the reader's and writer's schemas.

public class
ValidatingDecoder

An implementation of Decoder that ensures that the sequence of operations conforms to a schema.

public class
ValidatingEncoder

An implementation of Encoder that wraps another Encoder and ensures that the sequence of operations conforms to the provided schema.