File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ sections:
1919 sources :
2020 - type : markdown
2121 files : ' upgrade_guide/**/*.md'
22+ - title : FAQ
23+ prefix : /faq
24+ sources :
25+ - type : markdown
26+ files : ' faq/**/*.md'
2227links :
2328 - title : Code
2429 href : https://github.com/datastax/java-driver/
Original file line number Diff line number Diff line change 1+ ## Frequently Asked Questions
2+
3+ ### How do I implement paging?
4+
5+ When using [ native protocol] ( ../features/native_protocol/ ) version 2 or
6+ higher, the driver automatically pages large result sets under the hood.
7+ You can also save the paging state to resume iteration later. See [ this
8+ page] ( ../features/paging/ ) for more information.
9+
10+ Native protocol v1 does not support paging, but you can emulate it in
11+ CQL with ` LIMIT ` and the ` token() ` function. See
12+ [ this conversation] ( https://groups.google.com/a/lists.datastax.com/d/msg/java-driver-user/U2KzAHruWO4/6vDmUVDDkOwJ ) on the mailing list.
13+
14+ There is no trivial solution for offset queries (e.g. jump to page 20
15+ directly). Cassandra does not implement them out of the box, see
16+ [ CASSANDRA-6511] ( https://issues.apache.org/jira/browse/CASSANDRA-6511 ) .
You can’t perform that action at this time.
0 commit comments