I have a data model as below using CQL3
CREATE TABLE test(
userid text,
entry_date timestamp,
attributes map<text, text>,
primary key (userid,entry_date)
);
Map contains lot of data. I need to have a search based on map key as well along with queries to support search based on userId and date range. Can you help me with data model along with an example in java using datastax drive api. If I could convert in to a wide row can you let me know how data will be organized and fetched using java.