Marko Milicevic wrote:
Is there any documentation on the Specific API and the Specific schema
format?

The schema is an Avro Schema, as documented in the spec.

http://hadoop.apache.org/avro/docs/current/spec.html

One uses SpecificCompiler to generate Java classes and interfaces from schemas a protocols. Once you've generated this code, you can look at it to see the Java API for your data. There are Ant tasks to facilitate code generation: ProtocolTask and SchemaTask.

http://hadoop.apache.org/avro/docs/current/api/java/org/apache/avro/specific/package-summary.html

The documentation's not great. We need a simple tutorial showing how this is done. You can look at the unit tests for examples.

Doug

Reply via email to