Example #1
0
	def __init__(self, column_family, keyspace=None):
		Statement.__init__(self, column_family, keyspace)
		self.assignment = None
		self.options = None
		self.not_exists = False
Example #2
0
	def __init__(self, column_family, keyspace=None):
		Statement.__init__(self, column_family, keyspace)
		self.assignments = Assignments()
		self.conditions = None
		self.options = None
Example #3
0
	def __init__(self, column_family, keyspace=None):
		Statement.__init__(self, column_family, keyspace)
Example #4
0
	def __init__(self, column_family, keyspace=None):
		Statement.__init__(self, column_family, keyspace)
		self.selection = None
		self.conditions = None
Example #5
0
 def test_partial_path(self):
     column_family = 'test_column_family'
     statement = Statement(column_family)
     self.assertEquals(statement.path, column_family)
Example #6
0
 def test_full_path(self):
     keyspace = 'test_keyspace'
     column_family = 'test_column_family'
     path = '{}.{}'.format(keyspace, column_family)
     statement = Statement(column_family, keyspace)
     self.assertEquals(statement.path, path)