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.dse | |
com.datastax.driver.dse.auth | |
com.datastax.driver.dse.geometry.codecs | |
com.datastax.driver.dse.graph |
Class and Description |
---|
AbstractGettableData |
AbstractTableMetadata
Base class for Tables and Materialized Views metadata.
|
AggregateMetadata
Describes a CQL aggregate function (created with
CREATE AGGREGATE... ). |
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. |
ClusteringOrder
Clustering orders.
|
CodecRegistry
A registry for
TypeCodec s. |
ColumnDefinitions
Metadata describing the columns returned in a
ResultSet or a
PreparedStatement . |
ColumnDefinitions.Definition
A column definition.
|
ColumnMetadata
Describes a Column.
|
Configuration
The configuration of the cluster.
|
Configuration.Builder
A builder to create a new
Configuration object. |
ConsistencyLevel |
DataType
Data types supported by cassandra.
|
DataType.CollectionType
Instances of this class represent collection types, that is,
lists, sets or maps.
|
DataType.CustomType
A "custom" type is a type that cannot be expressed as a CQL type.
|
DataType.Name
The CQL type name.
|
ExecutionInfo
Basic information on the execution of a query.
|
FunctionMetadata
Describes a CQL function (created with
CREATE FUNCTION... ). |
GettableByIndexData
Collection of (typed) CQL values that can be retrieved by index (starting at zero).
|
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 at zero) 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). |
IndexMetadata
An immutable representation of secondary index metadata.
|
IndexMetadata.Kind |
JdkSSLOptions
SSLOptions implementation based on built-in JDK classes. |
JdkSSLOptions.Builder
Helper class to build JDK-based SSL options.
|
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.
|
LocalDate
A date with no time components, no time zone, in the ISO 8601 calendar.
|
MaterializedViewMetadata
An immutable representation of a materialized view.
|
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.
|
PerHostPercentileTracker
A
LatencyTracker that records latencies for each host over a sliding time interval, and exposes an
API to retrieve the latency at a given percentile. |
PerHostPercentileTracker.Builder
Helper class to builder
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 be set by index (starting at zero).
|
SettableByNameData
Collection of (typed) CQL values that can set by name.
|
SettableData
Collection of (typed) CQL values that can be set either by index (starting at zero) 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
Defines how the driver configures SSL connections.
|
Statement
An executable query.
|
TableMetadata
Describes a Table.
|
TableOptionsMetadata |
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.
|
TypeCodec |
TypeCodec.PrimitiveBooleanCodec
A codec that is capable of handling primitive booleans,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveByteCodec
A codec that is capable of handling primitive bytes,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveDoubleCodec
A codec that is capable of handling primitive doubles,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveFloatCodec
A codec that is capable of handling primitive floats,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveIntCodec
A codec that is capable of handling primitive ints,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveLongCodec
A codec that is capable of handling primitive longs,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveShortCodec
A codec that is capable of handling primitive shorts,
thus avoiding the overhead of boxing and unboxing such primitives.
|
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 |
DataType
Data types supported by cassandra.
|
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.
|
HostDistance
The distance to a Cassandra node as assigned by a
LoadBalancingPolicy (through its distance method). |
PerHostPercentileTracker
A
LatencyTracker that records latencies for each host over a sliding time interval, and exposes an
API to retrieve the latency at a given percentile. |
Statement
An executable query.
|
TimestampGenerator
Generates client-side, microsecond-precision query timestamps.
|
WriteType
The type of a Cassandra write query.
|
Class and Description |
---|
CodecRegistry
A registry for
TypeCodec s. |
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.
|
TableMetadata
Describes a Table.
|
Class and Description |
---|
CodecRegistry
A registry for
TypeCodec s. |
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 |
---|
AuthProvider
Provides
Authenticator instances for use when connecting
to Cassandra nodes. |
Cluster
Information and known state of a Cassandra cluster.
|
Cluster.Builder
Helper class to build
Cluster instances. |
Cluster.Initializer
Initializer for
Cluster instances. |
CodecRegistry
A registry for
TypeCodec s. |
Configuration
The configuration of the cluster.
|
DelegatingCluster
Base class for custom
Cluster implementations that wrap another instance (delegate / decorator pattern). |
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). |
NettyOptions
A set of hooks that allow clients to customize the driver's underlying Netty layer.
|
PoolingOptions
Options related to connection pooling.
|
ProtocolOptions.Compression
Compression supported by the Cassandra binary protocol.
|
ProtocolVersion
Versions of the native protocol supported by the driver.
|
QueryOptions
Options related to defaults for individual queries.
|
Session
A session holds connections to a Cassandra cluster, allowing it to be queried.
|
SocketOptions
Options to configure low-level socket options for the connections kept
to the Cassandra hosts.
|
SSLOptions
Defines how the driver configures SSL connections.
|
Statement
An executable query.
|
TimestampGenerator
Generates client-side, microsecond-precision query timestamps.
|
Class and Description |
---|
Authenticator
Handles SASL authentication with Cassandra servers.
|
AuthProvider
Provides
Authenticator instances for use when connecting
to Cassandra nodes. |
Class and Description |
---|
DataType.CustomType
A "custom" type is a type that cannot be expressed as a CQL type.
|
TypeCodec |
Class and Description |
---|
ConsistencyLevel |
ExecutionInfo
Basic information on the execution of a query.
|
RegularStatement
A regular (non-prepared and non batched) CQL statement.
|
ResultSet
The result of a query.
|
SimpleStatement
A simple
RegularStatement implementation built directly from a query
string. |
Statement
An executable query.
|