Classes | Functions | Variables
lib::CassandraTopic Namespace Reference

Classes

class  CassandraTopic
class  CassandraTopicException

Functions

def __init__
def _generateMsg
def addData
def countData
def createKey
def getAllData
def getData
def getMeta
def removeAllData
def removeData
def setMeta

Variables

 cassandra_format
list CassandraFormats = ['binary', 'string', 'ros', 'ros_old', 'yaml', 'manual']
 column
 comment
 cursor
 date
 key_format
 key_msg_part
list KeyFormats = ['time', 'hash', 'msg_part', 'manual']
 msg_class
 msg_package
 MsgClass
 topic

Function Documentation

def lib.CassandraTopic.__init__ (   self,
  topic = "",
  column = None,
  cursor = None,
  cassandra_format = CassandraFormats[0],
  msg_class = '',
  msg_package = '',
  key_format = KeyFormats[0],
  key_msg_part = '',
  comment = "",
  date = None,
  meta = None 
)

Definition at line 33 of file CassandraTopic.py.

def lib.CassandraTopic._generateMsg (   self) [private]

Definition at line 100 of file CassandraTopic.py.

def lib.CassandraTopic.addData (   self,
  msg,
  key = None,
  ttl = None 
)

Definition at line 114 of file CassandraTopic.py.

Definition at line 203 of file CassandraTopic.py.

def lib.CassandraTopic.createKey (   self,
  msg 
)

Definition at line 192 of file CassandraTopic.py.

def lib.CassandraTopic.getAllData (   self,
  queue = 100 
)

Definition at line 151 of file CassandraTopic.py.

def lib.CassandraTopic.getData (   self,
  key,
  to_key = None,
  queue = 100 
)

Definition at line 130 of file CassandraTopic.py.

Definition at line 72 of file CassandraTopic.py.

Definition at line 181 of file CassandraTopic.py.

def lib.CassandraTopic.removeData (   self,
  key,
  to_key = None,
  queue = 100 
)

Definition at line 159 of file CassandraTopic.py.

def lib.CassandraTopic.setMeta (   self,
  meta 
)

Definition at line 87 of file CassandraTopic.py.


Variable Documentation

Definition at line 33 of file CassandraTopic.py.

list lib::CassandraTopic::CassandraFormats = ['binary', 'string', 'ros', 'ros_old', 'yaml', 'manual']

Definition at line 27 of file CassandraTopic.py.

Definition at line 33 of file CassandraTopic.py.

Definition at line 33 of file CassandraTopic.py.

Definition at line 33 of file CassandraTopic.py.

Definition at line 33 of file CassandraTopic.py.

Definition at line 33 of file CassandraTopic.py.

Definition at line 33 of file CassandraTopic.py.

list lib::CassandraTopic::KeyFormats = ['time', 'hash', 'msg_part', 'manual']

Definition at line 26 of file CassandraTopic.py.

Definition at line 33 of file CassandraTopic.py.

Definition at line 33 of file CassandraTopic.py.

Definition at line 100 of file CassandraTopic.py.

Definition at line 33 of file CassandraTopic.py.



cassandra_ros
Author(s): André Dietrich, Sebastian Zug
autogenerated on Sun Jan 5 2014 11:10:29