See: Description
Interface | Description |
---|---|
AsyncInitSession |
A
Session that can be initialized asynchronously. |
Authenticator |
Handles SASL authentication with Cassandra servers.
|
AuthProvider |
Provides
Authenticator instances for use when connecting
to Cassandra nodes. |
Cluster.Initializer |
Initializer for
Cluster instances. |
GettableByIndexData |
Collection of (typed) CQL values that can be retrieved by index (starting a 0).
|
GettableByNameData |
Collection of (typed) CQL values that can be retrieved by name.
|
GettableData |
Collection of (typed) CQL values that can be retrieved either by index (starting a 0) or by name.
|
Host.LifecycleAwareStateListener |
A
StateListener that tracks when it gets registered or unregistered with a cluster. |
Host.StateListener |
Interface for listeners that are interested in hosts added, up, down and
removed events.
|
IdempotenceAwarePreparedStatement |
Interface that extends the
PreparedStatement interface in order to prevent breaking
binary compatibility. |
LatencyTracker |
Interface for objects that are interested in tracking the latencies
of the driver queries to each Cassandra nodes.
|
LifecycleAwareLatencyTracker |
A
LatencyTracker that tracks when it gets registered or unregistered with a cluster. |
PreparedStatement |
Represents a prepared statement, a query with bound variables that has been
prepared (pre-parsed) by the database.
|
ResultSet |
The result of a query.
|
ResultSetFuture |
A future on a
ResultSet . |
Row |
A CQL Row returned in a
ResultSet . |
SchemaChangeListener |
Interface for objects that are interested in tracking schema change events in the cluster.
|
Session |
A session holds connections to a Cassandra cluster, allowing it to be queried.
|
Session.State |
The state of a Session.
|
SettableByIndexData<T extends SettableByIndexData<T>> |
Collection of (typed) CQL values that can set by index (starting a 0).
|
SettableByNameData<T extends SettableData<T>> |
Collection of (typed) CQL values that can set by name.
|
SettableData<T extends SettableData<T>> |
Collection of (typed) CQL values that can set either by index (starting a 0) or by name.
|
TimestampGenerator |
Generates client-side, microsecond-precision query timestamps.
|
Class | Description |
---|---|
AbstractGettableData | |
AbstractMonotonicTimestampGenerator |
Base implementation for monotonic timestamp generators.
|
AbstractSession |
Abstract implementation of the Session interface.
|
AtomicMonotonicTimestampGenerator |
A timestamp generator that guarantees monotonically increasing timestamps among all client threads, and logs warnings
when timestamps drift in the future.
|
BatchStatement |
A statement that groups a number of
Statement so they get executed as
a batch. |
BoundStatement |
A prepared statement with values bound to the bind variables.
|
CloseFuture |
A future on the shutdown of a Cluster or Session instance.
|
Cluster |
Information and known state of a Cassandra cluster.
|
Cluster.Builder |
Helper class to build
Cluster instances. |
ClusterWidePercentileTracker |
A
PercentileTracker that aggregates all measurements into a single histogram. |
ClusterWidePercentileTracker.Builder |
Helper class to build
PerHostPercentileTracker instances with a fluent interface. |
ColumnDefinitions |
Metadata describing the columns returned in a
ResultSet or a
PreparedStatement . |
ColumnDefinitions.Definition |
A column definition.
|
ColumnMetadata |
Describes a Column.
|
ColumnMetadata.IndexMetadata |
Metadata on a column index.
|
Configuration |
The configuration of the cluster.
|
DataType |
Data types supported by cassandra.
|
DefaultPreparedStatement | |
DelegatingCluster |
Base class for custom
Cluster implementations that wrap another instance (delegate / decorator pattern). |
ExecutionInfo |
Basic information on the execution of a query.
|
Host |
A Cassandra node.
|
KeyspaceMetadata |
Describes a keyspace defined in this cluster.
|
LoggingMonotonicTimestampGenerator |
A monotonic timestamp generator that logs warnings when timestamps drift in the future
(see this class's constructors and
LoggingMonotonicTimestampGenerator.onDrift(long, long) for more information). |
Metadata |
Keeps metadata on the connected cluster, including known nodes and schema definitions.
|
Metrics |
Metrics exposed by the driver.
|
MetricsOptions |
Metrics options. |
Native |
Helper class to deal with native system calls through the
JNR library.
|
NettyOptions |
A set of hooks that allow clients to customize the driver's underlying Netty layer.
|
PagingState |
The paging state of a query.
|
PercentileTracker |
A
LatencyTracker that records query latencies over a sliding time interval, and exposes an API to retrieve
the latency at a given percentile. |
PercentileTracker.Builder<B,T> |
Base class for
PercentileTracker implementation builders. |
PerHostPercentileTracker |
A
PercentileTracker that maintains a separate histogram for each host. |
PerHostPercentileTracker.Builder |
Helper class to build
PerHostPercentileTracker instances with a fluent interface. |
PlainTextAuthProvider |
A simple
AuthProvider implementation. |
PoolingOptions |
Options related to connection pooling.
|
PreparedId |
Identifies a PreparedStatement.
|
ProtocolOptions |
Options of the Cassandra native binary protocol.
|
QueryLogger |
A configurable
LatencyTracker that logs all executed statements. |
QueryLogger.Builder |
Helper class to build
QueryLogger instances with a fluent API. |
QueryLogger.ConstantThresholdQueryLogger |
A QueryLogger that uses a constant threshold in milliseconds
to track slow queries.
|
QueryLogger.DynamicThresholdQueryLogger |
A QueryLogger that uses a dynamic threshold in milliseconds
to track slow queries.
|
QueryOptions |
Options related to defaults for individual queries.
|
QueryTrace |
The Cassandra trace for a query.
|
QueryTrace.Event |
A trace event.
|
RegularStatement |
A regular (non-prepared and non batched) CQL statement.
|
ServerSideTimestampGenerator |
A timestamp generator that always returns
Long.MIN_VALUE , in order to let Cassandra
assign server-side timestamps. |
SimpleStatement |
A simple
RegularStatement implementation built directly from a query
string. |
SocketOptions |
Options to configure low-level socket options for the connections kept
to the Cassandra hosts.
|
SSLOptions |
Options to provide to enable SSL connections.
|
Statement |
An executable query.
|
StatementWrapper |
Base class for custom
Statement implementations that wrap another statement. |
TableMetadata |
Describes a Table.
|
TableMetadata.Options | |
ThreadLocalMonotonicTimestampGenerator |
A timestamp generator that guarantees monotonically increasing timestamps on a per-thread basis, and logs warnings
when timestamps drift in the future.
|
Token |
A token on the Cassandra ring.
|
TokenRange |
A range of tokens on the Cassandra ring.
|
TupleType |
A tuple type.
|
TupleValue |
A value for a Tuple.
|
UDTValue |
A value for a User Defined Type.
|
UserType |
A User Defined Type (UDT).
|
UserType.Field |
A UDT field.
|
VersionNumber |
A version number in the form X.Y.Z with optional pre-release labels and build metadata.
|
Enum | Description |
---|---|
BatchStatement.Type |
The type of batch to use.
|
ConsistencyLevel | |
DataType.Name |
The CQL type name.
|
HostDistance |
The distance to a Cassandra node as assigned by a
LoadBalancingPolicy (through its distance method). |
ProtocolOptions.Compression |
Compression supported by the Cassandra binary protocol.
|
ProtocolVersion |
Versions of the native protocol supported by the driver.
|
TableMetadata.Order |
Clustering orders.
|
WriteType |
The type of a Cassandra write query.
|
Exception | Description |
---|---|
ConnectionException |
Indicates that a connection to a host has encountered a problem
and that it should be closed.
|
OperationTimedOutException |
Thrown on a client-side timeout, i.e.
|
TransportException |
A connection exception that has to do with the transport itself, i.e.
|
Cluster
class.