You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,9 @@ This is the low-level core template framework, like the ones you are used to usi
19
19
This includes persistence exception translation, Spring JavaConfig and XML configuration support. Define your Spring beans to setup your
20
20
Cassandra ``Cluster`` object, then create your ``Session`` and you are ready to interact with Cassandra using the ``CqlTemplate``.
21
21
22
-
The module also offers table operation builders for ``CREATE TABLE``, ``ALTER TABLE``, and ``DROP TABLE`` operations, as well as XML namespace support for automatic keyspace creations and optional drops.
22
+
The module also offers convenient builder pattern classes to easily specify the creation, alteration, and dropping of keyspaces via a fluent API. They are intended to be used with generators that produce CQL that can then be easily executed by ``CqlTemplate``. See test class ``CreateTableCqlGeneratorTests`` for examples. Don't forget to check out class ``MapBuilder`` for easy creation of Cassandra ``TableOption`` values.table operation builders for ``CREATE TABLE``, ``ALTER TABLE``, and ``DROP TABLE`` operations.
23
+
24
+
Additionally, there's support for Spring JavaConfig and a Spring Cassandra XML namespace, making it easy to configure your context to work Cassandra, including XML namespace support for automatic keyspace creations, drops & more.
23
25
24
26
#### Module ``spring-data-cassandra``
25
27
@@ -29,6 +31,8 @@ _Note: The code in the ``spring-data-cassandra`` module is a work in progress an
29
31
30
32
We are actively working on its completion, but wanted to make the lower level Cassandra template functionality available to the Spring and Cassandra communities.
31
33
34
+
_Note: we are considering consolidating both modules into one for convenience._
35
+
32
36
#### Best practices
33
37
34
38
We have worked closely with the DataStax Driver Engineering team to ensure that our implementation around their native
@@ -45,7 +49,7 @@ Here are some considerations when designing your application for use with ``spri
45
49
46
50
#### High Performance Ingestion
47
51
48
-
We have included a variety of overloaded ``ingest()`` methods in the template for high performance batch writes.
52
+
We have included a variety of overloaded ``ingest()`` methods in ``CqlTemplate`` for high performance batch writes.
49
53
50
54
### What's Next (early Q1 - 2014): Spring _Data_ Cassandra
0 commit comments