spring-boot/spring-boot-samples/spring-boot-sample-data-cassandra
2018-08-17 15:16:02 +02:00
..
src Merge branch '1.5.x' into 2.0.x 2018-05-25 18:45:37 -07:00
pom.xml Configure build to be compatible with Java 11 2018-08-17 15:16:02 +02:00
README.adoc Improve Cassandra sample README documentation 2016-12-27 12:56:22 -08:00

= Spring Boot Sample Data Cassandra

To run the project, need to run below `cql` commands on Cassandra.

== Keyspace Creation in Cassandra
[source,indent=0]
----
	CREATE KEYSPACE mykeyspace WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
----

== Table Creation in Cassandra
Run `cql` using the  link:src/test/resources/setup.cql[setup script] located in resources folder.