This might be handled using GenericData.  You'd specify no reader
schema when you create your GenericDatumReader so the in-memory data
is represented using the same schema it was written with.  Then use
GenericRecord#put & get to access the fields you require.

http://avro.apache.org/docs/current/api/java/org/apache/avro/generic/GenericRecord.html

Might that work?

Doug
On Tue, Feb 25, 2014 at 4:10 PM, Matan Amir <[EMAIL PROTECTED]> wrote:

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB