Package | Description |
---|---|
com.datastax.driver.auth | |
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 | |
com.datastax.driver.mapping.annotations |
Class and Description |
---|
Authenticator
Handles SASL authentication with Cassandra servers.
|
AuthProvider
Provides
Authenticator instances for use when connecting
to Cassandra nodes. |
Class and Description |
---|
AbstractGettableData |
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. |
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.
|
ColumnMetadata.IndexMetadata
Metadata on a column index.
|
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 |
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 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). |
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.
|
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 . |
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.
|
TypeCodec |
TypeCodec.AbstractUUIDCodec
Base class for codecs handling CQL UUID types such as
DataType.uuid() and DataType.timeuuid() . |
TypeCodec.AsciiCodec
This codec maps a CQL
DataType.ascii() to a Java String . |
TypeCodec.BigintCodec
This codec maps a CQL
DataType.bigint() to a Java Long . |
TypeCodec.BlobCodec
This codec maps a CQL
DataType.blob() to a Java ByteBuffer . |
TypeCodec.BooleanCodec
This codec maps a CQL
DataType.cboolean() to a Java Boolean . |
TypeCodec.CollectionCodec
Base class for codecs handling CQL collection types such as
DataType.list(DataType)
or DataType.set(DataType) . |
TypeCodec.CounterCodec
This codec maps a CQL
DataType.counter() to a Java Long . |
TypeCodec.DateCodec
This codec maps a CQL
DataType.date() to the custom LocalDate class. |
TypeCodec.DecimalCodec
This codec maps a CQL
DataType.decimal() to a Java BigDecimal . |
TypeCodec.DoubleCodec
This codec maps a CQL
DataType.cdouble() to a Java Double . |
TypeCodec.FloatCodec
This codec maps a CQL
DataType.cfloat() to a Java Float . |
TypeCodec.InetCodec
This codec maps a CQL
DataType.inet() to a Java InetAddress . |
TypeCodec.IntCodec
This codec maps a CQL
DataType.cint() to a Java Integer . |
TypeCodec.LongCodec
Base class for codecs handling CQL 8-byte integer types such as
DataType.bigint() ,
DataType.counter() or DataType.time() . |
TypeCodec.PrimitiveBooleanCodec
An interface for codecs that are capable of handling primitive booleans,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveByteCodec
An interface for codecs that are capable of handling primitive bytes,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveDoubleCodec
An interface for codecs that are capable of handling primitive doubles,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveFloatCodec
An interface for codecs that are capable of handling primitive floats,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveIntCodec
An interface for codecs that are capable of handling primitive ints,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveLongCodec
An interface for codecs that are capable of handling primitive longs,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.PrimitiveShortCodec
An interface for codecs that are capable of handling primitive shorts,
thus avoiding the overhead of boxing and unboxing such primitives.
|
TypeCodec.SmallIntCodec
This codec maps a CQL
DataType.smallint() to a Java Short . |
TypeCodec.StringCodec
Base class for codecs handling CQL string types such as
DataType.varchar() ,
DataType.text() or DataType.ascii() . |
TypeCodec.StringParsingCodec
An abstract TypeCodec that actually stores objects as serialized strings.
|
TypeCodec.TimeCodec
This codec maps a CQL
DataType.time() to a Java Long . |
TypeCodec.TimestampCodec
This codec maps a CQL
DataType.timestamp() to a Java Date . |
TypeCodec.TimeUUIDCodec
This codec maps a CQL
DataType.timeuuid() to a Java UUID . |
TypeCodec.TinyIntCodec
This codec maps a CQL
DataType.tinyint() to a Java Byte . |
TypeCodec.UUIDCodec
This codec maps a CQL
DataType.uuid() to a Java UUID . |
TypeCodec.VarcharCodec
This codec maps a CQL
DataType.varchar() to a Java String . |
TypeCodec.VarintCodec
This codec maps a CQL
DataType.varint() to a Java BigInteger . |
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 |
---|
Cluster
Information and known state of a Cassandra cluster.
|
CodecRegistry
A registry for
TypeCodec s. |
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.
|
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.
|
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.
|
TypeCodec |
Class and Description |
---|
TypeCodec |
Copyright © 2012–2015. All rights reserved.