A org. provides an abstract definition of
a data type.
The in-memory representation of data is determined by org. and org. implementations. Generic
implementations are provided in the org.
package. A href=". can generate specific java classes and interfaces for
schemas and protocols. Schemas may be automatically generated for
existing Java classes by reflection using the org. package.
Data of a given schema is always serialized identically, regardless
of its in-memory representation, by traversing the schema and
writing leaf values from the data structure with a org.. Deserializing similarly proceeds by
traversing the schema, reading leaf values with a org. and storing them in an in-memory data
structure.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | SchemaValidationStrategy
An interface for validating the compatibility of a single schema against another. |
| public interface | SchemaValidator
A SchemaValidator has one method, which validates that a |
| Modifier and Type | Class and Description |
|---|---|
| public class | AvroMissingFieldException
Avro exception in case of missing fields. |
| public class | AvroRemoteException
Base class for exceptions thrown to client by server. |
| public class | AvroRuntimeException
Base Avro exception. |
| public class | AvroTypeException
Thrown when an illegal type is used. |
| public abstract class | Conversion<
a Java type that can represent the named logical type T>Conversion between generic and logical type instances. |
| public class | |
| public class | |
| public class | |
| public abstract class | JsonProperties
Base class for objects that have JSON-valued properties. |
| public class | LogicalType
Logical types provides an opt-in way to extend Avro's types. |
| public class | |
| public class | Protocol
A set of messages forming an application protocol. |
| public class | Resolver
Encapsulate schema-resolution logic in an easy-to-consume representation. |
| public abstract class | Schema
An abstract data type. |
| public class | SchemaBuilder
A fluent interface for building |
| public class | SchemaBuilderException
Thrown for errors building schemas. |
| public class | SchemaCompatibility
Evaluate the compatibility between a reader schema and a writer schema. |
| public class | SchemaNormalization
Collection of static methods for generating the canonical form of schemas
(see |
| public class | SchemaParseException
Thrown for errors parsing schemas and protocols. |
| public class | SchemaValidationException
Thrown when |
| public class | SchemaValidatorBuilder
A Builder for creating SchemaValidators. |
| public class | SystemLimitException
Thrown to prevent making large allocations when reading potentially pathological input data from an untrusted source. |
| public class | |
| public class | UnresolvedUnionException
Thrown when the expected contents of a union cannot be resolved. |
| public class | ValidateAll
A |
| pack-priv class | ValidateCanBeRead
A |
| pack-priv class | ValidateCanRead
A |
| public class | ValidateLatest
A |
| pack-priv class | ValidateMutualRead
A |