All Classes and Interfaces

Class
Description
Returns items by their position (numeric index) in an array
Adds the given name and space as an alias to the schema.
 
Specifies a default value for a field as a JSON string.
Sets the avrodoc for this java field.
Expert: Fields with this annotation are encoded using the given custom encoder.
Indicates that an annotated class is an Avro generated class.
Marks a field as transient.
Adds the given key:Value pair as metadata into the schema, at the corresponding node.
 
Avro exception in case of missing fields.
Sets the avroname for this java field.
Base class for exceptions thrown to client by server.
Base Avro exception.
Declares that a Java type should have a specified Avro schema, overriding the normally inferred schema.
Thrown when an illegal type is used.
Exception thrown by a MessageDecoder when a message header is not recognized.
Utilities for binary-encoded data.
An Decoder for binary-format data.
An abstract Encoder for Avro's binary encoding.
A MessageDecoder that reads a binary-encoded datum.
A MessageEncoder that adds a header and 8-byte schema fingerprint to each datum encoded as binary.
A BinaryEncoder implementation that writes large arrays and maps as a sequence of blocks.
An Encoder for Avro's binary encoding that does not buffer output.
An Encoder for Avro's binary encoding.
Utility to present ByteBuffer data as an InputStream.
Utility to collect data written to an OutputStream in ByteBuffers.
Implements bzip2 compression and decompression.
Schema formatter factory that supports the "Parsing Canonical Form".
 
Interface for Avro-supported compression codecs for data files.
Encapsulates the ability to specify and configure a compression codec.
A ConcurrentHashMap that uses soft or weak references for both keys and values.
A single map entry.
A reference to an ConcurrentReferenceHashMap.Entry contained in the map.
Various reference types supported by this map.
The types of restructuring that can be performed.
Conversion between generic and logical type instances.
 
 
 
 
 
Expert: a custom encoder and decoder that writes an object directly to avro.
Constants used in data files.
Random access to files written with DataFileWriter.
Read files written by Avro version 1.2.
Streaming access to files written by DataFileWriter.
A handle that can be used to reopen a DataFile without re-reading the header of the stream.
Stores in a file a sequence of data conforming to a schema.
Thrown by DataFileWriter.append(Object) when an exception occurs while writing a datum to the buffer.
This encoder/decoder writes a java.util.Date object as a long to avro and reads a Date object from long.
Read data of a schema.
Write data of a schema.
Low-level support for de-serializing Avro values.
A factory for creating and configuring Decoders.
Implements DEFLATE (RFC1951) compression and decompression.
An Encoder for Avro's binary encoding that does not buffer output.
Low-level support for serializing Avro values.
A factory for creating and configuring Encoder instances.
Interface for error builders
 
 
 
 
 
 
 
Interface for reading data from a file.
Declares the size of implementations of GenericFixed.
Schema parser for a specific schema format.
Array that permits reuse of contained elements.
Contains data of other types.
Utilities for generic Java data.
 
Default implementation of an array.
Default implementation of GenericEnumSymbol.
Default implementation of GenericFixed.
 
Default implementation of GenericRecord.
Used to specify the Java type for a string schema.
DatumReader for generic Java objects.
DatumWriter for generic Java objects.
An enum symbol.
Fixed-size data.
A generic instance of a record schema.
A RecordBuilder for generic records.
A record implementation that permits field access by integer index.
 
 
Utilities for reading and writing arbitrary Json data in Avro format.
DatumReader for arbitrary Json data using the object model described in JsonProperties.
DatumWriter for arbitrary Json data using the object model described in JsonProperties.
A Decoder for Avro's JSON data encoding.
An Encoder for Avro's JSON data encoding.
The class that generates a grammar suitable to parse Avro data in JSON format.
Base class for objects that have JSON-valued properties.
 
 
 
Schema parser for JSON formatted schemata.
Selects items based on their "path" (name of a property under which they are stored) relative to the context.
Logical types provides an opt-in way to extend Avro's types.
 
 
Date represents a date without a time
Decimal represents arbitrary-precision fixed-scale decimal numbers
Duration represents a duration, consisting on months, days and milliseconds
 
 
 
