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.
Support for inter-process calls.
Protocol Buffer
compatibility.
Use Java reflection to generate schemas and protocols for existing
classes.
Generate specific Java classes for schemas and protocols.
Thrift compatibility.
-
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.ipc
Methods in org.apache.avro.ipc with parameters of type EncoderModifier and TypeMethodDescriptionvoidHandshakeRequest.customEncode(Encoder out) voidHandshakeResponse.customEncode(Encoder out) abstract voidResponder.writeError(Schema schema, Object error, Encoder out) Writes an error message.abstract voidRequestor.writeRequest(Schema schema, Object request, Encoder out) Writes a request message.abstract voidResponder.writeResponse(Schema schema, Object response, Encoder out) Writes a response message. -
Uses of Encoder in org.apache.avro.ipc.generic
Methods in org.apache.avro.ipc.generic with parameters of type EncoderModifier and TypeMethodDescriptionvoidGenericResponder.writeError(Schema schema, Object error, Encoder out) voidGenericRequestor.writeRequest(Schema schema, Object request, Encoder out) voidGenericResponder.writeResponse(Schema schema, Object response, Encoder out) -
Uses of Encoder in org.apache.avro.ipc.reflect
Methods in org.apache.avro.ipc.reflect with parameters of type EncoderModifier and TypeMethodDescriptionvoidReflectResponder.writeError(Schema schema, Object error, Encoder out) -
Uses of Encoder in org.apache.avro.ipc.specific
Methods in org.apache.avro.ipc.specific with parameters of type EncoderModifier and TypeMethodDescriptionvoidSpecificResponder.writeError(Schema schema, Object error, Encoder out) voidSpecificRequestor.writeRequest(Schema schema, Object request, Encoder out) -
Uses of Encoder in org.apache.avro.perf.test
Methods in org.apache.avro.perf.test that return EncoderModifier and TypeMethodDescriptionprotected EncoderBasicState.newEncoder(boolean direct, OutputStream out) protected EncoderBasicState.newEncoder(int blockSize, OutputStream out) -
Uses of Encoder in org.apache.avro.protobuf
Methods in org.apache.avro.protobuf 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) -
Uses of Encoder in org.apache.avro.thrift
Methods in org.apache.avro.thrift with parameters of type EncoderModifier and TypeMethodDescriptionprotected voidThriftDatumWriter.writeBytes(Object datum, Encoder out)