Re: A question to 'paging' support in DataStax java driver

2016-05-10 Thread Sebastian Estevez
, 2016 1:09 AM, "Lu, Boying" <boying...@emc.com> wrote: > >> I filed a JIRA https://issues.apache.org/jira/browse/CASSANDRA-11741 to >> track this. >> >> >> >> *From:* DuyHai Doan [mailto:doanduy...@gmail.com] >> *Sent:* 2016年5月10日 12:47 >> *T

RE: A question to 'paging' support in DataStax java driver

2016-05-10 Thread Sebastian Estevez
wse/CASSANDRA-11741 to > track this. > > > > *From:* DuyHai Doan [mailto:doanduy...@gmail.com] > *Sent:* 2016年5月10日 12:47 > *To:* user@cassandra.apache.org > *Subject:* Re: A question to 'paging' support in DataStax java driver > > > > I guess it's technically possible bu

RE: A question to 'paging' support in DataStax java driver

2016-05-09 Thread Lu, Boying
I filed a JIRA https://issues.apache.org/jira/browse/CASSANDRA-11741 to track this. From: DuyHai Doan [mailto:doanduy...@gmail.com] Sent: 2016年5月10日 12:47 To: user@cassandra.apache.org Subject: Re: A question to 'paging' support in DataStax java driver I guess it's technically possible

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread DuyHai Doan
een client and server. > > > > > > *From:* DuyHai Doan [mailto:doanduy...@gmail.com] > *Sent:* 2016年5月9日 21:06 > *To:* user@cassandra.apache.org > *Subject:* Re: A question to 'paging' support in DataStax java driver > > > > In a truly consistent world (shoul

RE: A question to 'paging' support in DataStax java driver

2016-05-09 Thread Lu, Boying
some bandwidth between client and server. From: DuyHai Doan [mailto:doanduy...@gmail.com] Sent: 2016年5月9日 21:06 To: user@cassandra.apache.org Subject: Re: A question to 'paging' support in DataStax java driver In a truly consistent world (should I say "snapshot isolation" world instead),

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread DuyHai Doan
In a truly consistent world (should I say "snapshot isolation" world instead), re-reading the same page should yield the same results no matter how many new inserts have occurred since the last page read. Caching previous page at app level can be a solution but not viable if the amount of data is

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread Bhuvan Rawal
Hi Doan, What does it have to do being eventual consistency? Lets assume a scenario with complete consistency and we are at page X, and at the same time some inserts/updates happened at page X-2 and we jumped to that. User will see inconsistent page in that case as well, right? Also in such cases

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread DuyHai Doan
"Is it possible to just return PagingState object without returning data?" --> No Simply because before reading the actual data for each page of N rows, you cannot know at which token value a page of data starts... And it is worst than that, with paging you don't have any isolation. Let's

A question to 'paging' support in DataStax java driver

2016-05-09 Thread Lu, Boying
dHi, All, We are considering to use DataStax java driver in our codes. One important feature provided by the driver we want to use is 'paging'. But according to the https://datastax.github.io/java-driver/3.0.0/manual/paging/, it seems that we can't jump between pages. Is it possible to just