Package org.apache.avro.io
package org.apache.avro.io
Utilities for Encoding and Decoding Avro data.
Encoder is the abstract type encapsulating the
encoding of Avro data. Encoder instances are created and configured
with EncoderFactory.
Decoder is the abstract type encapsulating the
decoding of Avro data. Decoder instances are created and configured
with DecoderFactory.
-
ClassDescriptionUtilities for binary-encoded data.An
Decoderfor binary-format data.An abstractEncoderfor Avro's binary encoding.ABinaryEncoderimplementation that writes large arrays and maps as a sequence of blocks.AnEncoderfor Avro's binary encoding that does not buffer output.AnEncoderfor Avro's binary encoding.DatumReader<D>Read data of a schema.DatumWriter<D>Write data of a schema.Low-level support for de-serializing Avro values.A factory for creating and configuringDecoders.AnEncoderfor Avro's binary encoding that does not buffer output.Low-level support for serializing Avro values.A factory for creating and configuringEncoderinstances.ADecoderfor Avro's JSON data encoding.AnEncoderfor Avro's JSON data encoding.Decoderthat performs type-resolution between the reader's and writer's schemas.An implementation ofDecoderthat ensures that the sequence of operations conforms to a schema.An implementation ofEncoderthat wraps another Encoder and ensures that the sequence of operations conforms to the provided schema.