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
>
>
>
>
>
>
>
>
>
>


Reply via email to