Esempio n. 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
Esempio n. 2
0
	def __init__(self, column_family, keyspace=None):
		Statement.__init__(self, column_family, keyspace)
		self.assignments = Assignments()
		self.conditions = None
		self.options = None
Esempio n. 3
0
	def __init__(self, column_family, keyspace=None):
		Statement.__init__(self, column_family, keyspace)
Esempio n. 4
0
	def __init__(self, column_family, keyspace=None):
		Statement.__init__(self, column_family, keyspace)
		self.selection = None
		self.conditions = None
Esempio n. 5
0
 def test_partial_path(self):
     column_family = 'test_column_family'
     statement = Statement(column_family)
     self.assertEquals(statement.path, column_family)
Esempio n. 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)