Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Introduction

This sample shows how to use Cassandra Query Language v2.0 (CQL) with Hector API. Cassandra query language is a SQL like easy query interface for Cassandra data store.

Prerequisites

  • Java Development Kit / JRE version 1.6.* or 1.7.*
  • Apache Maven 3.x.x or later

Building the Sample

You can find the sample discussed here in <SS_HOME>/samples/css/CLI/css-cql-sample directory.

1. Install and run the WSO2 Storage Server. Refer to the Installation Guide for instructions.

2. In a command prompt, switch to the sample directory:

3. From there, execute the following command to build the project with Maven.

mvn clean assembly:assembly -o

4. Execute the program from the build jar which is located under target folder

java -jar target/org.wso2.carbon.cassandra.sample-4.0.5-jar-with-dependencies.jar
  • No labels