def __init__(self, column_family, keyspace=None): Statement.__init__(self, column_family, keyspace) self.assignment = None self.options = None self.not_exists = False
def __init__(self, column_family, keyspace=None): Statement.__init__(self, column_family, keyspace) self.assignments = Assignments() self.conditions = None self.options = None
def __init__(self, column_family, keyspace=None): Statement.__init__(self, column_family, keyspace)
def __init__(self, column_family, keyspace=None): Statement.__init__(self, column_family, keyspace) self.selection = None self.conditions = None
def test_partial_path(self): column_family = 'test_column_family' statement = Statement(column_family) self.assertEquals(statement.path, column_family)
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)