See: Description
Interface | Description |
---|---|
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.StateListener |
Interface for listeners that are interested in hosts added, up, down and
removed events.
|
LatencyTracker |
Interface for objects that are interested in tracking the latencies
of the driver queries to each Cassandra nodes.
|
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 . |
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.
|
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.
|
Class | Description |
---|---|
AbstractGettableData | |
AbstractSession |
Abstract implementation of the Session interface.
|
AggregateMetadata |
Describes a CQL aggregate function (created with
CREATE AGGREGATE... ). |
AtomicMonotonicTimestampGenerator |
A timestamp generator based on
System.currentTimeMillis() , with an incrementing atomic counter
to generate the sub-millisecond part. |
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. |
CodecRegistry |
A registry for
TypeCodec s. |
CodecUtils |
A set of utility methods to deal with type conversion,
serialization, and to create
TypeToken instances. |
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. |
DataType |
Data types supported by cassandra.
|
DataType.CollectionType | |
DataType.CustomType | |
DataType.NativeType | |
DefaultPreparedStatement | |
DelegatingCluster |
Base class for custom
Cluster implementations that wrap another instance (delegate / decorator pattern). |
ExecutionInfo |
Basic information on the execution of a query.
|
FunctionMetadata |
Describes a CQL function (created with
CREATE FUNCTION... ). |
Host |
A Cassandra node.
|
KeyspaceMetadata |
Describes a keyspace defined in this cluster.
|
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.
|
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. |
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 based on
System.currentTimeMillis() , with an incrementing thread-local counter
to generate the sub-millisecond part. |
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<T> | |
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<E,C extends Collection<E>> |
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.CustomCodec |
This codec maps a CQL
DataType.custom(String) to a Java ByteBuffer . |
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.EnumIntCodec<E extends Enum<E>> |
A codec that serializes
Enum instances as CQL int s
representing their ordinal values as returned by Enum.ordinal() . |
TypeCodec.EnumStringCodec<E extends Enum<E>> |
A codec that serializes
Enum instances as CQL varchar s
representing their programmatic names as returned by Enum.name() . |
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.ListCodec<T> | |
TypeCodec.LongCodec |
Base class for codecs handling CQL 8-byte integer types such as
DataType.bigint() ,
DataType.counter() or DataType.time() . |
TypeCodec.MapCodec<K,V> | |
TypeCodec.MappingCodec<T,U> |
An abstract TypeCodec that maps a Java Pojo to another Java object
that can in turn be serialized into a CQL type.
|
TypeCodec.SetCodec<T> | |
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<T> |
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.TupleCodec |
This codec maps a CQL
TupleType to a TupleValue . |
TypeCodec.UDTCodec | |
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.
|
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.
|
The main entry for this package is the Cluster
class.
Copyright © 2012–2015. All rights reserved.