Blog Archives

Fetching single Column from Cassandra database


package com.examples; import java.io.UnsupportedEncodingException; import java.util.Date; import java.util.Iterator; import java.util.List; import org.apache.cassandra.thrift.Cassandra; import org.apache.cassandra.thrift.Column; import org.apache.cassandra.thrift.ColumnOrSuperColumn; import org.apache.cassandra.thrift.ColumnParent; import org.apache.cassandra.thrift.ConsistencyLevel; import org.apache.cassandra.thrift.InvalidRequestException; import org.apache.cassandra.thrift.KeyRange; import org.apache.cassandra.thrift.KeySlice; import org.apache.cassandra.thrift.NotFoundException; import org.apache.cassandra.thrift.SlicePredicate; import org.apache.cassandra.thrift.SliceRange; import org.apache.cassandra.thrift.TimedOutException; import org.apache.cassandra.thrift.UnavailableException; import org.apache.thrift.TException; import org.apache.thrift.protocol.TBinaryProtocol;

Tagged with: , ,
Posted in Cassandra, Databases

Fetching all columns example in Cassandra


package com.examples; import java.io.UnsupportedEncodingException; import java.util.Date; import java.util.Iterator; import java.util.List; import org.apache.cassandra.thrift.Cassandra; import org.apache.cassandra.thrift.Column; import org.apache.cassandra.thrift.ColumnOrSuperColumn; import org.apache.cassandra.thrift.ColumnParent; import org.apache.cassandra.thrift.ConsistencyLevel; import org.apache.cassandra.thrift.InvalidRequestException; import org.apache.cassandra.thrift.KeyRange; import org.apache.cassandra.thrift.KeySlice; import org.apache.cassandra.thrift.NotFoundException; import org.apache.cassandra.thrift.SlicePredicate; import org.apache.cassandra.thrift.SliceRange; import org.apache.cassandra.thrift.TimedOutException; import org.apache.cassandra.thrift.UnavailableException; import org.apache.thrift.TException; import org.apache.thrift.protocol.TBinaryProtocol;

Tagged with: , ,
Posted in Cassandra, Databases

Cassandra Inseart Example


package com.example; import java.io.UnsupportedEncodingException; import java.util.Date; import org.apache.cassandra.thrift.Cassandra; import org.apache.cassandra.thrift.Column; import org.apache.cassandra.thrift.ColumnPath; import org.apache.cassandra.thrift.ConsistencyLevel; import org.apache.cassandra.thrift.InvalidRequestException; import org.apache.cassandra.thrift.NotFoundException; import org.apache.cassandra.thrift.TimedOutException; import org.apache.cassandra.thrift.UnavailableException; import org.apache.thrift.TException; import org.apache.thrift.protocol.TBinaryProtocol; import org.apache.thrift.protocol.TProtocol; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; import org.apache.thrift.transport.TTransportException; public class CassandraInsertExample { public static

Tagged with: , ,
Posted in Cassandra, Databases

Introduction to Apache Cassandra.


What is Cassandra? Apache Cassandra is a non relational database which is given by the Apache. Initially, Cassandra was open sourced by Facebook in 2008, and is now developed by Apache Group. In the normal relational databases data stores in

Tagged with: , ,
Posted in Cassandra

Apache Cassandra


Some of useful links http://cassandra.apache.org/http://schabby.de/cassandra-installation-configuration/http://wiki.apache.org/cassandra/ThriftExampleshttp://prettyprint.me/2010/02/23/hector-a-java-cassandra-client/http://www.rackspacecloud.com/blog/2010/05/12/cassandra-by-example/http://blog.evanweaver.com/articles/2009/07/06/up-and-running-with-cassandra/http://wiki.apache.org/cassandra/APIhttp://anismiles.wordpress.com/2010/05/24/connecting-to-cassandra-1/

Tagged with: , , , ,
Posted in Cassandra

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 677 other followers

Calendar
May 2019
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
2728293031  
Mallikarjun Gunda

This is Mallikarjun Gunda, I am working as a software professional. Blogging is my Passion. This blog contains the posts on Java related technologies and programming languages. I am happy to share my knowledge through the blogs.

Blog Stats
  • 306,114 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100