| java.lang.Object | |
| ↳ | com.netflix.astyanax.thrift.ThriftKeyspaceImpl |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return a complete description of the keyspace and its column families@return
| |||||||||||
Get a list of all tokens and their endpoints@return
| |||||||||||
Describe the ring but use the last locally cached version if available.@return
| |||||||||||
Return the configuration object used to set up this keyspace
| |||||||||||
Returns keyspace name
| |||||||||||
Return the serializer package for a specific column family.
| |||||||||||
Mutation for a single column
| |||||||||||
Prepare a batch mutation object.
| |||||||||||
Starting point for constructing a query.
| |||||||||||
This method is used for testing purposes only.
| |||||||||||
This method is used for testing purposes only.
| |||||||||||
Delete all rows in a column family@return
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.netflix.astyanax.Keyspace
| |||||||||||
Return a complete description of the keyspace and its column families@return
| ConnectionException |
|---|
Get a list of all tokens and their endpoints@return
| ConnectionException |
|---|
Describe the ring but use the last locally cached version if available.@return
| ConnectionException |
|---|
Return the configuration object used to set up this keyspace
Return the serializer package for a specific column family. This requires a call to the Cassandra cluster and is therefore cached to reduce load on Cassandra and since this data rarely changes.@return
Mutation for a single column
Prepare a batch mutation object. It is possible to create multiple batch mutations and later merge them into a single mutation by calling mergeShallow on a batch mutation object.@return
Starting point for constructing a query. From the column family the client can perform all 4 types of queries: get column, get key slice, get key range and and index query.
| cf | Column family to be used for the query. The key and column serializers in the ColumnFamily are automatically used while constructing the query and the response. |
|---|
This method is used for testing purposes only. It is used to inject errors in the connection pool.@return
| ConnectionException |
|---|
This method is used for testing purposes only. It is used to inject errors in the connection pool.@return
| ConnectionException |
|---|
Delete all rows in a column family@return