hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Why PageFilter returning less rows than it should be?
Date Thu, 10 Jul 2014 03:35:24 GMT
Can you formulate the code snippet as a unit test ?

It would be much easier to understand / debug that way. 

Thanks

On Jul 9, 2014, at 8:31 PM, "神之疯神" <77231541@qq.com> wrote:

> Here's my code:
> Scan sc = new Scan();
> sc.addFamily(c);
> FilterList flo=new FilterList(Operator.MUST_PASS_ONE);
> flo.addFilter(somefilter);‍FilterList fla=new FilterList(Operator.MUST_PASS_ALL);
> fla.addFilter(somefilter);‍FilterList fl=new FilterList(Operator.MUST_PASS_ALL);
> fl.addFilter(new PageFilter(100));‍
> fl.addFilter(fla);
> fl.addFilter(flo);
>                sc.setFilter(fl);
>                sc.addFamily(c);
>                sc.setStartRow(lastrow.getBytes());‍
> 
> 
> 
> 1480‍
> ------------------
> Michael.Calvin.Insighter.Shi
> 神之疯神
> 石梦珂

Mime
View raw message