Examples of system_drop_column_family()


Examples of org.apache.cassandra.thrift.Cassandra.Client.system_drop_column_family()

      @PathVariable("columnFamilyName") String columnFamilyName,
      ModelMap model) throws Exception {
   
    Client client = clientProvider.getThriftClient();
    client.set_keyspace(keyspaceName);
    client.system_drop_column_family(
        columnFamilyName
    );
    model.clear();
    return "redirect:/keyspace/" + keyspaceName + "/" + columnFamilyName + "/";
   
View Full Code Here

Examples of org.apache.cassandra.thrift.Cassandra.Client.system_drop_column_family()

            for (CfDef cfDef1 : cfDefn)
            {
                if (cfDef1.getName().equalsIgnoreCase(table2))
                {
                    client.system_drop_column_family(table2);
                }
            }
            client.execute_cql3_query(ByteBufferUtil
                    .bytes("create table \"SECONDARY_TABLE\"(\"OBJECT_ID\" text PRIMARY KEY, \"AGE\" int)"),
                    org.apache.cassandra.thrift.Compression.NONE, org.apache.cassandra.thrift.ConsistencyLevel.ANY);
View Full Code Here

Examples of org.apache.cassandra.thrift.Cassandra.Client.system_drop_column_family()

            for (CfDef cfDef1 : cfDefn)
            {

                if (cfDef1.getName().equalsIgnoreCase(table1))
                {
                    client.system_drop_column_family(table1);
                }
                if (cfDef1.getName().equalsIgnoreCase(table2))
                {
                    client.system_drop_column_family(table2);
                }
View Full Code Here

Examples of org.apache.cassandra.thrift.Cassandra.Client.system_drop_column_family()

                {
                    client.system_drop_column_family(table1);
                }
                if (cfDef1.getName().equalsIgnoreCase(table2))
                {
                    client.system_drop_column_family(table2);
                }
            }

            client.execute_cql3_query(ByteBufferUtil.bytes("create table \"PRIMARY_TABLE\"(\"OBJECT_ID\" text PRIMARY KEY, \"NAME\" text)"),
                    org.apache.cassandra.thrift.Compression.NONE, org.apache.cassandra.thrift.ConsistencyLevel.ANY);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.