avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marko Milicevic" <MMilice...@pssd.com>
Subject RE: reflected char array returning null package.
Date Tue, 01 Dec 2009 21:10:10 GMT
Thanks Philp, i did not clue in that "specific" meant generating java
classes from schemas specified by the "Specification" doc.
http://hadoop.apache.org/avro/docs/current/spec.html
 
Thanks to Doug and yourself, i'm straight now.

Marko.
.

________________________________

From: Philip Zeyliger [mailto:philip@cloudera.com] 
Sent: Tuesday, December 01, 2009 3:07 PM
To: avro-user@hadoop.apache.org
Subject: Re: reflected char array returning null package.




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



Mime
View raw message