/** * Creates a Keyspace with the given consistency level, fail over policy * and user credentials. For a reference to the consistency level, please * refer to http://wiki.apache.org/cassandra/API. * * @param keyspace * @param cluster * @param consistencyLevelPolicy * @param credentials * @return */ public static Keyspace createKeyspace(String keyspace, Cluster cluster, ConsistencyLevelPolicy consistencyLevelPolicy, FailoverPolicy failoverPolicy, Map<String, String> credentials) { return new ExecutingKeyspace(keyspace, cluster.getConnectionManager(), consistencyLevelPolicy, failoverPolicy, credentials); }
/** * Creates a Keyspace with the given consistency level. For a reference * to the consistency level, please refer to http://wiki.apache.org/cassandra/API. * * @param keyspace * @param cluster * @param consistencyLevelPolicy * @param failoverPolicy * @return */ public static Keyspace createKeyspace(String keyspace, Cluster cluster, ConsistencyLevelPolicy consistencyLevelPolicy, FailoverPolicy failoverPolicy) { return new ExecutingKeyspace(keyspace, cluster.getConnectionManager(), consistencyLevelPolicy, failoverPolicy, cluster.getCredentials()); }
/** * Creates a Keyspace with the given consistency level, fail over policy * and user credentials. For a reference to the consistency level, please * refer to http://wiki.apache.org/cassandra/API. * * @param keyspace * @param cluster * @param consistencyLevelPolicy * @param credentials * @return */ public static Keyspace createKeyspace(String keyspace, Cluster cluster, ConsistencyLevelPolicy consistencyLevelPolicy, FailoverPolicy failoverPolicy, Map<String, String> credentials) { return new ExecutingKeyspace(keyspace, cluster.getConnectionManager(), consistencyLevelPolicy, failoverPolicy, credentials); }
/** * Creates a Keyspace with the given consistency level, fail over policy * and user credentials. For a reference to the consistency level, please * refer to http://wiki.apache.org/cassandra/API. * * @param keyspace * @param cluster * @param consistencyLevelPolicy * @param credentials * @return */ public static Keyspace createKeyspace(String keyspace, Cluster cluster, ConsistencyLevelPolicy consistencyLevelPolicy, FailoverPolicy failoverPolicy, Map<String, String> credentials) { return new ExecutingKeyspace(keyspace, cluster.getConnectionManager(), consistencyLevelPolicy, failoverPolicy, credentials); }
/** * Creates a Keyspace with the given consistency level. For a reference * to the consistency level, please refer to http://wiki.apache.org/cassandra/API. * * @param keyspace * @param cluster * @param consistencyLevelPolicy * @param failoverPolicy * @return */ public static Keyspace createKeyspace(String keyspace, Cluster cluster, ConsistencyLevelPolicy consistencyLevelPolicy, FailoverPolicy failoverPolicy) { return new ExecutingKeyspace(keyspace, cluster.getConnectionManager(), consistencyLevelPolicy, failoverPolicy, cluster.getCredentials()); }
/** * Creates a Keyspace with the given consistency level. For a reference * to the consistency level, please refer to http://wiki.apache.org/cassandra/API. * * @param keyspace * @param cluster * @param consistencyLevelPolicy * @param failoverPolicy * @return */ public static Keyspace createKeyspace(String keyspace, Cluster cluster, ConsistencyLevelPolicy consistencyLevelPolicy, FailoverPolicy failoverPolicy) { return new ExecutingKeyspace(keyspace, cluster.getConnectionManager(), consistencyLevelPolicy, failoverPolicy, cluster.getCredentials()); }