Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.core.exceptions |
Exceptions thrown by the DataStax Java driver for Cassandra.
|
com.datastax.driver.core.policies |
Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra.
|
com.datastax.driver.core.querybuilder |
A CQL3 query builder.
|
com.datastax.driver.core.schemabuilder |
A CQL3 schema builder.
|
com.datastax.driver.mapping |
Class and Description |
---|
AbstractGettableData |
AbstractMonotonicTimestampGenerator
Base implementation for monotonic timestamp generators.
|
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. |
BatchStatement
A statement that groups a number of
Statement so they get executed as
a batch. |
BatchStatement.Type
The type of batch to use.
|
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. |
Cluster.Initializer
Initializer for
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.
|
ConnectionException
Indicates that a connection to a host has encountered a problem
and that it should be closed.
|
ConsistencyLevel |
DataType
Data types supported by cassandra.
|
DataType.Name
The CQL type name.
|
ExecutionInfo
Basic information on the execution of a query.
|
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
A Cassandra node.
|
Host.StateListener
Interface for listeners that are interested in hosts added, up, down and
removed events.
|
HostDistance
The distance to a Cassandra node as assigned by a
LoadBalancingPolicy (through its distance method). |
IdempotenceAwarePreparedStatement
Interface that extends the
PreparedStatement interface in order to prevent breaking
binary compatibility. |
KeyspaceMetadata
Describes a keyspace defined in this cluster.
|
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. |
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.
|
Metrics.Errors
Metrics on errors encountered.
|
MetricsOptions
Metrics options. |
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
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. |
PoolingOptions
Options related to connection pooling.
|
PreparedId
Identifies a PreparedStatement.
|
PreparedStatement
Represents a prepared statement, a query with bound variables that has been
prepared (pre-parsed) by the database.
|
ProtocolOptions
Options of the Cassandra native binary protocol.
|
ProtocolOptions.Compression
Compression supported by the Cassandra binary protocol.
|
ProtocolVersion
Versions of the native protocol supported by the driver.
|
QueryLogger
A configurable
LatencyTracker that logs all executed statements. |
QueryLogger.Builder
Helper class to build
QueryLogger instances with a fluent API. |
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.
|
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
Collection of (typed) CQL values that can set by index (starting a 0).
|
SettableByNameData
Collection of (typed) CQL values that can set by name.
|
SettableData
Collection of (typed) CQL values that can set either by index (starting a 0) or by name.
|
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.
|
TableMetadata
Describes a Table.
|
TableMetadata.Options |
TableMetadata.Order
Clustering orders.
|
TimestampGenerator
Generates client-side, microsecond-precision query timestamps.
|
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.
|
WriteType
The type of a Cassandra write query.
|
Class and Description |
---|
ConsistencyLevel |
ProtocolVersion
Versions of the native protocol supported by the driver.
|
WriteType
The type of a Cassandra write query.
|
Class and Description |
---|
Cluster
Information and known state of a Cassandra cluster.
|
ConsistencyLevel |
Host
A Cassandra node.
|
Host.StateListener
Interface for listeners that are interested in hosts added, up, down and
removed events.
|
HostDistance
The distance to a Cassandra node as assigned by a
LoadBalancingPolicy (through its distance method). |
PercentileTracker
A
LatencyTracker that records query latencies over a sliding time interval, and exposes an API to retrieve
the latency at a given percentile. |
QueryOptions
Options related to defaults for individual queries.
|
Statement
An executable query.
|
TimestampGenerator
Generates client-side, microsecond-precision query timestamps.
|
WriteType
The type of a Cassandra write query.
|
Class and Description |
---|
ProtocolVersion
Versions of the native protocol supported by the driver.
|
RegularStatement
A regular (non-prepared and non batched) CQL statement.
|
Statement
An executable query.
|
TableMetadata
Describes a Table.
|
Class and Description |
---|
DataType
Data types supported by cassandra.
|
ProtocolVersion
Versions of the native protocol supported by the driver.
|
RegularStatement
A regular (non-prepared and non batched) CQL statement.
|
Statement
An executable query.
|
Class and Description |
---|
ConsistencyLevel |
ExecutionInfo
Basic information on the execution of a query.
|
ProtocolVersion
Versions of the native protocol supported by the driver.
|
ResultSet
The result of a query.
|
Session
A session holds connections to a Cassandra cluster, allowing it to be queried.
|
Statement
An executable query.
|
TableMetadata
Describes a Table.
|
UDTValue
A value for a User Defined Type.
|