Hi Akram, I hope this helps... let me know When we put() [0] data in to Cassandra via Gora we first push into a Collections.synchronizedMap(new LinkedHashMap<K, T>()) which acts as a buffer for fields pending to be stored. You can also refer to flush() method which itself calls addOrUpdate [1]. This is all Avro-based and hopefully there is something which will help you out. Lewis
0] https://github.com/apache/gora/blob/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java#L405 [1] https://github.com/apache/gora/blob/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java#L484 On Thu, May 8, 2014 at 8:50 PM, Akram <[email protected]> wrote: > Can anyone help me on this? Any idea what can be done in this case? > A simple example basis on my code will help me to understand better... > > > > -- > View this message in context: > http://apache-avro.679487.n3.nabble.com/How-to-use-Apache-Avro-to-encode-the-data-and-write-it-to-a-hashmap-tp4029920p4029921.html > Sent from the Avro - Users mailing list archive at Nabble.com. > -- *Lewis*
