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?
On Tue, Feb 25, 2014 at 4:10 PM, Matan Amir <[EMAIL PROTECTED]> wrote: