Package org.apache.avro.reflect

Use Java reflection to generate schemas and protocols for existing classes.

See: Description

Package org.apache.avro.reflect Description

Use Java reflection to generate schemas and protocols for existing classes.

Java types are mapped to Avro schemas as follows:

The Union annotation can be used to support reflection of schemas for interfaces, abstract base classes and other uses of polymorphism.

The Stringable annotation will cause a type to be serialized via its toString method.

Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.