public class CassandraClusterConnection extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
CassandraClusterConnection(boolean dropSchema) |
| Modifier and Type | Method and Description |
|---|---|
com.netflix.astyanax.Keyspace |
getKeyspace() |
void |
SetUpKeySpaces(com.netflix.astyanax.AstyanaxContext<com.netflix.astyanax.Cluster> clusterContext,
boolean dropSchema) |
protected CassandraClusterConnection(boolean dropSchema)
dropSchema - set true if you want do drop the current and set up new onepublic com.netflix.astyanax.Keyspace getKeyspace()
public void SetUpKeySpaces(com.netflix.astyanax.AstyanaxContext<com.netflix.astyanax.Cluster> clusterContext,
boolean dropSchema)
cluster - dropIfExists - com.netflix.astyanax.connectionpool.exceptions.ConnectionExceptionCopyright © 2015. All Rights Reserved.