Crate cassandra_cpp [−] [src]
This is a wrapper around the DataStax C++ driver for Cassandra. It aims to be 100% safe with minimal overhead added
Modules
| errors |
A still clumsy use of error-chain. needs work |
Macros
| stmt |
Structs
| AggregateIterator |
Iterates over the aggregate metadata entries(??) |
| AggregateMeta |
Metadata about a cassandra aggregate |
| Batch |
A group of statements that are executed as a single batch. Note: Batches are not supported by the binary protocol version 1. |
| CassError |
An error returned by Cassandra or the driver |
| CassErrorResult |
An error result of a request |
| CassResult |
The result of a query. A result object is read-only and is thread-safe to read or iterate over concurrently. |
| CloseFuture |
The future result of a session close statement. It can represent a result if the operation completed successfully or an error if the operation failed. It can be waited on, polled or a callback can be attached. |
| Cluster |
The main class to use when interacting with a Cassandra cluster. Typically, one instance of this class will be created for each separate Cassandra cluster that your application interacts with. |
| Column |
Representation of a Cassandra column |
| ColumnIterator |
Iterater over the columns's metadata entries(??) |
| ColumnMeta |
Column metadata |
| Consistency |
A Cassandra consistency level |
| ContactPoints |
A set of cassandra contact points |
| CustomPayload |
Custom payloads not fully supported yet |
| DataType |
Any cassandra datatype |
| Field |
A field's metadata |
| FieldIterator |
Iterater over the field's metadata entries(??) |
| FunctionIterator |
Iterater over the function metadata entries(??) |
| FunctionMeta |
The metadata for a function |
| Future |
A CQL Future representing the status of any asynchronous calls to Cassandra |
| FutureCallback |
A callback registered to execute when the future returns |
| Inet |
Cassandra's version of an IP address |
| KeyspaceIterator |
Iterater over the keyspace's metadata entries(??) |
| KeyspaceMeta |
A snapshot of the schema's metadata. |
| List |
A cassandra list collection |
| LogLevel |
The possible logging levels that can be set |
| Map |
A Cassandra Map |
| MapIterator |
An iterator over the k/v pair in the map |
| PreparedFuture |
The future result of an prepared statement. It can represent a result if the operation completed successfully or an error if the operation failed. It can be waited on, polled or a callback can be attached. |
| PreparedStatement |
A statement that has been prepared against at least one Cassandra node. Instances of this class should not be created directly, but through Session.prepare(). |
| ResultFuture |
The future result of an operation. It can represent a result if the operation completed successfully or an error if the operation failed. It can be waited on, polled or a callback can be attached. |
| RetryPolicy |
The selected retry policy |
| Row |
A collection of column values. |
| SchemaMeta |
A snapshot of the schema's metadata |
| Session |
A session object is used to execute queries and maintains cluster state through the control connection. The control connection is used to auto-discover nodes and monitor cluster changes (topology and schema). Each session also maintains multiple /pools of connections to cluster nodes which are used to query the cluster. |
| SessionFuture |
The future result of an attempt to create a new Cassandra session It can be waited on, polled or a callback can be attached. |
| Set |
A Cassandra set |
| SetIterator |
Iterater over the set's metadata entries(??) |
| Ssl |
Describes the SSL configuration of a cluster. |
| Statement |
A statement object is an executable query. It represents either a regular (adhoc) statement or a prepared statement. It maintains the queries' parameter values along with query options (consistency level, paging state, etc.) |
| TableIterator |
Iterater over the table's metadata entries(??) |
| TableMeta |
Table metadata |
| TimestampGen |
Generators of client-side, microsecond-precision timestamps. Note: This generator is thread-safe and can be shared by multiple sessions. |
| Tuple |
A tuple of values. |
| UserType |
A user defined type |
| UserTypeIterator |
Iterater over the fields of a UDT |
| Uuid |
Version 1 (time-based) or version 4 (random) UUID. |
| UuidGen |
A UUID generator object. |
| Value |
A single primitive value or a collection of values. |
| ValueType |
The various types of types that a Cassandra value can be |
Enums
| CqlProtocol |
Possible Cql Protocol versions |
Traits
| AsRustType |
Auto inferencing conversion from c* to rust |
| BindRustType |
All Rust types that can be bound to a cassandra statement //FIXME not yet implemented Any rust type that can have a default bind implementation |
| CassCollection |
A generic Cassandra collection that needs to go away |
Functions
| set_callback |
Sets a callback for handling logging events. |
| set_level |
Sets the log level. |
Type Definitions
| BatchType | |
| CassBatchType |