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