Hi Eunsu,

Unfortunately there is not really a way to do this that I'm aware of.  The
page id contains data indicating where to start reading the next set of
rows (such as partition and clustering information), and in order to get to
that position you have to actually read the data.

The driver does have an API for manually specifying the page id to use and
we've documented some strategies
for storing and reusing the page id later, but not sure if that helps for
your particular use case.


On Thu, Dec 28, 2017 at 9:11 PM, Eunsu Kim <eunsu.bil...@gmail.com> wrote:

> Hello everybody,
> I am using the datastax Java driver (3.3.0).
> When query large amounts of data, we set the fetch size (10000) and
> transmit the data to the browser on a page-by-page basis.
> I am wondering if I can get the page id without receiving the real rows
> from the cassandra to my server.
> I only need 100 in front of 100,000. But I want the next page to be
> 100001th.
> If you have a good idea, please share it.
> Thank you.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: user-h...@cassandra.apache.org

Reply via email to