Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src/main/java/io/vertx/example/cassandra/cassandra
README.adoc
pom.xml

README.adoc

Vert.x Cassandra Client examples

Start Cassandra instance

In order to run this examples you need a Cassandra instance running locally.

On the ways to achieve this is to use ccm. Follow the installation instructions for installing ccm.

After ccm installation you can run a single node Cassandra cluster:

ccm create test_node -v 3.11.2 -n 1 -s
ccm start test_node

Examples

Simple

This example consists of executing a single query: select release_version from system.local. As the first row is obtained, the current Cassandra version is printed out.

Prepared

This example demonstrates how can you prepare, execute and fetch results of a query.

Streaming

This example shows a way to fetch query result rows in a streaming manner.

You can’t perform that action at this time.