avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: reflected char array returning null package.
Date Tue, 01 Dec 2009 20:05:21 GMT
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.


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.


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


View raw message