Esempio n. 1
0
        public string DropColumnFamily(string columnFamily)
        {
            Keyspace.ClearCachedKeyspaceSchema();

            return(ExecuteOperation(new SimpleOperation <string>(ctx => {
                return ctx.Session.GetClient().system_drop_column_family(columnFamily);
            })));
        }
Esempio n. 2
0
        public string UpdateColumnFamily(CfDef definition)
        {
            Keyspace.ClearCachedKeyspaceSchema();

            return(ExecuteOperation(new SimpleOperation <string>(ctx => {
                return ctx.Session.GetClient().system_update_column_family(definition);
            })));
        }