Package org.apache.cassandra.thrift.Cassandra

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


    {
        Client client = connectionFactory.create();
        try {
            client.set_keyspace(keyspace);
            try {
                return client.describe_splits_ex(columnFamily, range.start_token, range.end_token, splitSize);
            }
            catch (TApplicationException e) {
                // fallback to guessing split size if talking to a server without describe_splits_ex method
                if (e.getType() == TApplicationException.UNKNOWN_METHOD) {
                    List<String> splitPoints = client.describe_splits(columnFamily, range.start_token, range.end_token, splitSize);
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.