Factory interface and SPI for logical types.
TimeMicros represents a time in microseconds without a date
TimeMillis represents a time in milliseconds without a date
TimestampMicros represents a date and time in microseconds
TimestampMillis represents a date and time in milliseconds
TimestampNanos represents a date and time in nanoseconds
Uuid represents a uuid without a time
Deprecated.
Use org.apache.avro.util.MapEntry
An implementation of Map.Entry with well-defined member names.
Returns items by their position (string key under which they are stored) in a map
 
Deserializes a single datum from a ByteBuffer, byte array, or InputStream.
Base class for MessageEncoder implementations that provides default implementations for most of the DatumEncoder API.
Serializes an individual datum as a ByteBuffer or to an OutputStream.
Exception thrown by a MessageDecoder when the message is encoded using an unknown Schema.
 
 
Utility to make data written to an ByteArrayOutputStream directly available as a ByteBuffer.
Declares that null is a valid value for a Java type.
Class to define a name context, useful to reference schemata with.
Parser is the class that maintains the stack for parsing.
The parser knows how to handle the terminal and non-terminal symbols.
Base class for parser-based Decoders.
Base class for parser-based Encoders.
root interface for all pieces of an AvroPath expression
a predicate is a filter that restricts items selected by a LocationStep
interface for exceptions that can trace the AvroPath of an error
filters items by their context position
 
 
 
 
 
 
A set of messages forming an application protocol.
Generates schema data as Java objects with random values.
A MessageDecoder that deserializes from raw datum bytes.
A MessageEncoder that encodes only a datum's bytes, without additional information (such as a schema fingerprint).
Interface for record builders
Abstract base class for RecordBuilder implementations.
Utilities to use existing Java classes and interfaces via reflection.
ReflectData implementation that permits null field values.
DatumReader for existing classes via Java reflection.
DatumWriter for existing classes via Java reflection.
A few utility methods for using @link{java.misc.Unsafe}, mostly for private use.
Encapsulate schema-resolution logic in an easy-to-consume representation.
An abstract class for an action to be taken to resolve a writer's schema (found in public instance variable writer) against a reader's schema (in reader).
Helps us traverse faster.
Used for array and map schemas: the public instance variable elementAction contains the resolving action needed for the element type of an array or value top of a map.
In this case, there's nothing to be done for resolution: the two schemas are effectively the same.
Contains information needed to resolve enumerations.
In this case there is an error.
 
In this case, the writer's type needs to be promoted to the reader's.
In this case, the reader is a union and the writer is not.
Instructions for resolving two record schemas.
This only appears inside Resolver.RecordAdjust.fieldActions, i.e., the actions for adjusting the fields of a record.
In this case, the writer was a union.
Decoder that performs type-resolution between the reader's and writer's schemas.
The class that generates a resolving grammar to resolve between two schemas.
 
 
An abstract data type.
A field within a record.
How values of this field should be ordered when sorting records.
A parser for JSON-format schemas.
Useful as key of Maps when traversing two schemas at the same time and need to watch for recursion.
The type of schema.
A fluent interface for building Schema instances.
Builds an Avro Array type with optional properties.
Choose whether to use a default value for the field or not.
A special Builder for Record fields.
A common API for building types within a context.
Builds an Avro boolean type with optional properties.
Choose whether to use a default value for the field or not.
Builds an Avro bytes type with optional properties.
Choose whether to use a default value for the field or not.
Builds an Avro double type with optional properties.
Choose whether to use a default value for the field or not.
Builds an Avro Enum type with optional properties, namespace, doc, and aliases.
Choose whether to use a default value for the field or not.
 
Builds a Field in the context of a SchemaBuilder.FieldAssembler.
Abstract base class for field defaults.
Builds an Avro Fixed type with optional properties, namespace, doc, and aliases.
Choose whether to use a default value for the field or not.
Builds an Avro float type with optional properties.
Choose whether to use a default value for the field or not.
 
