All Classes and Interfaces
Class
Description
Parser implementation that uses decoder from Apache Avro lib,
instead of Jackson native Avro decoder.
Simple helper class that contains extracted functionality for
simple encoder/decoder recycling.
Adds support for the following annotations from the Apache Avro implementation:
@AvroIgnore - Alias for JsonIgnore
@AvroName("custom Name") - Alias for JsonProperty("custom name")
@AvroDefault("default value") - Alias for JsonProperty.defaultValue, to
define default value for generated Schemas
@Nullable - Alias for JsonProperty(required = false)
@Stringable - Alias for JsonCreator on the constructor and JsonValue on
the Object.toString() method.When generate logical types is enabled, annotation instructs the
AvroSchemaGenerator
to declare the annotated property's logical type as "decimal" (LogicalTypes.Decimal).Default
TokenStreamFactory implementation for encoding/decoding Avro
content, uses native Jackson encoder/decoder.TSFBuilder
implementation for constructing AvroFactory
instances.Factory class for various default providers
Entity that encapsulates details of accessing value of a single field
of a "Record" (Avro term, corresponding roughly to JSON Object).
Only used during Avro schema generation; has no effect on data (de)serialization.
Convenience
AvroMapper, which is mostly similar to simply
constructing a mapper with AvroFactory, but also adds little
bit of convenience around AvroSchema generation.Base implementation for "Vanilla"
ObjectMapper, used with
Avro backend.Module that adds support for handling datatypes specific to the standard
Java Avro library:
Support handling of
Schema: remove from Avro lib generated types;
serialize as (JSON) String for others
Add special AnnotationIntrospector that supports Apache Avro lib
annotations
Support limited polymorphic handling of properties with nominal type
of Object.Annotation allows to override default Avro type namespace value.
JsonParser implementation for decoding Avro content and
exposing at as a stream of JsonTokens, to be used
for data binding.Implementation base class that exposes additional internal API
to be used as callbacks by
AvroReadContext implementations.We need to use a custom context to be able to carry along
Object and array records.
Helper class used for constructing a hierarchic reader for given
(reader-) schema.
Enumeration that defines all togglable features for Avro parsers.
RecyclerPool implementation that uses
a bounded queue (ArrayBlockingQueue for recycling instances.RecyclerPool implementation that uses
ConcurrentLinkedDeque for recycling instances.Dummy
RecyclerPool implementation that does not recycle
anything but simply creates new instances when asked to acquire items.ThreadLocal-based RecyclerPool implementation used for
recycling ApacheCodecRecycler instances:
see RecyclerPool.ThreadLocalPoolBase for full explanation
of functioning.Wrapper for Schema information needed to encode and decode Avro-format
data.
Class that can generate an
AvroSchema for a given Java POJO,
using definitions Jackson would use for serialization.Serializer modifier used to suppress serialization of "schema"
property for Avro-generated types.
Base class for handlers for Avro structured types (or in some cases,
scalar types that need to be exposed in unified way similar to
structured types).
TypeIdResolver for Avro type IDs embedded in schemas.Deserializer for handling when we have no target type, just schema type.
Enumeration that defines all togglable features for Avro generators
Writes out an object using a
CustomEncodingDeserializes an object using a avro
CustomEncodingSerializes an object using a avro
CustomEncodingWrapper that makes the methods on a
CustomEncoding accessible since they are otherwise package-private.Wraps an AvroParser instance and allows it to be advanced by reading from it like an avro
DecoderSimple container for Schemas that have already been generated during
generation process; used to share definitions.
Interface for handling opaque avro-encoded objects.
Specific visitor for Java Enum types that are to be exposed as
Avro Enums.
Parser implementation that uses native Jackson avro decoder.
Alternative to
ObjectWriteContext that needs to be used with
Avro Map datatype.Bogus
AvroReadContext implementation used in two cases:
Parser has not yet been configured by an Avro Schema
Parser has been closed (explicitly or implicitly)
In former case, attempts to read will result in a StreamReadException;
in latter case, results will simply indicate unavailability of content
(return `null` in most cases)Need to sub-class to prevent encoder from crapping on writing an optional
Enum value (see [dataformat-avro#12])
Bogus
AvroWriteContext used when ignoring structured output.Automatically generated from PackageVersion.java.in during
packageVersion-generate execution of maven-replacer-plugin in
pom.xml.
Context used at root level; basically just a container
over actual
AvroStructureReader.Helper classes for reading non-structured values, and can thereby usually
be accessed using simpler interface (although sometimes not: if so,
instances are wrapped in
ScalarDecoderWrappers).Container for various
ScalarDecoder implementations that are
used for providing default values for scalar-valued record properties.Default-providing
AvroFieldReader implementations for
structured types.Visitor for
UUID type.