kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 9ef4091fabd4cc1eb7dc74c75a8edafd24920701a524463b16cdc2f53a23d411 |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2016-01-04 17:26 +01:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2016-01-04 17:43 +01:00 |
| Parents | f5d83e11e978 |
2 files changed
modified README.md +3 −2
| @@ -111,9 +111,10 @@ | ||
| 111 | 111 | ## Compatibility |
| 112 | 112 | |
| 113 | 113 | The Java client driver 3.0 ([branch 3.0](https://github.com/datastax/java-driver/tree/3.0)) is compatible with Apache |
| 114 | -Cassandra 1.2, 2.0, 2.1, 2.2 and 3.0. | |
| 114 | +Cassandra 1.2, 2.0, 2.1, 2.2 and 3.0 (see [this page](http://datastax.github.io/java-driver/features/native_protocol) for | |
| 115 | +the most up-to-date compatibility information). | |
| 115 | 116 | |
| 116 | -UDT and tuple support is available only when using Apache Cassandra 2.1 (see [CQL improvements in Cassandra 2.1](http://www.datastax.com/dev/blog/cql-in-2-1)). | |
| 117 | +UDT and tuple support is available only when using Apache Cassandra 2.1 or higher (see [CQL improvements in Cassandra 2.1](http://www.datastax.com/dev/blog/cql-in-2-1)). | |
| 117 | 118 | |
| 118 | 119 | Other features are available only when using Apache Cassandra 2.0 or higher (e.g. result set paging, |
| 119 | 120 | [BatchStatement](https://github.com/datastax/java-driver/blob/3.0/driver-core/src/main/java/com/datastax/driver/core/BatchStatement.java), |
modified features/native_protocol/README.md +9 −5
| @@ -17,15 +17,19 @@ | ||
| 17 | 17 | |
| 18 | 18 | <table border="1" style="text-align:center; width:100%;margin-bottom:1em;"> |
| 19 | 19 | <tr><td> </td><td>Cassandra: 1.2.x<br/>(DSE 3.2)</td><td>2.0.x<br/>(DSE 4.0 to 4.6)</td><td>2.1.x<br/>(DSE 4.7)</td><td>2.2.x</td><td>3.0.x</td></tr> |
| 20 | -<tr><td>Driver: 1.0.x</td> <td>v1</td> <td>v1</td> <td>v1</td> <td>v1</td> <td>Unsupported</td> </tr> | |
| 21 | -<tr><td>2.0.x to 2.1.1</td> <td>v1</td> <td>v2</td> <td>v2</td> <td>v2</td> <td>Unsupported</td> </tr> | |
| 22 | -<tr><td>2.1.2 to 2.2.0</td> <td>v1</td> <td>v2</td> <td>v3</td> <td>v3</td> <td>v3</td> </tr> | |
| 23 | -<tr><td>2.2.0 or more</td> <td>v1</td> <td>v2</td> <td>v3</td> <td>v4</td> <td>v4</td> </tr> | |
| 20 | +<tr><td>Driver: 1.0.x</td> <td>v1</td> <td>v1</td> <td>v1</td> <td>v1</td> <td>Unsupported <i>(1)</i></td> </tr> | |
| 21 | +<tr><td>2.0.x to 2.1.1</td> <td>v1</td> <td>v2</td> <td>v2</td> <td>v2</td> <td>Unsupported <i>(1)</i></td> </tr> | |
| 22 | +<tr><td>2.1.2 to 2.1.x</td> <td>v1</td> <td>v2</td> <td>v3</td> <td>v3</td> <td>Unsupported <i>(2)</i></td> </tr> | |
| 23 | +<tr><td>3.x</td> <td>v1</td> <td>v2</td> <td>v3</td> <td>v4</td> <td>v4</td> </tr> | |
| 24 | 24 | </table> |
| 25 | 25 | |
| 26 | +*(1) Cassandra 3.0 does not support protocol versions v1 and v2* | |
| 27 | + | |
| 28 | +*(2) There is a matching protocol version (v3), but the driver 2.1.x can't read the new system table format of Cassandra 3.0* | |
| 29 | + | |
| 26 | 30 | For example, if you use version 2.1.5 of the driver to connect to |
| 27 | 31 | Cassandra 2.0.9, the maximum version you can use (and the one you'll get |
| 28 | -by default) is protocol v2 (last line, middle column). If you use the | |
| 32 | +by default) is protocol v2 (third row, second column). If you use the | |
| 29 | 33 | same version to connect to Cassandra 2.1.4, you can use protocol v3. |
| 30 | 34 | |
| 31 | 35 | ### Controlling the protocol version |