Builds an Avro int type with optional properties.
Choose whether to use a default value for the field or not.
Builds an Avro long type with optional properties.
Choose whether to use a default value for the field or not.
Builds an Avro Map type with optional properties.
Choose whether to use a default value for the field or not.
An abstract type that provides builder methods for configuring the name, doc, and aliases of all Avro types that have names (fields, Fixed, Record, and Enum).
An abstract type that provides builder methods for configuring the namespace for all Avro types that have namespaces (Fixed, Record, and Enum).
Builds an Avro null type with optional properties.
Choose whether to use a default value for the field or not.
An abstract builder for all Avro types.
 
Choose whether to use a default value for the field or not.
Builds an Avro string type with optional properties.
Choose whether to use a default value for the field or not.
A Builder for creating any Avro schema type.
Accumulates all of the types in a union.
Builder for a union field.
Thrown for errors building schemas.
Evaluate the compatibility between a reader schema and a writer schema.
 
Immutable class representing details about a particular schema pair compatibility check.
Identifies the type of a schema compatibility result.
 
Provides information about the compatibility of a single reader and writer schema pair.
Interface and factory to format schemas to text.
Service Provider Interface (SPI) for SchemaFormatter.
Collection of static methods for generating the canonical form of schemas (see SchemaNormalization.toParsingForm(org.apache.avro.Schema)) -- and fingerprints of canonical forms (SchemaNormalization.fingerprint(java.lang.String, byte[])).
Thrown for errors parsing schemas and protocols.
Avro schema parser for text-based formats like JSON, IDL, etc.
 
Utility class to resolve schemas that are unavailable at the point they are referenced in a schema file.
This visitor checks if the current schema is fully resolved.
This visitor creates clone of the visited Schemata, minus the specified schema properties, and resolves all unresolved schemas.
Avro Schema utilities, to traverse...
Interface for classes that can provide avro schemas by fingerprint.
A map-based cache of schemas by AVRO-CRC-64 fingerprint.
 
Thrown when SchemaValidator fails to validate a schema.
An interface for validating the compatibility of a single schema against another.
A SchemaValidator has one method, which validates that a Schema is compatible with the other schemas provided.
A Builder for creating SchemaValidators.
 
 
A SeekableInput backed with data in a byte array.
A FileInputStream that implements SeekableInput.
An InputStream that supports seek and tell.
A parser that capable of skipping as well read and write.
The clients implement this interface to skip symbols and actions.
Implements Snappy compression and decompression.
Utilities for generated Java classes and interfaces.
Tag interface that indicates that a class has a one-argument constructor that accepts a Schema.
DatumReader for generated Java classes.
DatumWriter for generated Java classes.
Abstract base class for specific ErrorBuilder implementations.
Base class for specific exceptions.
Base class for generated fixed-sized data classes.
Implemented by generated record classes.
Base class for generated record classes.
Abstract base class for specific RecordBuilder implementations.
Declares that a class or field should be represented by an Avro string.
Symbol is the base of all symbols (terminals and non-terminals) of the grammar.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
An implementation of Syncable which writes to a file.
Thrown to prevent making large allocations when reading potentially pathological input data from an untrusted source.
 
 
 
 
 
 
 
 
 
 
A temporal amount to model an Avro duration (the logical type).
an AvroTypeException with extra fields used to trace back the path to a bad value through an object graph
a ClassCastException with extra fields used to trace back the path to a bad value through an object graph
a NullPointerException with extra fields used to trace back the path to a null value through an object graph
Declares that a Java type should be represented by an Avro union schema.
Returns items by their position (numeric index of type) in a union schema
 
Thrown when the expected contents of a union cannot be resolved.
A Utf8 string.
Text utilities especially suited for UTF encoded bytes.
A SchemaValidator for validating the provided schema against all schemas in the Iterable in ValidateAll.validate(Schema, Iterable).
A SchemaValidator for validating the provided schema against the first Schema in the iterable in ValidateLatest.validate(Schema, Iterable).
An implementation of Decoder that ensures that the sequence of operations conforms to a schema.
An implementation of Encoder that wraps another Encoder and ensures that the sequence of operations conforms to the provided schema.
The class that generates validating grammar.
Implements a combination of WeakHashMap and IdentityHashMap.
Implements xz compression and decompression.