Blog Archives

Some Important Sql Queries in Oracle


To know the current user in Oracle select user from dual; Steps to know list of users in the Oracle database. Connec to dba user conn sys/password as sysdba; execute below query to get list of users select * from

Tagged with: , , , , , ,
Posted in Oracle

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 678 other followers

Calendar
May 2018
M T W T F S S
« Mar    
 123456
78910111213
14151617181920
21222324252627
28293031  
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
  • 259,017 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100