Ah, good point. I missed that. I guess to make this work we need to add an RCP method on regionserver to get the current filter, grab it clientside when done with a region, and pass it back to the next region to be scanned (rather than a fresh filter as currently).
2008/6/18 stack <[EMAIL PROTECTED]>: > I was going to suggest filters but was wondering what happens when you cross > regions or cross regionservers? What happens if regionserver A only has > half of the fifth page and you need to go to another server to get the rest? > Its filters will know nought of regionserver A's state? > > Thanks, > St.Ack > > Clint Morgan wrote: >> >> Why the aversion to filters? Thats how we solve this problem, I have a >> simple SkipRowFilter that I wrote that does exactly this... >> -clint >> >> 2008/6/18 Krzysztof Gałęcki <[EMAIL PROTECTED]>: >> >>> >>> I can't cache items on List because of two main reasons: >>> >>> 1. I have to many items to cache them in memory >>> 2. I would also like to use non GUID-based rowIds. In that situation we >>> are >>> talking about inserting items, not just adding them to the end of table >>> (list). >>> >>> I think there should be some method which allows to skip n rows (of >>> course >>> only in case with no filters) >>> >>> k. >>> >>> >>> -----Original Message----- >>> From: Jean-Daniel Cryans [mailto:[EMAIL PROTECTED] >>> Sent: Wednesday, June 18, 2008 5:27 PM >>> To: [email protected] >>> Subject: Re: Problem with scanner again >>> >>> Hi krzych, >>> >>> If you really need help fast, come see us on IRC. Details are on the >>> website. >>> >>> My solution for your problem would be to cache the results in a List >>> instead >>> of always scanning the table. >>> >>> jdcryans >>> >>> On Wed, Jun 18, 2008 at 11:20 AM, Krzysztof Gałęcki >>> <[EMAIL PROTECTED]> wrote: >>> >>> >>>> >>>> Sorry for spam, but looks like I send this message as a replay to some >>>> other >>>> post, so one more time: >>>> >>>> >>>> >>>> >>>> >>>> Hi >>>> >>>> >>>> >>>> I have a problem with scanner on HTable object: I have a table with >>>> GUID-based rowId. I would like to display items from this table on pages >>>> (for example 10 items on each page). I'm creating scanner on this table >>>> (without any filters!!), skipping for example 40 items (for 5th page) >>>> and >>>> then take next 10 rows and returning them as result. The problem is I >>>> have >>>> to manually skip that 40 items. Is there any possibility to skip more >>>> than >>>> 1 >>>> row in some other way? >>>> >>>> >>>> >>>> Regards >>>> >>>> >>>> >>>> krzych >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> > >
