Skip to content

Commit 3f1d5b2

Browse files
committed
Bootstrap FAQ.
1 parent 3f86a6e commit 3f1d5b2

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

docs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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'
2227
links:
2328
- title: Code
2429
href: https://github.com/datastax/java-driver/

faq/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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).

0 commit comments

Comments
 (0)