hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mukesh Jha <me.mukesh....@gmail.com>
Subject Retrive HBase row based on dynamic qualifier filters
Date Mon, 07 Nov 2016 21:20:13 GMT
Hello HBase users,

I have an hbase tables with timestamp based dynamic column qualifiers,
where it can look like below* [1]*.

I want to use a qualifier filter which basically checks for the presences
of a timestamp say ts1, and if it's present it should return the whole
hbase row.

I looked into using QualifierFilter *[2]* but it returns only the matched
rows and not the entire HBaseRow.

What is the best way to deal with this scenario?

Thanks for the help, you guys are super helpful.

*[1] HbaseRow*
rowKey1 => {
  cf1 => {
     ts1 => val1,
     ts2 => val2,
     ts6 => val6,
     foo => Array[Byte],
     bar => Array[Byte]
  }
}

*[2]*
https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/filter/QualifierFilter.html

-- 
Thanks & Regards,

*Mukesh Jha <me.mukesh.jha@gmail.com>*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message