'Set a set of column values in a row of a view without
looking up the whole row first'

@classmethod
@will_write
def _set_values(cls, row_key, col_values, write_consistency_level=None, batch=None, ttl=None):

    updates = dict(((col_name, cls._serialize_column(col_name, col_val)) for (col_name, col_val) in col_values.iteritems()))
    default_ttl = (ttl or cls._ttl)
    def do_inserts(b):
        for (k, v) in updates.iteritems():
            b.insert(row_key, {k: v}, ttl=cls._default_ttls.get(k, default_ttl))
    if (batch is None):
        batch = cls._cf.batch(write_consistency_level=cls._wcl(write_consistency_level))
        with batch as b:
            do_inserts(b)
    else:
        do_inserts(batch)
    cls._local_cache.delete(cls._cache_key_id(row_key))
