View RSS Feed

Cassandra

Cassandra Column

Rate this Entry
by , 02-23-2012 at 05:54 PM (424 Views)
Column is also known as triplet or tuple which has value, name & timestamp. This is considered to be a smallest data container.

Name:  1.JPG
Views: 721
Size:  3.8 KB

Cassandra Column


Columnís Java representation is given as following. Complex structures are more conveniently been explained by this:
Java Code: This is the code to explain Cassandra Column
public class Column {
  Byte[] name;
  Byte[] value;
  Long timestamp;
}

Submit "Cassandra Column" to Facebook Submit "Cassandra Column" to Digg Submit "Cassandra Column" to del.icio.us Submit "Cassandra Column" to StumbleUpon Submit "Cassandra Column" to Google

Categories
Framework

Comments