Public Member Functions | Public Attributes
lib.Cassandra.Cassandra Class Reference

List of all members.

Public Member Functions

def __init__
def connectToKeyspace
def createColumn
def createKeyspace
def disconnect
def dropColumn
def dropKeyspace
def existColumn
def existKeyspace
def getAllColumns
def getColumn
def getColumnComment
def setColumnComment
def typeOfColumn

Public Attributes

 host
 keyspace
 pool
 port
 sysManager

Detailed Description

Definition at line 7 of file Cassandra.py.


Constructor & Destructor Documentation

def lib.Cassandra.Cassandra.__init__ (   self,
  host = "localhost",
  port = 9160 
)

Definition at line 8 of file Cassandra.py.


Member Function Documentation

def lib.Cassandra.Cassandra.connectToKeyspace (   self,
  keyspace = "ros" 
)

Definition at line 123 of file Cassandra.py.

def lib.Cassandra.Cassandra.createColumn (   self,
  col_name,
  super = False,
  column_validation_classes = None 
)

Definition at line 74 of file Cassandra.py.

def lib.Cassandra.Cassandra.createKeyspace (   self,
  keyspace = False,
  replication_strategy = 'SimpleStrategy',
  strategy_options = {'replication_factor': '1'} 
)

Definition at line 14 of file Cassandra.py.

Definition at line 131 of file Cassandra.py.

def lib.Cassandra.Cassandra.dropColumn (   self,
  col_name 
)

Definition at line 88 of file Cassandra.py.

def lib.Cassandra.Cassandra.dropKeyspace (   self,
  keyspace = False 
)

Definition at line 25 of file Cassandra.py.

def lib.Cassandra.Cassandra.existColumn (   self,
  col_name,
  keyspace = False 
)

Definition at line 95 of file Cassandra.py.

def lib.Cassandra.Cassandra.existKeyspace (   self,
  keyspace = False 
)

Definition at line 34 of file Cassandra.py.

def lib.Cassandra.Cassandra.getAllColumns (   self,
  keyspace = False 
)

Definition at line 54 of file Cassandra.py.

def lib.Cassandra.Cassandra.getColumn (   self,
  col_name 
)

Definition at line 116 of file Cassandra.py.

def lib.Cassandra.Cassandra.getColumnComment (   self,
  col_name,
  keyspace = False 
)

Definition at line 44 of file Cassandra.py.

def lib.Cassandra.Cassandra.setColumnComment (   self,
  col_name,
  comment,
  keyspace = False 
)

Definition at line 64 of file Cassandra.py.

def lib.Cassandra.Cassandra.typeOfColumn (   self,
  col_name,
  keyspace = False 
)

Definition at line 106 of file Cassandra.py.


Member Data Documentation

Definition at line 8 of file Cassandra.py.

Definition at line 123 of file Cassandra.py.

Definition at line 123 of file Cassandra.py.

Definition at line 8 of file Cassandra.py.

Definition at line 8 of file Cassandra.py.


The documentation for this class was generated from the following file:


cassandra_ros
Author(s): André Dietrich, Sebastian Zug
autogenerated on Mon Oct 6 2014 10:13:55