hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eko Susilo <eko.harmawan.sus...@gmail.com>
Subject filtering a row that DOESN'T have a column
Date Thu, 02 Feb 2017 10:00:54 GMT
Hi,

I am looking for a way in hbase how to find rows that doesn't have a
particular column.

I tried combination of QualifierFilter and SkipFilter, but it still can't
pick up the expected rows.

Any suggestion will be appreciated.


Filter filter = new QualifierFilter(CompareFilter.CompareOp.EQUAL,new
BinaryComparator(Bytes.toBytes("column-name")));
Filter filter2 = new SkipFilter(filter);
scan.setFilter(filter2);


-- 
Best Regards,
Eko Susilo

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