3

I am saving list of data as below in hbase with unique id along with column family name : enter image description here

I can query on address column family with specific id but I want to query on the json value like

where homenumber = 4

Can we do that? Any example will be helpful

Thanks

Ruby
  • 873
  • 5
  • 20
  • 47
  • I have the same issue, did you ever figure out how? I'm using a Java client though, but if you figure it out i can probably find a way to adapt it. – Klam Apr 18 '19 at 16:51

1 Answers1

-1

You can use HBase filter for this. Find the possible duplicate questions

Scan with filter using HBase shell

Scan HTable rows for specific column value using HBase shell



To start working with HBase filter, refer

http://hbase.apache.org/0.94/book/client.filter.html

http://www.hadooptpoint.org/filters-in-hbase-shell/

Kumar
  • 3,782
  • 4
  • 39
  • 87
  • 1
    those links works for key value column as I said above my value is itself a jsonString for which the key is address:someUnique id , I can fetch value based on id , what I m looking for is within value json search some data – Ruby Apr 06 '18 at 11:27