Elffuss BraidHub

kikocis/java-driver public

Bootstrap FAQ.
Changeseta4c25c72de7cb3d174ff8e09bb1b60efce6c2726254ea8ff28ebead9a78feaf3
Authorolim7t <omichallat+github@gmail.com> · 2015-05-28 10:05 +02:00
Committerolim7t <omichallat+github@gmail.com> · 2015-05-28 10:28 +02:00
Parents024a2b3f709e

Browse the files at this changeset

2 files changed

modified docs.yaml +5 −0
@@ -19,6 +19,11 @@
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'
2227 links:
2328 - title: Code
2429 href: https://github.com/datastax/java-driver/
added faq/README.md +16 −0
@@ -0,0 +1,16 @@
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).