Uses of Class
org.apache.avro.io.Encoder
Packages that use Encoder
Package
Description
Interfaces and base classes shared by generic, specific and reflect.
A generic representation for Avro data.
Utilities for Encoding and Decoding Avro data.
Implementation of Avro schemas as LL(1) grammars.
Use Java reflection to generate schemas and protocols for existing
classes.
Generate specific Java classes for schemas and protocols.
-
Uses of Encoder in org.apache.avro.data
Methods in org.apache.avro.data with parameters of type Encoder -
Uses of Encoder in org.apache.avro.generic
Methods in org.apache.avro.generic with parameters of type EncoderModifier and TypeMethodDescriptionvoidprotected voidCalled to write data.protected voidGenericDatumWriter.writeArray(Schema schema, Object datum, Encoder out) Called to write a array.protected voidGenericDatumWriter.writeBytes(Object datum, Encoder out) Called to write a bytes.protected voidCalled to write an enum value.protected voidGenericDatumWriter.writeField(Object datum, Schema.Field f, Encoder out, Object state) Called to write a single field of a record.protected voidGenericDatumWriter.writeFixed(Schema schema, Object datum, Encoder out) Called to write a fixed value.protected voidCalled to write a map.protected voidGenericDatumWriter.writeRecord(Schema schema, Object datum, Encoder out) Called to write a record.protected voidGenericDatumWriter.writeString(Object datum, Encoder out) Called to write a string.protected voidGenericDatumWriter.writeString(Schema schema, Object datum, Encoder out) Called to write a string.protected voidGenericDatumWriter.writeWithoutConversion(Schema schema, Object datum, Encoder out) Called to write data. -
Uses of Encoder in org.apache.avro.io
Subclasses of Encoder in org.apache.avro.ioModifier and TypeClassDescriptionclassAn abstractEncoderfor Avro's binary encoding.classABinaryEncoderimplementation that writes large arrays and maps as a sequence of blocks.classAnEncoderfor Avro's binary encoding that does not buffer output.classAnEncoderfor Avro's binary encoding.classAnEncoderfor Avro's binary encoding that does not buffer output.classAnEncoderfor Avro's JSON data encoding.classclassAn implementation ofEncoderthat wraps another Encoder and ensures that the sequence of operations conforms to the provided schema.Fields in org.apache.avro.io declared as EncoderMethods in org.apache.avro.io with parameters of type EncoderModifier and TypeMethodDescriptionReconfigures this ValidatingEncoder to wrap the encoder provided.EncoderFactory.validatingEncoder(Schema schema, Encoder encoder) Creates aValidatingEncoderthat wraps the Encoder provided.voidWrite a datum. -
Uses of Encoder in org.apache.avro.io.parsing
Methods in org.apache.avro.io.parsing with parameters of type Encoder -
Uses of Encoder in org.apache.avro.reflect
Methods in org.apache.avro.reflect with parameters of type EncoderModifier and TypeMethodDescriptionprotected abstract voidprotected final voidprotected voidprotected voidReflectDatumWriter.writeArray(Schema schema, Object datum, Encoder out) Called to write a array.protected voidReflectDatumWriter.writeBytes(Object datum, Encoder out) protected voidReflectDatumWriter.writeField(Object record, Schema.Field f, Encoder out, Object state) -
Uses of Encoder in org.apache.avro.specific
Methods in org.apache.avro.specific with parameters of type EncoderModifier and TypeMethodDescriptionvoidSpecificRecordBase.customEncode(Encoder out) protected voidprotected voidSpecificDatumWriter.writeField(Object datum, Schema.Field f, Encoder out, Object state) protected voidSpecificDatumWriter.writeRecord(Schema schema, Object datum, Encoder out) protected voidSpecificDatumWriter.writeString(Schema schema, Object datum, Encoder out)