kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | a4c25c72de7cb3d174ff8e09bb1b60efce6c2726254ea8ff28ebead9a78feaf3 |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2015-05-28 10:05 +02:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2015-05-28 10:28 +02:00 |
| Parents | 024a2b3f709e |
2 files changed
modified docs.yaml +5 −0
| @@ -19,6 +19,11 @@ | ||
| 19 | 19 | sources: |
| 20 | 20 | - type: markdown |
| 21 | 21 | files: 'upgrade_guide/**/*.md' |
| 22 | + - title: FAQ | |
| 23 | + prefix: /faq | |
| 24 | + sources: | |
| 25 | + - type: markdown | |
| 26 | + files: 'faq/**/*.md' | |
| 22 | 27 | links: |
| 23 | 28 | - title: Code |
| 24 | 29 | 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). |