Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Various examples of using the Hector API to access Apache Cassandra
Java
tree: a29ce4a80a

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
src/main/java/com/riptano/cassandra/hector/example
README.mdown
pom.xml

README.mdown

Overview

Provides example classes for using Hector to access Apache Cassandra (0.6.2). Most of these examples were inspired by the same questions appearing reapeatedly on: hector-users@googlegroups.com

The goals for each of these classes are:

  • be completely atomic
  • be as simple as possible
  • have minimal dependencies
  • demonstrating a specific API call with the Hector client
  • sacrifice reuse and encapsulation for the sake of clarity

Each class can be directly executed via maven like so:

mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.[class name]"

These classes assume you have an instance of Cassandra running on localhost:9160 with the default configuration.

Additional Sources of Information

Mail List: hector-users@googlegroups.com

Hector Wiki: http://wiki.github.com/rantav/hector/

Hector Doc at Riptano: http://www.riptano.com/sites/default/files/hector-api-for-cassandra.pdf

Something went wrong with that request. Please try again.