Uses of Class
org.apache.avro.io.Decoder
Packages that use Decoder
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.
Support for inter-process calls.
Protocol Buffer
compatibility.
Use Java reflection to generate schemas and protocols for existing
classes.
Thrift compatibility.
-
Uses of Decoder in org.apache.avro.data
Methods in org.apache.avro.data with parameters of type Decoder -
Uses of Decoder in org.apache.avro.generic
Methods in org.apache.avro.generic with parameters of type DecoderModifier and TypeMethodDescriptionstatic voidGenericDatumReader.ensureAvailableCollectionBytes(Decoder decoder, long count, Schema elementSchema) Validates that the decoder has enough remaining bytes to holdcountelements of the given schema, assuming each element requires at leastGenericDatumReader.minBytesPerElement(org.apache.avro.Schema)bytes.protected ObjectCalled to read byte arrays.protected ObjectCalled to read byte arrays.protected ObjectCalled to read an enum value.protected ObjectCalled to read a fixed value.protected ObjectCalled to read integers.protected ObjectGenericDatumReader.readMapKey(Object old, Schema expected, Decoder in) Called by the default implementation ofGenericDatumReader.readMap(java.lang.Object, org.apache.avro.Schema, org.apache.avro.io.ResolvingDecoder)to read a key value.protected ObjectGenericDatumReader.readString(Object old, Decoder in) Called to read strings.protected ObjectGenericDatumReader.readString(Object old, Schema expected, Decoder in) Called to read strings.static voidSkip an instance of a schema. -
Uses of Decoder in org.apache.avro.io
Subclasses of Decoder in org.apache.avro.ioModifier and TypeClassDescriptionclassAnDecoderfor binary-format data.classADecoderfor Avro's JSON data encoding.classclassDecoderthat performs type-resolution between the reader's and writer's schemas.classAn implementation ofDecoderthat ensures that the sequence of operations conforms to a schema.Fields in org.apache.avro.io declared as DecoderMethods in org.apache.avro.io with parameters of type DecoderModifier and TypeMethodDescriptionRe-initialize, reading from a new underlying Decoder.voidRead a datum.DecoderFactory.resolvingDecoder(Schema writer, Schema reader, Decoder wrapped) Creates aResolvingDecoderwrapping the Decoder provided.DecoderFactory.validatingDecoder(Schema schema, Decoder wrapped) Creates aValidatingDecoderwrapping the Decoder provided. -
Uses of Decoder in org.apache.avro.ipc
Methods in org.apache.avro.ipc with parameters of type DecoderModifier and TypeMethodDescriptionDeprecated.abstract ExceptionReads an error message.abstract ObjectResponder.readRequest(Schema actual, Schema expected, Decoder in) Reads a request message.Requestor.readResponse(Schema schema, Decoder in) Deprecated.abstract ObjectRequestor.readResponse(Schema writer, Schema reader, Decoder in) Reads a response message. -
Uses of Decoder in org.apache.avro.ipc.generic
Methods in org.apache.avro.ipc.generic with parameters of type Decoder -
Uses of Decoder in org.apache.avro.ipc.specific
Methods in org.apache.avro.ipc.specific with parameters of type Decoder -
Uses of Decoder in org.apache.avro.perf.test
Methods in org.apache.avro.perf.test that return Decoder -
Uses of Decoder in org.apache.avro.protobuf
Methods in org.apache.avro.protobuf with parameters of type Decoder -
Uses of Decoder in org.apache.avro.reflect
Methods in org.apache.avro.reflect with parameters of type Decoder -
Uses of Decoder in org.apache.avro.thrift
Methods in org.apache.avro.thrift with parameters of type Decoder