See: Description
Interface | Description |
---|---|
SpecificData.SchemaConstructable |
Tag interface that indicates that a class has a one-argument constructor
that accepts a Schema.
|
SpecificRecord |
Implemented by generated record classes.
|
Class | Description |
---|---|
SpecificData |
Utilities for generated Java classes and interfaces.
|
SpecificDatumReader<T> |
DatumReader for generated Java classes. |
SpecificDatumWriter<T> |
DatumWriter for generated Java classes. |
SpecificErrorBuilderBase<T extends SpecificExceptionBase> |
Abstract base class for specific ErrorBuilder implementations.
|
SpecificFixed |
Base class for generated fixed-sized data classes.
|
SpecificRecordBase |
Base class for generated record classes.
|
SpecificRecordBuilderBase<T extends SpecificRecord> |
Abstract base class for specific RecordBuilder implementations.
|
Exception | Description |
---|---|
SpecificExceptionBase |
Base class for specific exceptions.
|
Annotation Type | Description |
---|---|
AvroGenerated |
Indicates that an annotated class is an Avro generated class.
|
FixedSize |
Declares the size of implementations of
GenericFixed . |
This API is recommended for most RPC uses and for data applications
that always use the same datatypes, i.e., whose schemas are known at
compile time. For data applications that accept dynamic datatypes
the generic
API is recommended.
Avro types are mapped to Java as follows:
generic
API.Note that when a generated class is not found corresponding to a
record, enum or fixed schema, a generic
representation is used. This permits generated classes to
be nested within generic data structures.
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.