com.netflix.astyanax.Cluster |
Known Indirect Subclasses |
Interface for cluster operations. Use the Keyspace interface to perform keyspace query and mutation operations.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a column family to an existing keyspace@return
| |||||||||||
Add a new keyspace to the cluster.
| |||||||||||
The cluster name is completely arbitrary@return
| |||||||||||
Describe a single keyspace@return
| |||||||||||
Return details about all keyspaces in the cluster@return
| |||||||||||
Describe the partitioner used by the cluster@return
| |||||||||||
Describe the snitch name used on the cluster@return
| |||||||||||
Delete the column family from the keyspace@return
| |||||||||||
Delete a keyspace from the cluster@return
| |||||||||||
Configuration object for this Cluster
| |||||||||||
Return a keyspace client.
| |||||||||||
Return version of cassandra running on the cluster@return
| |||||||||||
Make a column definitio to be added to a ColumnFamilyDefinition
| |||||||||||
Prepare a column family definition.
| |||||||||||
Prepare a keyspace definition.
| |||||||||||
Update an existing column family@return
| |||||||||||
Update a new keyspace in the cluster.
|
Add a column family to an existing keyspace@return
def | - Created by calling prepareColumnFamilyDefinition(); |
---|
ConnectionException |
---|
Add a new keyspace to the cluster. The keyspace object may include column families as well. Create a KeyspaceDefinition object by calling prepareKeyspaceDefinition().
ConnectionException |
---|
The cluster name is completely arbitrary@return
ConnectionException |
---|
Describe a single keyspace@return
ConnectionException |
---|
Return details about all keyspaces in the cluster@return
ConnectionException |
---|
Describe the partitioner used by the cluster@return
ConnectionException |
---|
Describe the snitch name used on the cluster@return
ConnectionException |
---|
Delete the column family from the keyspace@return
OperationException | |
ConnectionException |
Delete a keyspace from the cluster@return
OperationException | |
ConnectionException |
Return a keyspace client. Note that this keyspace will use the same connection pool as the cluster and any other keyspaces created from this cluster instance. As a result each keyspace operation is likely to have some overhead for switching keyspaces.
Return version of cassandra running on the cluster@return
ConnectionException |
---|
Make a column definitio to be added to a ColumnFamilyDefinition
Prepare a column family definition. Call execute() on the returned object to create the column family.
Prepare a keyspace definition. Call execute() on the returned object to create the keyspace. Not that column families can be added the keyspace definition here instead of calling prepareColumnFamilyDefinition separately.
Update an existing column family@return
def | - Created by calling prepareColumnFamilyDefinition(); |
---|
ConnectionException |
---|
Update a new keyspace in the cluster. The keyspace object may include column families as well. Create a KeyspaceDefinition object by calling prepareKeyspaceDefinition().
ConnectionException |
---|