Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Want to store nested hashmap in hbase using Java

Want to store nested hashmap in hbase using Java

New Contributor

Want to store nested hashmap in hbase using java

eg. Map<String,String> m= new HashMap<String,String>();

m.put("a","Apple");

m.put("b","Ball");

m.put("c","Cat");

Map<String,Map> m1 =new HashMap<String,Map>();

m1.put("1",m);

Note - value i dont want to store as String

1 is as Row key

Don't have an account?
Coming from Hortonworks? Activate your account here