Public Member Functions | Public Attributes
RosCassandra.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 RosCassandra.Cassandra.Cassandra.__init__ (   self,
  host = "localhost",
  port = 9160 
)

Definition at line 8 of file Cassandra.py.


Member Function Documentation

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

Definition at line 123 of file Cassandra.py.

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

Definition at line 74 of file Cassandra.py.

def RosCassandra.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 RosCassandra.Cassandra.Cassandra.dropColumn (   self,
  col_name 
)

Definition at line 88 of file Cassandra.py.

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

Definition at line 25 of file Cassandra.py.

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

Definition at line 95 of file Cassandra.py.

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

Definition at line 34 of file Cassandra.py.

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

Definition at line 54 of file Cassandra.py.

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

Definition at line 116 of file Cassandra.py.

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

Definition at line 44 of file Cassandra.py.

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

Definition at line 64 of file Cassandra.py.

def RosCassandra.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):
autogenerated on Thu Jun 6 2019 21:09:27