org.scale7.cassandra.pelops
Class KeyspaceManager
java.lang.Object
org.scale7.cassandra.pelops.ManagerOperand
org.scale7.cassandra.pelops.KeyspaceManager
public class KeyspaceManager
- extends ManagerOperand
Management operations need to be applied to a single node.
See http://wiki.apache.org/cassandra/LiveSchemaUpdates for more details.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KSDEF_STRATEGY_SIMPLE
public static final String KSDEF_STRATEGY_SIMPLE
- See Also:
- Constant Field Values
KSDEF_STRATEGY_LOCAL
public static final String KSDEF_STRATEGY_LOCAL
- See Also:
- Constant Field Values
KSDEF_STRATEGY_NETWORK_TOPOLOGY
public static final String KSDEF_STRATEGY_NETWORK_TOPOLOGY
- See Also:
- Constant Field Values
KSDEF_STRATEGY_NETWORK_TOPOLOGY_OLD
public static final String KSDEF_STRATEGY_NETWORK_TOPOLOGY_OLD
- See Also:
- Constant Field Values
KeyspaceManager
public KeyspaceManager(Cluster cluster)
getKeyspaceNames
public List<org.apache.cassandra.thrift.KsDef> getKeyspaceNames()
throws Exception
- Throws:
Exception
getKeyspaceRingMappings
public List<org.apache.cassandra.thrift.TokenRange> getKeyspaceRingMappings(String keyspace)
throws Exception
- Throws:
Exception
getKeyspaceSchema
public org.apache.cassandra.thrift.KsDef getKeyspaceSchema(String keyspace)
throws Exception
- Throws:
Exception
addKeyspace
public String addKeyspace(org.apache.cassandra.thrift.KsDef keyspaceDefinition)
throws Exception
- Throws:
Exception
dropKeyspace
public String dropKeyspace(String keyspace)
throws Exception
- Throws:
Exception
Copyright © 2011. All Rights Reserved.