Cassandra Terminology : Cheat Sheet


*This document will be updated continuously until it is as complete as can be, please let me know what I can add to make it more useful for everyone, especially new Cassandra  users*

Columns

At the bottom end of the hierarchy there is a column, a column has three parts to it; A name, value and a timestamp. The name and value is stored as a raw byte array (byte[]) and can be of any size.

Super Columns

A super column is similar in terms of having a name,value pair however, it does not have a timestamp.

The major difference between a column and a super column is that :

A column maps to the binary representation of a string value and a super column maps to a number of columns. Read more of this post

CQL : Creating a simple keyspace


I promised a few tutorials covering CQL examples so I’m going to kick off a series to demonstrate all/most of the features of Cassandra‘s new query language, CQL.

In this example we’ll create a keyspace and look at the proerties available when doing so, this will demonstrate one of the key words in CQL, CREATE KEYSPACE. This example has been done in Java since it is one of the easiest languages to get up and running with, however the CQL statements are portable i.e. not dependent on the language you use. There is a PHP CQL driver being developed by Nick, Dave, my self and others but I’ve been out for about a month pre-occupied with a few things, the guys have been making some progress so check out the driver if you’re using PHP and want to use or contribute to the development. Read more of this post

Follow

Get every new post delivered to your Inbox.

Join 1,384 other followers

%d bloggers like this: