I'm sorry that was an unfinished mail. The proper one comes next. But I believe it contains the essential: FilterLists inside a FilterList. Those code I didn't write is simply getting the scanner and count how many results it has.
Here's the proper mail: > 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); > > There are 1480 rows without PageFilter, but only 7 return with it ------------------ Michael.Calvin.Shi ------------------ 原始邮件 ------------------ 发件人: "Ted Yu";<[email protected]>; 发送时间: 2014年7月10日(星期四) 中午11:35 收件人: "[email protected]"<[email protected]>; 抄送: "user"<[email protected]>; 主题: Re: Why PageFilter returning less rows than it should be? Can you formulate the code snippet as a unit test ? It would be much easier to understand / debug that way. Thanks
