Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Skeletor is the Scala wrapper for Cassandra

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 schema
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 build.sbt
Octocat-spinner-32 sbt
Octocat-spinner-32 sbt-launch.jar
README.md

Skeletor

Provides a Scala wrapper for Hector https://github.com/hector-client/hector, a Java client library for Cassandra http://cassandra.apache.org/

Getting Started

0) Assumptions

1) Get Skeletor

git clone git@github.com:joestein/skeletor.git
cd skeletor

2) Update the schema for Skeletor's Specification Tests

schema/bootstrap.txt contains the schema for Skeletor's Specification Tests

~/apache-cassandra-1.0.8/bin/cassandra-cli -host localhost -port 9160 -f schema/bootstrap.txt

3) Run Skeletor's test

./sbt test

How To Use

The tests are also examples of how to use Skeletor. Take a look at them.

You can package Skeletor as a jar within your project

./sbt package

And in your build.sbt file add to libraryDependencies ++= Seq so you get the Hector library and related dependencies

"me.prettyprint" % "hector-core" % "1.0-3",
"org.apache.cassandra" % "cassandra-all" % "1.0.8", 
"org.slf4j" % "slf4j-log4j12" % "1.6.4"

Thanx =) Joe Stein

http://linkedin.com/in/charmalloc

Something went wrong with that request. Please try again.