hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anoop John <anoop.hb...@gmail.com>
Subject Re: Retrive HBase row based on dynamic qualifier filters
Date Tue, 08 Nov 2016 06:09:22 GMT
Hi
   Ya the QualifierFilter is returning only the matched cells and skip
the remaining cells in the row.   I am not able to see any ready made
FIlter for ur usecase. U may have to write a custom one.

-Anoop-

On Tue, Nov 8, 2016 at 2:50 AM, Mukesh Jha <me.mukesh.jha@gmail.com> wrote:
> 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
View raw message