Package org.apache.avro.specific

Generate specific Java classes for schemas and protocols.

See:
          Description

Interface Summary
SpecificRecord Implemented by generated record classes.
 

Class Summary
ProtocolTask Ant task to generate Java interface and classes for a protocol.
SchemaTask Ant task to generate Java interface and classes for a protocol.
SpecificCompiler Generate specific Java interfaces and classes for protocols and schemas.
SpecificCompiler.SpecificCompilerTool Implementation of Tool for inclusion by the "avro-tools" runner.
SpecificData Utilities for generated Java classes and interfaces.
SpecificDatumReader<T> DatumReader for generated Java classes.
SpecificDatumWriter<T> DatumWriter for generated Java classes.
SpecificFixed Base class for generated fixed-sized data classes.
SpecificRecordBase Base class for generated record classes.
SpecificRequestor Requestor for generated interfaces.
SpecificResponder Responder for generated interfaces.
 

Exception Summary
SpecificExceptionBase Base class for specific exceptions.
 

Annotation Types Summary
FixedSize Declares the size of implementations of GenericFixed.
 

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:



Copyright © 2010 The Apache Software Foundation