'Returns a CQL query string that can be used to recreate just this keyspace,
not including user-defined types and tables.'

def as_cql_query(self):

    ret = ('CREATE    KEYSPACE    %s    WITH    replication    =    %s    ' % (protect_name(self.name), self.replication_strategy.export_for_schema()))
    return (ret + ('    AND    durable_writes    =    %s' % ('true' if self.durable_writes else 'false')))
