'Write the points to the Cassandra cluster.'

def export(self, name, columns, points):

    logger.debug('Export    {}    stats    to    Cassandra'.format(name))
    data = {k: float(v) for (k, v) in dict(zip(columns, points)).iteritems() if isinstance(v, Number)}
    try:
        self.session.execute('\n                                                                INSERT    INTO    localhost    (plugin,    time,    stat)\n                                                                VALUES    (%s,    %s,    %s)\n                                                                ', (name, uuid_from_time(datetime.now()), data))
    except Exception as e:
        logger.error('Cannot    export    {}    stats    to    Cassandra    ({})'.format(name, e))
