avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Zeyliger <phi...@cloudera.com>
Subject Re: reflected char array returning null package.
Date Tue, 01 Dec 2009 20:06:39 GMT
On Tue, Dec 1, 2009 at 11:42 AM, Marko Milicevic <MMilicevic@pssd.com>wrote:

> Thanks Doug.
> Is there any documentation on the Specific API and the Specific schema
> format?

The schema format is the same, always.  What's going on is that there are
three different APIs to work with data.  The "specific" API uses generated
code.  (You generate that code with "avroj compile" or by using an ant task;
"avroj compile" is only in trunk, though.)  The "generic" API exposes a
map-like interface: you use string keys to access fields.  The "reflect" API
maps onto existing classes and is quite handy for adapting existing systems.

-- Philip

View raw message