I am using map type column in Cassandra 2.1.7. My requirement is that I have to preserve the order of values which I am inserting in Cassandra for later retrieval. For that I have used LinkedHashMap in Java which serves its purpose.
Now, while debugging I found the order is preserved till Java is handling the key-value pairs but while executing "insert into" CQL command, Cassandra rearranges the map keys in ascending order without asking me, which I don't like :-)
I have searched for providing sort options while defining map types in Cassandra but got nothing as map types got limited flexibility in Cassandra.
Could you please suggest any workaround to meet the above expectations !