Apache Cassandra NoSQL Database Quick-Start for Linux Mint Easy-Visual Guide

July 30, 2013 | By Regaz | Filed in: Uncategorized.

The Post Presents a Step-by-Step Quick-Start Guide for the Latest Apache Cassandra NoSQL Database on Linux Mint i386/amd64 Desktop.

On the Guide Bottom You Find Link to Extended Documentation Using the CQL API to Talk with Cassandra in: Python, Java, Node.js, Clojure, .NET, Ruby, Perl, Go, Haskell, C++.

The Contents and Details are Essentials and Give Focus only to Instructions and Commands.

Linux GNOME Penguin Cassandra
  1. How to Install Apache Cassandra NoSQL Database on Mint

    Installing Cassandra for Mint
  2. Open a Terminal Window
    (Press “Enter” to Execute Commands)

    LinuxMint14 Cinnamon Open Terminal
  3. Connect to Cassandra Instance

  4. Create a Keyspace and Column Family

    Before to Start Inserting some Data into Cassandra is Necessary must have these Storing Places.

    create keyspace mykeyspace;
    use mykeyspace;
    create column family mycolumnfamily
    ...   with key_validation_class = 'UTF8Type'  
    ...   and comparator = 'UTF8Type'        
    ...   and default_validation_class = 'UTF8Type';
  5. Inserting and Reading on Cassandra Database

    To Store Data Use the “set” Command:

    set mycolumnfamily[1][name] = myself;

    To Retrieve Data from Cassandra Use the “get” Command:

    get mycolumnfamily[1];
  6. Getting-Started Talking with Cassandra by Your Favorite Language

Tags: , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress