I'm trying to scan my HBase table to get only rows that are missing some
I read that for getting rows with specific qualifiers I should use
List list = new ArrayList<Filter>(2);
Filter filter1 = new SingleColumnValueFilter(Bytes.toBytes("fam1"),
Filter filter2 = new SingleColumnValueFilter(Bytes.toBytes("fam2"),
FilterList filterList = new FilterList(list);
Scan scan = new Scan();
(I found this here:
And it works just fine.
So as I thought that if I use SkipFilter(FilterList) I'll skip the rows
returned by the filter list >> causing a sort of NOT and getting all rows
that don't have any of theses qualifiers.
This doesn't seem to work... Anyone has a good suggestion how to get rows
that are missing specific qualifiers ? Any idea why SkipFilter fails ?
Amit Sela 2013-05-08, 14:00
Ted Yu 2013-05-08, 14:47
samar.opensource 2013-05-14, 13:47
James Taylor 2013-05-14, 15:39