You can use Maps as long as their key type is limited to strings I think. Map<String, X> is alright (X should also be Avro-acceptable, of course..).
On Fri, Apr 8, 2011 at 7:49 PM, Weishung Chung <[email protected]> wrote: > I am using Apache Avro in my project and was wondering could it be possible > to add a field Map (TreeMap). I know that we can use Array and it works but > I would like to be able to get by key :) > Thank you, > Wei Shung -- Harsh J http://harshj.com
