hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fateme Abiri <fateme.ab...@yahoo.com>
Subject scan table using multi row prefix match
Date Tue, 17 Dec 2013 14:14:48 GMT
hi friends
I want to use a filter in hbase to return  rows with different prefix... 

for eg. my rows structure are  <id>+URLStrings

so i want to return rows with  4  <id> prefix :


how can I do that?
i use 

FilterLis RowFilterlist; RowFilterlist= new FilterLis(FilterList.Operator.Must_PASS_ON)

//add 4 id to prefix match....

for(int i=0;i<5;i++){
RowFilterlist.addFilter(new RowFilter(CompareFilter.CompareOp.EQUAL, new RegexStringComparator("<"+id+">"+"[\\S]+"));

is it correct? its return wrong rows !!!
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message