Package org.apache.avro.specific

Generate specific Java classes for schemas and protocols.

See: Description

Package org.apache.avro.specific Description

Generate specific Java classes for schemas and protocols.

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:

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-2014 The Apache Software Foundation. All Rights Reserved.