Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

AbstractSession - Class in com.datastax.driver.core
Abstract implementation of the Session interface.
AbstractSession() - Constructor for class com.datastax.driver.core.AbstractSession
 
add(Statement) - Method in class com.datastax.driver.core.BatchStatement
Adds a new statement to this batch.
add(RegularStatement) - Method in class com.datastax.driver.core.querybuilder.Batch
Adds a new statement to this batch.
add(RegularStatement) - Method in class com.datastax.driver.core.querybuilder.Batch.Options
Adds a new statement to the BATCH statement these options are part of.
add(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Adds a value to a set column.
addAll(Iterable<? extends Statement>) - Method in class com.datastax.driver.core.BatchStatement
Adds multiple statements to this batch.
addAll(String, Set<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Adds a set of values to a set column.
addAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Adds a set of values to a set column.
addContactPoint(String) - Method in class com.datastax.driver.core.Cluster.Builder
Adds a contact point.
addContactPoints(String...) - Method in class com.datastax.driver.core.Cluster.Builder
Adds contact points.
addContactPoints(String) - Method in class com.datastax.driver.core.Cluster.Builder
Adds a contact point - or many if it host resolves to multiple InetAddresss (A records).
addContactPoints(InetAddress...) - Method in class com.datastax.driver.core.Cluster.Builder
Adds contact points.
addContactPoints(Collection<InetAddress>) - Method in class com.datastax.driver.core.Cluster.Builder
Adds contact points.
addContactPointsWithPorts(Collection<InetSocketAddress>) - Method in class com.datastax.driver.core.Cluster.Builder
Adds contact points.
AddressTranslater - Interface in com.datastax.driver.core.policies
Translates IP addresses received from Cassandra nodes into locally queriable addresses.
afterBootstrapInitialized(Bootstrap) - Method in class com.datastax.driver.core.NettyOptions
Hook invoked each time the driver creates a new Connection and configures a new instance of Bootstrap for it.
afterChannelInitialized(SocketChannel) - Method in class com.datastax.driver.core.NettyOptions
Hook invoked each time the driver creates a new Connection and initializes the channel.
all() - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
Deletes all columns (i.e.
all() - Method in class com.datastax.driver.core.querybuilder.Select.Selection
Selects all columns (i.e.
all() - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
Selects all columns (i.e.
all() - Method in interface com.datastax.driver.core.ResultSet
Returns all the remaining rows in this ResultSet as a list.
allowFiltering() - Method in class com.datastax.driver.core.querybuilder.Select
Adds an ALLOW FILTERING directive to this statement.
allowRemoteDCsForLocalConsistencyLevel() - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy.Builder
Allows the policy to return remote hosts when building query plans for queries having consistency level LOCAL_ONE or LOCAL_QUORUM.
allPrimitiveTypes() - Static method in class com.datastax.driver.core.DataType
Returns a set of all the primitive types, where primitive types are defined as the types that don't have type arguments (that is excluding lists, sets, and maps).
AlreadyExistsException - Exception in com.datastax.driver.core.exceptions
Exception thrown when a query attempts to create a keyspace or table that already exists.
AlreadyExistsException(String, String) - Constructor for exception com.datastax.driver.core.exceptions.AlreadyExistsException
 
AlreadyExistsException(InetSocketAddress, String, String) - Constructor for exception com.datastax.driver.core.exceptions.AlreadyExistsException
 
and(Using) - Method in class com.datastax.driver.core.querybuilder.Batch.Options
Adds the provided option.
and(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete.Conditions
Adds the provided condition for the deletion.
and(Using) - Method in class com.datastax.driver.core.querybuilder.Delete.Options
Adds the provided option.
and(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete.Where
Adds the provided clause to this WHERE clause.
and(Using) - Method in class com.datastax.driver.core.querybuilder.Insert.Options
Adds the provided option.
and(Clause) - Method in class com.datastax.driver.core.querybuilder.Select.Where
Adds the provided clause to this WHERE clause.
and(Assignment) - Method in class com.datastax.driver.core.querybuilder.Update.Assignments
Adds a new assignment for this UPDATE statement.
and(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Conditions
Adds the provided condition for the update.
and(Using) - Method in class com.datastax.driver.core.querybuilder.Update.Options
Adds the provided option.
and(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Where
Adds the provided clause to this WHERE clause.
append(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Append a value to a list column.
append(Statement, StringBuilder, int) - Method in class com.datastax.driver.core.QueryLogger
 
append(CharSequence, StringBuilder, int) - Method in class com.datastax.driver.core.QueryLogger
 
appendAll(String, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Append a list of values to a list column.
appendAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Append a list of values to a list column.
appendParameters(BoundStatement, StringBuilder, int) - Method in class com.datastax.driver.core.QueryLogger
 
as(String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
Adds an alias for the just selected item.
asc(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Ascending ordering for the provided column.
ascii() - Static method in class com.datastax.driver.core.DataType
Returns the ASCII type.
asCQLQuery() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
Returns a CQL query representing this index.
asCQLQuery() - Method in class com.datastax.driver.core.KeyspaceMetadata
Returns a CQL query representing this keyspace.
asCQLQuery() - Method in class com.datastax.driver.core.TableMetadata
Returns a CQL query representing this table.
asJavaClass() - Method in class com.datastax.driver.core.DataType
Returns the Java Class corresponding to this type.
asJavaClass() - Method in enum com.datastax.driver.core.DataType.Name
Returns the Java Class corresponding to this CQL type name.
asList() - Method in class com.datastax.driver.core.ColumnDefinitions
Returns a list containing all the definitions of this metadata in order.
Assignment - Class in com.datastax.driver.core.querybuilder
 
AsyncInitSession - Interface in com.datastax.driver.core
A Session that can be initialized asynchronously.
AuthenticationException - Exception in com.datastax.driver.core.exceptions
Indicates an error during the authentication phase while connecting to a node.
AuthenticationException(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.AuthenticationException
 
Authenticator - Interface in com.datastax.driver.core
Handles SASL authentication with Cassandra servers.
AuthProvider - Interface in com.datastax.driver.core
Provides Authenticator instances for use when connecting to Cassandra nodes.

B

Batch - Class in com.datastax.driver.core.querybuilder
A built BATCH statement.
batch(RegularStatement...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Built a new BATCH query on the provided statements.
Batch.Options - Class in com.datastax.driver.core.querybuilder
The options of a BATCH statement.
BatchStatement - Class in com.datastax.driver.core
A statement that group a number of Statement so they get executed as a batch.
BatchStatement() - Constructor for class com.datastax.driver.core.BatchStatement
Creates a new LOGGED batch statement.
BatchStatement(BatchStatement.Type) - Constructor for class com.datastax.driver.core.BatchStatement
Creates a new batch statement of the provided type.
BatchStatement.Type - Enum in com.datastax.driver.core
The type of batch to use.
bigint() - Static method in class com.datastax.driver.core.DataType
Returns the BIGINT type.
bind(Object...) - Method in class com.datastax.driver.core.BoundStatement
Bound values to the variables of this statement.
bind(Object...) - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
bind() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
bind(Object...) - Method in interface com.datastax.driver.core.PreparedStatement
Creates a new BoundStatement object and bind its variables to the provided values.
bind() - Method in interface com.datastax.driver.core.PreparedStatement
Creates a new BoundStatement object for this prepared statement.
BindMarker - Class in com.datastax.driver.core.querybuilder
A CQL3 bind marker.
bindMarker() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
An object representing an anonymous bind marker (a question mark).
bindMarker(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
An object representing a named bind marker.
blob() - Static method in class com.datastax.driver.core.DataType
Returns the BLOB type.
BootstrappingException - Exception in com.datastax.driver.core.exceptions
Indicates that the contacted host was bootstrapping.
BootstrappingException(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.BootstrappingException
 
BoundStatement - Class in com.datastax.driver.core
A prepared statement with values bound to the bind variables.
BoundStatement(PreparedStatement) - Constructor for class com.datastax.driver.core.BoundStatement
Creates a new BoundStatement from the provided prepared statement.
build() - Method in class com.datastax.driver.core.Cluster.Builder
Builds the cluster with the configured set of initial contact points and policies.
build() - Method in class com.datastax.driver.core.PerHostPercentileTracker.Builder
Builds the PerHostPercentileTracker instance configured with this builder.
build() - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy.Builder
Builds the policy configured by this builder.
build() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
Builds a new latency aware policy using the options set on this builder.
build() - Method in class com.datastax.driver.core.QueryLogger.Builder
Build the QueryLogger instance.
builder() - Static method in class com.datastax.driver.core.Cluster
Creates a new Cluster.Builder instance.
Builder() - Constructor for class com.datastax.driver.core.Cluster.Builder
 
builder() - Static method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
Returns a builder to create a new instance.
Builder() - Constructor for class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy.Builder
 
builder(LoadBalancingPolicy) - Static method in class com.datastax.driver.core.policies.LatencyAwarePolicy
Creates a new latency aware policy builder given the child policy that the resulting policy should wrap.
Builder(LoadBalancingPolicy) - Constructor for class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
Creates a new latency aware policy builder given the child policy that the resulting policy wraps.
builder(Cluster) - Static method in class com.datastax.driver.core.QueryLogger
Creates a new QueryLogger.Builder instance.
Builder(Cluster) - Constructor for class com.datastax.driver.core.QueryLogger.Builder
 
builderWithHighestTrackableLatencyMillis(long) - Static method in class com.datastax.driver.core.PerHostPercentileTracker
Returns a builder to create a new instance.
buildFrom(Cluster.Initializer) - Static method in class com.datastax.driver.core.Cluster
Build a new cluster based on the provided initializer.
buildQueryString(List<Object>) - Method in class com.datastax.driver.core.querybuilder.Truncate
 
BuiltStatement - Class in com.datastax.driver.core.querybuilder
Common ancestor to the query builder built statements.
Bytes - Class in com.datastax.driver.core.utils
Simple utility methods to make working with bytes (blob) easier.

C

cancel(boolean) - Method in interface com.datastax.driver.core.ResultSetFuture
Attempts to cancel the execution of the request corresponding to this future.
cboolean() - Static method in class com.datastax.driver.core.DataType
Returns the BOOLEAN type.
cdouble() - Static method in class com.datastax.driver.core.DataType
Returns the DOUBLE type.
cfloat() - Static method in class com.datastax.driver.core.DataType
Returns the FLOAT type.
ChainableLoadBalancingPolicy - Interface in com.datastax.driver.core.policies
A load balancing policy that wraps another policy.
channelClass() - Method in class com.datastax.driver.core.NettyOptions
Return the specific SocketChannel subclass to use.
checkSchemaAgreement() - Method in class com.datastax.driver.core.Metadata
Checks whether hosts that are currently up agree on the schema definition.
cint() - Static method in class com.datastax.driver.core.DataType
Returns the INT type.
Clause - Class in com.datastax.driver.core.querybuilder
 
Clause() - Constructor for class com.datastax.driver.core.querybuilder.Clause
 
clear() - Method in class com.datastax.driver.core.BatchStatement
Clears this batch, removing all statements added so far.
close() - Method in class com.datastax.driver.core.AbstractSession
Initiates a shutdown of this session instance and blocks until that shutdown completes.
close() - Method in class com.datastax.driver.core.Cluster
Initiates a shutdown of this cluster instance and blocks until that shutdown completes.
close() - Method in class com.datastax.driver.core.DelegatingCluster
 
close() - Method in interface com.datastax.driver.core.policies.CloseableAddressTranslater
Called at Cluster shutdown.
close() - Method in interface com.datastax.driver.core.policies.CloseableLoadBalancingPolicy
Gets invoked at cluster shutdown.
close() - Method in class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
 
close() - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
 
close() - Method in class com.datastax.driver.core.policies.EC2MultiRegionAddressTranslater
 
close() - Method in class com.datastax.driver.core.policies.HostFilterPolicy
 
close() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
 
close() - Method in class com.datastax.driver.core.policies.NoSpeculativeExecutionPolicy
 
close() - Method in class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
 
close() - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
 
close() - Method in interface com.datastax.driver.core.policies.SpeculativeExecutionPolicy
Gets invoked at cluster shutdown.
close() - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
close() - Method in interface com.datastax.driver.core.Session
Initiates a shutdown of this session instance and blocks until that shutdown completes.
CloseableAddressTranslater - Interface in com.datastax.driver.core.policies
Extends AddressTranslater for implementations that need to free some resources at Cluster shutdown.
CloseableLoadBalancingPolicy - Interface in com.datastax.driver.core.policies
A load balancing policy that wants to be notified at cluster shutdown.
closeAsync() - Method in class com.datastax.driver.core.Cluster
Initiates a shutdown of this cluster instance.
closeAsync() - Method in class com.datastax.driver.core.DelegatingCluster
 
closeAsync() - Method in interface com.datastax.driver.core.Session
Initiates a shutdown of this session instance.
CloseFuture - Class in com.datastax.driver.core
A future on the shutdown of a Cluster or Session instance.
Cluster - Class in com.datastax.driver.core
Information and known state of a Cassandra cluster.
Cluster(String, List<InetSocketAddress>, Configuration) - Constructor for class com.datastax.driver.core.Cluster
Constructs a new Cluster instance.
Cluster(Cluster.Initializer) - Constructor for class com.datastax.driver.core.Cluster
Constructs a new Cluster instance.
cluster - Variable in class com.datastax.driver.core.QueryLogger
 
Cluster.Builder - Class in com.datastax.driver.core
Helper class to build Cluster instances.
Cluster.Initializer - Interface in com.datastax.driver.core
Initializer for Cluster instances.
column(String) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
Deletes the provided column.
column(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Declares that the name in argument should be treated as a column name.
column(String) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
Selects the provided column.
column(String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
Selects the provided column.
ColumnDefinitions - Class in com.datastax.driver.core
Metadata describing the columns returned in a ResultSet or a PreparedStatement.
ColumnDefinitions.Definition - Class in com.datastax.driver.core
A column definition.
ColumnMetadata - Class in com.datastax.driver.core
Describes a Column.
ColumnMetadata.IndexMetadata - Class in com.datastax.driver.core
Metadata on a column index.
com.datastax.driver.auth - package com.datastax.driver.auth
 
com.datastax.driver.core - package com.datastax.driver.core
The main package for the DataStax Java driver for Cassandra.
com.datastax.driver.core.exceptions - package com.datastax.driver.core.exceptions
Exceptions thrown by the DataStax Java driver for Cassandra.
com.datastax.driver.core.policies - package 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 - package com.datastax.driver.core.querybuilder
A CQL3 query builder.
com.datastax.driver.core.utils - package com.datastax.driver.core.utils
 
compareTo(TokenRange) - Method in class com.datastax.driver.core.TokenRange
 
compareTo(VersionNumber) - Method in class com.datastax.driver.core.VersionNumber
 
Configuration - Class in com.datastax.driver.core
The configuration of the cluster.
Configuration() - Constructor for class com.datastax.driver.core.Configuration
 
Configuration(Policies, ProtocolOptions, PoolingOptions, SocketOptions, MetricsOptions, QueryOptions, NettyOptions) - Constructor for class com.datastax.driver.core.Configuration
Creates a configuration with the specified parameters.
connect() - Method in class com.datastax.driver.core.Cluster
Creates a new session on this cluster and initialize it.
connect(String) - Method in class com.datastax.driver.core.Cluster
Creates a new session on this cluster, initialize it and sets the keyspace to the provided one.
connect() - Method in class com.datastax.driver.core.DelegatingCluster
 
connect(String) - Method in class com.datastax.driver.core.DelegatingCluster
 
connectAsync() - Method in class com.datastax.driver.core.Cluster
Creates a new session on this cluster and initializes it asynchronously.
connectAsync(String) - Method in class com.datastax.driver.core.Cluster
Creates a new session on this cluster, and initializes it to the given keyspace asynchronously.
connectAsync() - Method in class com.datastax.driver.core.DelegatingCluster
 
connectAsync(String) - Method in class com.datastax.driver.core.DelegatingCluster
 
ConsistencyLevel - Enum in com.datastax.driver.core
 
ConstantReconnectionPolicy - Class in com.datastax.driver.core.policies
A reconnection policy that waits a constant time between each reconnection attempt.
ConstantReconnectionPolicy(long) - Constructor for class com.datastax.driver.core.policies.ConstantReconnectionPolicy
Creates a reconnection policy that creates with the provided constant wait time between reconnection attempts.
ConstantSpeculativeExecutionPolicy - Class in com.datastax.driver.core.policies
A SpeculativeExecutionPolicy that schedules a given number of speculative executions, separated by a fixed delay.
ConstantSpeculativeExecutionPolicy(long, int) - Constructor for class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
Builds a new instance.
contains(String) - Method in class com.datastax.driver.core.ColumnDefinitions
Returns whether this metadata contains a given name.
contains(Token) - Method in class com.datastax.driver.core.TokenRange
Checks whether this range contains a given token.
CoordinatorException - Interface in com.datastax.driver.core.exceptions
An interface for exceptions that are able to report the address of the coordinator host that triggered the response error which caused the exception to be raised.
copy() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
 
copy(InetSocketAddress) - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
Create a copy of this exception with a nicer stack trace, and including the coordinator address that caused this exception to be raised.
copy() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
 
copy() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
 
copy() - Method in exception com.datastax.driver.core.exceptions.DriverException
Copy the exception.
copy() - Method in exception com.datastax.driver.core.exceptions.DriverInternalError
 
copy() - Method in exception com.datastax.driver.core.exceptions.InvalidConfigurationInQueryException
 
copy() - Method in exception com.datastax.driver.core.exceptions.InvalidQueryException
 
copy() - Method in exception com.datastax.driver.core.exceptions.InvalidTypeException
 
copy() - Method in exception com.datastax.driver.core.exceptions.NoHostAvailableException
 
copy() - Method in exception com.datastax.driver.core.exceptions.OverloadedException
 
copy() - Method in exception com.datastax.driver.core.exceptions.ProtocolError
 
copy() - Method in exception com.datastax.driver.core.exceptions.ReadTimeoutException
 
copy(InetSocketAddress) - Method in exception com.datastax.driver.core.exceptions.ReadTimeoutException
Create a copy of this exception with a nicer stack trace, and including the coordinator address that caused this exception to be raised.
copy() - Method in exception com.datastax.driver.core.exceptions.ServerError
 
copy() - Method in exception com.datastax.driver.core.exceptions.SyntaxError
 
copy() - Method in exception com.datastax.driver.core.exceptions.TraceRetrievalException
 
copy() - Method in exception com.datastax.driver.core.exceptions.TruncateException
 
copy() - Method in exception com.datastax.driver.core.exceptions.UnauthorizedException
 
copy() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
 
copy(InetSocketAddress) - Method in exception com.datastax.driver.core.exceptions.UnavailableException
Create a copy of this exception with a nicer stack trace, and including the coordinator address that caused this exception to be raised.
copy() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
 
copy() - Method in exception com.datastax.driver.core.exceptions.WriteTimeoutException
 
copy(InetSocketAddress) - Method in exception com.datastax.driver.core.exceptions.WriteTimeoutException
Create a copy of this exception with a nicer stack trace, and including the coordinator address that caused this exception to be raised.
countAll() - Method in class com.datastax.driver.core.querybuilder.Select.Selection
Selects the count of all returned rows (i.e.
countAll() - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
Selects the count of all returned rows (i.e.
countBoundValues(BatchStatement) - Method in class com.datastax.driver.core.QueryLogger
 
counter() - Static method in class com.datastax.driver.core.DataType
Returns the COUNTER type.
custom(String) - Static method in class com.datastax.driver.core.DataType
Returns a Custom type.

D

DataType - Class in com.datastax.driver.core
Data types supported by cassandra.
DataType.Name - Enum in com.datastax.driver.core
The CQL type name.
DCAwareRoundRobinPolicy - Class in com.datastax.driver.core.policies
A data-center aware Round-robin load balancing policy.
DCAwareRoundRobinPolicy() - Constructor for class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
Deprecated.
DCAwareRoundRobinPolicy.builder() is the recommended way to build instances of this class. This constructor was preserved for backward-compatibility purposes, it is equivalent to DCAwareRoundRobinPolicy.builder().build().
DCAwareRoundRobinPolicy(String) - Constructor for class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
Deprecated.
DCAwareRoundRobinPolicy.builder() is the recommended way to build instances of this class. This constructor was preserved for backward-compatibility purposes, it is equivalent to DCAwareRoundRobinPolicy.builder().withLocalDc(localDc).build().
DCAwareRoundRobinPolicy(String, int) - Constructor for class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
Deprecated.
DCAwareRoundRobinPolicy.builder() is the recommended way to build instances of this class. This constructor was preserved for backward-compatibility purposes, it is equivalent to DCAwareRoundRobinPolicy.builder().withLocalDc(localDc).withUsedHostsPerRemoteDc(usedHostsPerRemoteDc).build().
DCAwareRoundRobinPolicy(String, int, boolean) - Constructor for class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
Deprecated.
DCAwareRoundRobinPolicy.builder() is the recommended way to build instances of this class. This constructor was preserved for backward-compatibility purposes, it is equivalent to DCAwareRoundRobinPolicy.builder().withLocalDc(localDc).withUsedHostsPerRemoteDc(usedHostsPerRemoteDc).allowRemoteDCsForLocalConsistencyLevel().build().
DCAwareRoundRobinPolicy.Builder - Class in com.datastax.driver.core.policies
Helper class to build the policy.
decimal() - Static method in class com.datastax.driver.core.DataType
Returns the DECIMAL type.
decr(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Decrementation of a counter column.
decr(String, long) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Decrementation of a counter column by a provided value.
decr(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Decrementation of a counter column by a provided value.
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.datastax.driver.core.SocketOptions
The default connection timeout in milliseconds if none is set explicitly using SocketOptions.setConnectTimeoutMillis(int).
DEFAULT_CONSISTENCY_LEVEL - Static variable in class com.datastax.driver.core.QueryOptions
The default consistency level for queries: ConsistencyLevel.ONE.
DEFAULT_FETCH_SIZE - Static variable in class com.datastax.driver.core.QueryOptions
The default fetch size for SELECT queries: 5000.
DEFAULT_IDEMPOTENCE - Static variable in class com.datastax.driver.core.QueryOptions
The default value for QueryOptions.getDefaultIdempotence(): false.
DEFAULT_INSTANCE - Static variable in class com.datastax.driver.core.NettyOptions
The default instance of NettyOptions to use.
DEFAULT_MAX_LOGGED_PARAMETERS - Static variable in class com.datastax.driver.core.QueryLogger
The default maximum number of query parameters that can be logged by the driver.
DEFAULT_MAX_PARAMETER_VALUE_LENGTH - Static variable in class com.datastax.driver.core.QueryLogger
The default maximum length of a query parameter value that can be logged verbatim by the driver.
DEFAULT_MAX_PENDING_REFRESH_NODE_LIST_REQUESTS - Static variable in class com.datastax.driver.core.QueryOptions
 
DEFAULT_MAX_PENDING_REFRESH_NODE_REQUESTS - Static variable in class com.datastax.driver.core.QueryOptions
 
DEFAULT_MAX_PENDING_REFRESH_SCHEMA_REQUESTS - Static variable in class com.datastax.driver.core.QueryOptions
 
DEFAULT_MAX_QUERY_STRING_LENGTH - Static variable in class com.datastax.driver.core.QueryLogger
The default maximum length of a CQL query string that can be logged verbatim by the driver.
DEFAULT_MAX_SCHEMA_AGREEMENT_WAIT_SECONDS - Static variable in class com.datastax.driver.core.ProtocolOptions
DEFAULT_PORT - Static variable in class com.datastax.driver.core.ProtocolOptions
The default port for Cassandra native binary protocol: 9042.
DEFAULT_PROPERTIES - Static variable in class com.datastax.driver.auth.PrivilegedSaslClient
 
DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.datastax.driver.core.SocketOptions
The default read timeout in milliseconds if none is set explicitly using SocketOptions.setReadTimeoutMillis(int).
DEFAULT_REFRESH_NODE_INTERVAL_MILLIS - Static variable in class com.datastax.driver.core.QueryOptions
 
DEFAULT_REFRESH_NODE_LIST_INTERVAL_MILLIS - Static variable in class com.datastax.driver.core.QueryOptions
 
DEFAULT_REFRESH_SCHEMA_INTERVAL_MILLIS - Static variable in class com.datastax.driver.core.QueryOptions
 
DEFAULT_SERIAL_CONSISTENCY_LEVEL - Static variable in class com.datastax.driver.core.QueryOptions
The default serial consistency level for conditional updates: ConsistencyLevel.SERIAL.
DEFAULT_SLOW_QUERY_THRESHOLD_MS - Static variable in class com.datastax.driver.core.QueryLogger
The default latency threshold in milliseconds beyond which queries are considered 'slow' and logged as such by the driver.
DEFAULT_SLOW_QUERY_THRESHOLD_PERCENTILE - Static variable in class com.datastax.driver.core.QueryLogger
The default latency percentile beyond which queries are considered 'slow' and logged as such by the driver.
DEFAULT_SSL_CIPHER_SUITES - Static variable in class com.datastax.driver.core.SSLOptions
The default SSL cipher suites.
defaultAddressTranslater() - Static method in class com.datastax.driver.core.policies.Policies
The default address translater.
defaultLoadBalancingPolicy() - Static method in class com.datastax.driver.core.policies.Policies
The default load balancing policy.
DefaultPreparedStatement - Class in com.datastax.driver.core
 
defaultReconnectionPolicy() - Static method in class com.datastax.driver.core.policies.Policies
The default reconnection policy.
DefaultRetryPolicy - Class in com.datastax.driver.core.policies
The default retry policy.
defaultRetryPolicy() - Static method in class com.datastax.driver.core.policies.Policies
The default retry policy.
defaultSpeculativeExecutionPolicy() - Static method in class com.datastax.driver.core.policies.Policies
The default speculative retry policy.
delegate() - Method in class com.datastax.driver.core.DelegatingCluster
Returns the delegate instance where all calls will be forwarded.
DelegatingCluster - Class in com.datastax.driver.core
Base class for custom Cluster implementations that wrap another instance (delegate / decorator pattern).
DelegatingCluster() - Constructor for class com.datastax.driver.core.DelegatingCluster
Builds a new instance.
Delete - Class in com.datastax.driver.core.querybuilder
A built DELETE statement.
delete(String...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Start building a new DELETE query that deletes the provided names.
delete() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Start building a new DELETE query.
Delete.Builder - Class in com.datastax.driver.core.querybuilder
An in-construction DELETE statement.
Delete.Conditions - Class in com.datastax.driver.core.querybuilder
Conditions for a DELETE statement.
Delete.Options - Class in com.datastax.driver.core.querybuilder
The options of a DELETE statement.
Delete.Selection - Class in com.datastax.driver.core.querybuilder
An column selection clause for an in-construction DELETE statement.
Delete.Where - Class in com.datastax.driver.core.querybuilder
The WHERE clause of a DELETE statement.
desc(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Descending ordering for the provided column.
deserialize(ByteBuffer) - Method in class com.datastax.driver.core.DataType
Deserialize a value of this type from the provided bytes.
disableTracing() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
disableTracing() - Method in interface com.datastax.driver.core.PreparedStatement
Convenience method to disable tracing for all bound statements created from this prepared statement.
disableTracing() - Method in class com.datastax.driver.core.Statement
Disables tracing for this query.
disableTracing() - Method in class com.datastax.driver.core.StatementWrapper
 
discard(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Discard a value from a list column.
discardAll(String, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Discard a list of values to a list column.
discardAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Discard a list of values to a list column.
distance(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
Return the HostDistance for the provided host.
distance(Host) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
Returns the distance assigned by this policy to the provided host.
distance(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
Returns the HostDistance for the provided host.
distance(Host) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
Returns the distance assigned by this policy to the provided host.
distance(Host) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
Return the HostDistance for the provided host.
distance(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
Return the HostDistance for the provided host.
distinct() - Method in class com.datastax.driver.core.querybuilder.Select.Builder
Uses DISTINCT selection.
distinct() - Method in class com.datastax.driver.core.querybuilder.Select.Selection
Uses DISTINCT selection.
DowngradingConsistencyRetryPolicy - Class in com.datastax.driver.core.policies
A retry policy that sometimes retry with a lower consistency level than the one initially requested.
DriverException - Exception in com.datastax.driver.core.exceptions
Top level class for exceptions thrown by the driver.
DriverException(String) - Constructor for exception com.datastax.driver.core.exceptions.DriverException
 
DriverException(Throwable) - Constructor for exception com.datastax.driver.core.exceptions.DriverException
 
DriverException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.DriverException
 
DriverInternalError - Exception in com.datastax.driver.core.exceptions
An unexpected error happened internally.
DriverInternalError(String) - Constructor for exception com.datastax.driver.core.exceptions.DriverInternalError
 
DriverInternalError(Throwable) - Constructor for exception com.datastax.driver.core.exceptions.DriverInternalError
 
DriverInternalError(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.DriverInternalError
 
DseAuthProvider - Class in com.datastax.driver.auth
AuthProvider which supplies authenticator instances for clients to connect t DSE clusters secured with Kerberos The SASL protocol name defaults to "dse"; should you need to change that it can be overridden using the dse.sasl.protocol system property.
DseAuthProvider() - Constructor for class com.datastax.driver.auth.DseAuthProvider
 

E

EC2MultiRegionAddressTranslater - Class in com.datastax.driver.core.policies
AddressTranslater implementation for a multi-region EC2 deployment where clients are also deployed in EC2.
EC2MultiRegionAddressTranslater() - Constructor for class com.datastax.driver.core.policies.EC2MultiRegionAddressTranslater
 
enableTracing() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
enableTracing() - Method in interface com.datastax.driver.core.PreparedStatement
Convenience method to enables tracing for all bound statements created from this prepared statement.
enableTracing() - Method in class com.datastax.driver.core.Statement
Enables tracing for this query.
enableTracing() - Method in class com.datastax.driver.core.StatementWrapper
 
endOf(long) - Static method in class com.datastax.driver.core.utils.UUIDs
Creates a "fake" time-based UUID that sorts as the biggest possible version 1 UUID generated at the provided timestamp.
eq(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates an "equal" where clause stating the provided column must be equal to the provided value.
equals(Object) - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
 
equals(Object) - Method in class com.datastax.driver.core.ColumnMetadata
 
equals(Object) - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
 
equals(Object) - Method in class com.datastax.driver.core.DataType
 
equals(Object) - Method in class com.datastax.driver.core.Host
 
equals(Object) - Method in class com.datastax.driver.core.KeyspaceMetadata
 
equals(Object) - Method in class com.datastax.driver.core.TableMetadata
 
equals(Object) - Method in class com.datastax.driver.core.TableMetadata.Options
 
equals(Object) - Method in class com.datastax.driver.core.TokenRange
 
equals(Object) - Method in class com.datastax.driver.core.VersionNumber
 
ERROR_LOGGER - Static variable in class com.datastax.driver.core.QueryLogger
The logger used to log unsuccessful queries, i.e., queries that did not complete normally and threw an exception.
Errors() - Constructor for class com.datastax.driver.core.Metrics.Errors
 
escapeId(String) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
 
evaluateChallenge(byte[]) - Method in class com.datastax.driver.auth.KerberosAuthenticator
 
evaluateChallenge(byte[]) - Method in class com.datastax.driver.auth.PrivilegedSaslClient
Respond to server's SASL token
evaluateChallenge(byte[]) - Method in interface com.datastax.driver.core.Authenticator
Evaluate a challenge received from the Server.
eventLoopGroup(ThreadFactory) - Method in class com.datastax.driver.core.NettyOptions
Return the EventLoopGroup instance to use.
execute(String) - Method in class com.datastax.driver.core.AbstractSession
Executes the provided query.
execute(String, Object...) - Method in class com.datastax.driver.core.AbstractSession
Executes the provided query using the provided value.
execute(Statement) - Method in class com.datastax.driver.core.AbstractSession
Executes the provided query.
execute(String) - Method in interface com.datastax.driver.core.Session
Executes the provided query.
execute(String, Object...) - Method in interface com.datastax.driver.core.Session
Executes the provided query using the provided value.
execute(Statement) - Method in interface com.datastax.driver.core.Session
Executes the provided query.
executeAsync(String) - Method in class com.datastax.driver.core.AbstractSession
Executes the provided query asynchronously.
executeAsync(String, Object...) - Method in class com.datastax.driver.core.AbstractSession
Executes the provided query asynchronously using the provided values.
executeAsync(String) - Method in interface com.datastax.driver.core.Session
Executes the provided query asynchronously.
executeAsync(String, Object...) - Method in interface com.datastax.driver.core.Session
Executes the provided query asynchronously using the provided values.
executeAsync(Statement) - Method in interface com.datastax.driver.core.Session
Executes the provided query asynchronously.
ExecutionInfo - Class in com.datastax.driver.core
Basic information on the execution of a query.
ExponentialReconnectionPolicy - Class in com.datastax.driver.core.policies
A reconnection policy that waits exponentially longer between each reconnection attempt (but keeps a constant delay once a maximum delay is reached).
ExponentialReconnectionPolicy(long, long) - Constructor for class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
Creates a reconnection policy waiting exponentially longer for each new attempt.
exportAsString() - Method in class com.datastax.driver.core.KeyspaceMetadata
Returns a String containing CQL queries representing this keyspace and the table it contains.
exportAsString() - Method in class com.datastax.driver.core.TableMetadata
Returns a String containing CQL queries representing this table and the index on it.
exportSchemaAsString() - Method in class com.datastax.driver.core.Metadata
Returns a String containing CQL queries representing the schema of this cluster.

F

FailureCallback() - Constructor for class com.datastax.driver.core.utils.MoreFutures.FailureCallback
 
FallthroughRetryPolicy - Class in com.datastax.driver.core.policies
A retry policy that never retry (nor ignore).
fcall(String, Object...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a function call.
fcall(String, Object...) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
Creates a function call.
fcall(String, Object...) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
Creates a function call.
fetchMoreResults() - Method in interface com.datastax.driver.core.ResultSet
Force fetching the next page of results for this result set, if any.
force() - Method in class com.datastax.driver.core.CloseFuture
Try to force the completion of the shutdown this is a future of.
format(Object) - Method in class com.datastax.driver.core.DataType
Format a Java object as an equivalent CQL value.
from(String) - Method in class com.datastax.driver.core.querybuilder.Delete.Builder
Adds the table to delete from.
from(String, String) - Method in class com.datastax.driver.core.querybuilder.Delete.Builder
Adds the table to delete from.
from(TableMetadata) - Method in class com.datastax.driver.core.querybuilder.Delete.Builder
Adds the table to delete from.
from(String) - Method in class com.datastax.driver.core.querybuilder.Select.Builder
Adds the table to select from.
from(String, String) - Method in class com.datastax.driver.core.querybuilder.Select.Builder
Adds the table to select from.
from(TableMetadata) - Method in class com.datastax.driver.core.querybuilder.Select.Builder
Adds the table to select from.
from(String, String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
Adds the table to select from.
from(TableMetadata) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
Adds the table to select from.
fromBytes(byte[]) - Static method in class com.datastax.driver.core.PagingState
Create a PagingState object from a byte array previously generated with PagingState.toBytes().
fromDCBlackList(LoadBalancingPolicy, Iterable<String>) - Static method in class com.datastax.driver.core.policies.HostFilterPolicy
Create a new policy that wraps the provided child policy but only "forbids" hosts whose DC belongs to the provided list.
fromDCWhiteList(LoadBalancingPolicy, Iterable<String>) - Static method in class com.datastax.driver.core.policies.HostFilterPolicy
Create a new policy that wraps the provided child policy but only "allows" hosts whose DC belongs to the provided list.
fromHexString(String) - Static method in class com.datastax.driver.core.utils.Bytes
Parse an hex string representing a CQL blob.
fromRawHexString(String, int) - Static method in class com.datastax.driver.core.utils.Bytes
Converts a CQL hex string representation into a byte array.
fromString(String) - Static method in class com.datastax.driver.core.PagingState
Create a PagingState object from a string previously generated with PagingState.toString().

G

getAchievedConsistencyLevel() - Method in class com.datastax.driver.core.ExecutionInfo
If the query returned without achieving the requested consistency level due to the RetryPolicy, this return the biggest consistency level that has been actually achieved by the query.
getAddress() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in interface com.datastax.driver.core.exceptions.CoordinatorException
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in exception com.datastax.driver.core.exceptions.InvalidQueryException
 
getAddress() - Method in exception com.datastax.driver.core.exceptions.OverloadedException
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in exception com.datastax.driver.core.exceptions.ProtocolError
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in exception com.datastax.driver.core.exceptions.QueryTimeoutException
The full address of the coordinator host that caused this exception to be thrown.
getAddress() - Method in exception com.datastax.driver.core.exceptions.ServerError
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in exception com.datastax.driver.core.exceptions.SyntaxError
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in exception com.datastax.driver.core.exceptions.TruncateException
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in exception com.datastax.driver.core.exceptions.UnauthorizedException
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
The full address of the coordinator host that caused this exception to be raised.
getAddress() - Method in class com.datastax.driver.core.Host
Returns the node address.
getAddressTranslater() - Method in class com.datastax.driver.core.policies.Policies
The address translater in use.
getAliveReplicas() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
The number of replica that were known to be alive by the Cassandra coordinator node when it tried to execute the operation.
getAllExecutionInfo() - Method in interface com.datastax.driver.core.ResultSet
Return the execution information for all queries made to retrieve this ResultSet.
getAllHosts() - Method in class com.datastax.driver.core.Metadata
Returns the known hosts of this cluster.
getAllStats() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot
A map with the stats for all hosts tracked by the LatencyAwarePolicy at the time of the snapshot.
getArray(ByteBuffer) - Static method in class com.datastax.driver.core.utils.Bytes
Extract the content of the provided ByteBuffer as a byte array.
getAuthProvider() - Method in class com.datastax.driver.core.ProtocolOptions
The AuthProvider used by this cluster.
getAvailableWithoutFetching() - Method in interface com.datastax.driver.core.ResultSet
The number of rows that can be retrieved from this result set without blocking to fetch.
getBaseDelayMs() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
The base delay in milliseconds for this policy (e.g.
getBlockingExecutorQueueDepth() - Method in class com.datastax.driver.core.Metrics
 
getBloomFilterFalsePositiveChance() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns the false positive chance for the Bloom filter of this table.
getBool(int) - Method in class com.datastax.driver.core.BoundStatement
 
getBool(String) - Method in class com.datastax.driver.core.BoundStatement
 
getBool(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a boolean.
getBool(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a boolean.
getBool(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a boolean.
getBool(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a boolean.
getBuildLabel() - Method in class com.datastax.driver.core.VersionNumber
The build label if there is one.
getBytes(int) - Method in class com.datastax.driver.core.BoundStatement
 
getBytes(String) - Method in class com.datastax.driver.core.BoundStatement
 
getBytes(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a byte array.
getBytes(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a byte array.
getBytes(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a byte array.
getBytes(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a byte array.
getBytesUnsafe(int) - Method in class com.datastax.driver.core.BoundStatement
 
getBytesUnsafe(String) - Method in class com.datastax.driver.core.BoundStatement
 
getBytesUnsafe(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a ByteBuffer.
getBytesUnsafe(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a ByteBuffer.
getBytesUnsafe(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a ByteBuffer.
getBytesUnsafe(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a ByteBuffer.
getCaching() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns the caching option for this table.
getCassandraVersion() - Method in class com.datastax.driver.core.Host
The Cassandra version the host is running.
getChildPolicy() - Method in interface com.datastax.driver.core.policies.ChainableLoadBalancingPolicy
Returns the child policy.
getChildPolicy() - Method in class com.datastax.driver.core.policies.HostFilterPolicy
 
getChildPolicy() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
 
getChildPolicy() - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
getCluster() - Method in interface com.datastax.driver.core.Session
Returns the Cluster object this session is part of.
getClusteringColumns() - Method in class com.datastax.driver.core.TableMetadata
Returns the list of clustering columns for this table.
getClusteringOrder() - Method in class com.datastax.driver.core.TableMetadata
Returns the clustering order for this table.
getClusterName() - Method in class com.datastax.driver.core.Cluster.Builder
 
getClusterName() - Method in class com.datastax.driver.core.Cluster
The name of this cluster object.
getClusterName() - Method in interface com.datastax.driver.core.Cluster.Initializer
An optional name for the created cluster.
getClusterName() - Method in class com.datastax.driver.core.Metadata
The Cassandra name for the cluster connect to.
getColumn(String) - Method in class com.datastax.driver.core.TableMetadata
Returns metadata on a column of this table.
getColumnDefinitions() - Method in interface com.datastax.driver.core.ResultSet
Returns the columns returned in this ResultSet.
getColumnDefinitions() - Method in interface com.datastax.driver.core.Row
Returns the columns contained in this Row.
getColumns() - Method in class com.datastax.driver.core.TableMetadata
Returns a list containing all the columns of this table.
getComment() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns the commentary set for this table.
getCompaction() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns the compaction options for this table.
getCompression() - Method in class com.datastax.driver.core.ProtocolOptions
Returns the compression used by the protocol.
getCompression() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns the compression options for this table.
getConfiguration() - Method in class com.datastax.driver.core.Cluster.Builder
The configuration that will be used for the new cluster.
getConfiguration() - Method in class com.datastax.driver.core.Cluster
The cluster configuration.
getConfiguration() - Method in interface com.datastax.driver.core.Cluster.Initializer
The configuration to use for the new cluster.
getConfiguration() - Method in class com.datastax.driver.core.DelegatingCluster
 
getConnectedHosts() - Method in interface com.datastax.driver.core.Session.State
The hosts to which the session is currently connected (more precisely, at the time this State has been grabbed).
getConnectedToHosts() - Method in class com.datastax.driver.core.Metrics
Returns the number of Cassandra hosts the driver is currently connected to (that is have at least one connection opened to).
getConnectionErrors() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of connection to Cassandra nodes errors.
getConnectTimeoutMillis() - Method in class com.datastax.driver.core.SocketOptions
The connection timeout in milliseconds.
getConsistencyLevel() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
getConsistencyLevel() - Method in exception com.datastax.driver.core.exceptions.QueryTimeoutException
The consistency level of the operation that time outed.
getConsistencyLevel() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
The consistency level of the operation triggering this unavailable exception.
getConsistencyLevel() - Method in interface com.datastax.driver.core.PreparedStatement
getConsistencyLevel() - Method in class com.datastax.driver.core.QueryOptions
The default consistency level used by queries.
getConsistencyLevel() - Method in class com.datastax.driver.core.Statement
The consistency level for this query.
getConsistencyLevel() - Method in class com.datastax.driver.core.StatementWrapper
 
getConstantDelayMs() - Method in class com.datastax.driver.core.policies.ConstantReconnectionPolicy
The constant delay used by this reconnection policy.
getContactPoints() - Method in class com.datastax.driver.core.Cluster.Builder
 
getContactPoints() - Method in interface com.datastax.driver.core.Cluster.Initializer
Returns the initial Cassandra hosts to connect to.
getCoordinator() - Method in class com.datastax.driver.core.QueryTrace
Returns the coordinator host of the query.
getCoreConnectionsPerHost(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
Returns the core number of connections per host.
getCustomMessage(int, boolean, boolean) - Method in exception com.datastax.driver.core.exceptions.NoHostAvailableException
Builds a custom message for this exception.
getCustomTypeClassName() - Method in class com.datastax.driver.core.DataType
Returns the server-side class name for a custom type.
getDatacenter() - Method in class com.datastax.driver.core.Host
Returns the name of the datacenter this host is part of.
getDate(int) - Method in class com.datastax.driver.core.BoundStatement
 
getDate(String) - Method in class com.datastax.driver.core.BoundStatement
 
getDate(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a date.
getDate(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a date.
getDate(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a date.
getDate(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a date.
getDecimal(int) - Method in class com.datastax.driver.core.BoundStatement
 
getDecimal(String) - Method in class com.datastax.driver.core.BoundStatement
 
getDecimal(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a variable length decimal.
getDecimal(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a variable length decimal.
getDecimal(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a variable length decimal.
getDecimal(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a variable length decimal.
getDefaultIdempotence() - Method in class com.datastax.driver.core.QueryOptions
The default idempotence for queries.
getDefaultTimeToLive() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns the default TTL for this table.
getDescription() - Method in class com.datastax.driver.core.QueryTrace.Event
The event description, that is which activity this event correspond to.
getDouble(int) - Method in class com.datastax.driver.core.BoundStatement
 
getDouble(String) - Method in class com.datastax.driver.core.BoundStatement
 
getDouble(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a double.
getDouble(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a double.
getDouble(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a double.
getDouble(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a double.
getDriverVersion() - Static method in class com.datastax.driver.core.Cluster
Returns the current version of the driver.
getDSEPatch() - Method in class com.datastax.driver.core.VersionNumber
The DSE patch version number (will only be present for version of Cassandra in DSE).
getDurationMicros() - Method in class com.datastax.driver.core.QueryTrace
Returns the server-side duration of the query in microseconds.
getEnd() - Method in class com.datastax.driver.core.TokenRange
Return the end of the range.
getErrorMetrics() - Method in class com.datastax.driver.core.Metrics
Returns an object grouping metrics related to the errors encountered.
getErrors() - Method in exception com.datastax.driver.core.exceptions.NoHostAvailableException
Return the hosts tried along with the error encountered while trying them.
getEvents() - Method in class com.datastax.driver.core.QueryTrace
Returns the events contained in this trace.
getExecutionInfo() - Method in interface com.datastax.driver.core.ResultSet
Returns information on the execution of the last query made for this ResultSet.
getExecutorQueueDepth() - Method in class com.datastax.driver.core.Metrics
 
getFetchSize() - Method in class com.datastax.driver.core.QueryOptions
The default fetch size used by queries.
getFetchSize() - Method in class com.datastax.driver.core.Statement
The fetch size for this query.
getFetchSize() - Method in class com.datastax.driver.core.StatementWrapper
 
getFloat(int) - Method in class com.datastax.driver.core.BoundStatement
 
getFloat(String) - Method in class com.datastax.driver.core.BoundStatement
 
getFloat(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a float.
getFloat(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a float.
getFloat(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a float.
getFloat(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a float.
getGcGraceInSeconds() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns the tombstone garbage collection grace time in seconds for this table.
getHeartbeatIntervalSeconds() - Method in class com.datastax.driver.core.PoolingOptions
Returns the heart beat interval, after which a message is sent on an idle connection to make sure it's still alive.
getHost() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
The coordinator host that caused this exception to be raised.
getHost() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
The coordinator host that caused this exception to be raised.
getHost() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
The coordinator host that caused this exception to be raised.
getHost() - Method in interface com.datastax.driver.core.exceptions.CoordinatorException
The coordinator host that caused this exception to be raised.
getHost() - Method in exception com.datastax.driver.core.exceptions.InvalidQueryException
 
getHost() - Method in exception com.datastax.driver.core.exceptions.OverloadedException
The coordinator host that caused this exception to be raised.
getHost() - Method in exception com.datastax.driver.core.exceptions.ProtocolError
The coordinator host that caused this exception to be raised.
getHost() - Method in exception com.datastax.driver.core.exceptions.QueryTimeoutException
The coordinator host that caused this exception to be thrown.
getHost() - Method in exception com.datastax.driver.core.exceptions.ServerError
The coordinator host that caused this exception to be raised.
getHost() - Method in exception com.datastax.driver.core.exceptions.SyntaxError
The coordinator host that caused this exception to be raised.
getHost() - Method in exception com.datastax.driver.core.exceptions.TruncateException
The coordinator host that caused this exception to be raised.
getHost() - Method in exception com.datastax.driver.core.exceptions.UnauthorizedException
The coordinator host that caused this exception to be raised.
getHost() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
The coordinator host that caused this exception to be raised.
getHost() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
The coordinator host that caused this exception to be raised.
getIdleTimeoutSeconds() - Method in class com.datastax.driver.core.PoolingOptions
Returns the timeout before an idle connection is removed.
getIgnores() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of times a request was ignored due to the RetryPolicy, for example due to timeouts or unavailability.
getIgnoresOnReadTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of times a request was ignored due to the RetryPolicy, after a read timed out.
getIgnoresOnUnavailable() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of times a request was ignored due to the RetryPolicy, after an unavailable exception.
getIgnoresOnWriteTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of times a request was ignored due to the RetryPolicy, after a write timed out.
getIndex() - Method in class com.datastax.driver.core.ColumnMetadata
Returns the indexing metadata on this column if the column is indexed.
getIndexClassName() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
The name of the class used to implement the custom index, if it is one.
getIndexedColumn() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
Returns the column this index metadata refers to.
getIndexInterval() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns the index interval option for this table.
getIndexOf(String) - Method in class com.datastax.driver.core.ColumnDefinitions
The first index in this metadata of the provided name, if present.
getInet(int) - Method in class com.datastax.driver.core.BoundStatement
 
getInet(String) - Method in class com.datastax.driver.core.BoundStatement
 
getInet(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as an InetAddress.
getInet(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as an InetAddress.
getInet(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as an InetAddress.
getInet(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as an InetAddress.
getInFlightQueries(Host) - Method in interface com.datastax.driver.core.Session.State
The number of queries that are currently being executed though a given host.
getInitializationExecutor() - Method in class com.datastax.driver.core.PoolingOptions
Returns the executor to use for connection initialization.
getInitialListeners() - Method in class com.datastax.driver.core.Cluster.Builder
 
getInitialListeners() - Method in interface com.datastax.driver.core.Cluster.Initializer
Optional listeners to register against the newly created cluster.
getInitialReconnectionAttemptFuture() - Method in class com.datastax.driver.core.Host
Deprecated.
the suspicion mechanism has been disabled. This will always return a completed future.
getInitialResponse() - Method in class com.datastax.driver.auth.PrivilegedSaslClient
Generate an initial token to start the SASL handshake with server.
getInt(int) - Method in class com.datastax.driver.core.BoundStatement
 
getInt(String) - Method in class com.datastax.driver.core.BoundStatement
 
getInt(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as an integer.
getInt(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as an integer.
getInt(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as an integer.
getInt(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as an integer.
getKeepAlive() - Method in class com.datastax.driver.core.SocketOptions
Returns whether TCP keepalive is enabled.
getKeyspace() - Method in class com.datastax.driver.core.BatchStatement
 
getKeyspace() - Method in class com.datastax.driver.core.BoundStatement
Returns the keyspace this query operates on.
getKeyspace() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
The name of the keyspace this column is part of.
getKeyspace(int) - Method in class com.datastax.driver.core.ColumnDefinitions
Returns the keyspace of the ith column in this metadata.
getKeyspace(String) - Method in class com.datastax.driver.core.ColumnDefinitions
Returns the keyspace of the first occurrence of name in this metadata.
getKeyspace() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
The name of keyspace that either already exists or is home to the table that already exists.
getKeyspace(String) - Method in class com.datastax.driver.core.Metadata
Returns the metadata of a keyspace given its name.
getKeyspace() - Method in class com.datastax.driver.core.querybuilder.Batch
Returns the keyspace of the first statement in this batch.
getKeyspace() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
 
getKeyspace() - Method in class com.datastax.driver.core.SimpleStatement
Returns the keyspace this query operates on.
getKeyspace() - Method in class com.datastax.driver.core.Statement
Returns the keyspace this query operates on.
getKeyspace() - Method in class com.datastax.driver.core.StatementWrapper
 
getKeyspace() - Method in class com.datastax.driver.core.TableMetadata
Returns the keyspace this table belong to.
getKeyspaces() - Method in class com.datastax.driver.core.Metadata
Returns a list of all the defined keyspaces.
getKnownHosts() - Method in class com.datastax.driver.core.Metrics
Returns the number of Cassandra hosts currently known by the driver (that is whether they are currently considered up or down).
getLatencyAtPercentile(Host, double) - Method in class com.datastax.driver.core.PerHostPercentileTracker
Returns the request latency for a host at a given percentile.
getLatencyScore() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
The latency score for the host this is the stats of at the time of the snapshot.
getList(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
 
getList(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
 
getList(int, Class<T>) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a list.
getList(String, Class<T>) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a list.
getList(int, Class<T>) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a list.
getList(String, Class<T>) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a list.
getLoadBalancingPolicy() - Method in class com.datastax.driver.core.policies.Policies
The load balancing policy in use.
getLocalReadRepairChance() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns the cluster local read repair chance set for this table.
getLoggedKeyspace() - Method in interface com.datastax.driver.core.Session
The keyspace to which this Session is currently logged in, if any.
getLong(int) - Method in class com.datastax.driver.core.BoundStatement
 
getLong(String) - Method in class com.datastax.driver.core.BoundStatement
 
getLong(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a long.
getLong(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a long.
getLong(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a long.
getLong(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a long.
getMajor() - Method in class com.datastax.driver.core.VersionNumber
The major version number.
getMap(int, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
 
getMap(String, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
 
getMap(int, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a map.
getMap(String, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a map.
getMap(int, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a map.
getMap(String, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a map.
getMaxConnectionsPerHost(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
Returns the maximum number of connections per host.
getMaxDelayMs() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
The maximum delay in milliseconds between reconnection attempts for this policy.
getMaxLoggedParameters() - Method in class com.datastax.driver.core.QueryLogger
Return the maximum number of query parameters that can be logged by the driver.
getMaxParameterValueLength() - Method in class com.datastax.driver.core.QueryLogger
Return the maximum length of a query parameter value that can be logged verbatim by the driver.
getMaxPendingRefreshNodeListRequests() - Method in class com.datastax.driver.core.QueryOptions
Sets the maximum number of node list refresh requests that the control connection can accumulate before executing them.
getMaxPendingRefreshNodeRequests() - Method in class com.datastax.driver.core.QueryOptions
The maximum number of node refresh requests that the control connection can accumulate before executing them.
getMaxPendingRefreshSchemaRequests() - Method in class com.datastax.driver.core.QueryOptions
The maximum number of schema refresh requests that the control connection can accumulate before executing them.
getMaxQueryStringLength() - Method in class com.datastax.driver.core.QueryLogger
Return the maximum length of a CQL query string that can be logged verbatim by the driver.
getMaxSchemaAgreementWaitSeconds() - Method in class com.datastax.driver.core.ProtocolOptions
Returns the maximum time to wait for schema agreement before returning from a DDL query.
getMaxSimultaneousRequestsPerConnectionThreshold(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
Returns the number of simultaneous requests on all connections to an host after which more connections are created.
getMeasurementsCount() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
The number of recorded latency measurements for the host this is the stats of.
getMemtableFlushPeriodInMs() - Method in class com.datastax.driver.core.TableMetadata.Options
 
getMetadata() - Method in class com.datastax.driver.core.Cluster
Returns read-only metadata on the connected cluster.
getMetadata() - Method in class com.datastax.driver.core.DelegatingCluster
 
getMetrics() - Method in class com.datastax.driver.core.Cluster
The cluster metrics.
getMetrics() - Method in class com.datastax.driver.core.DelegatingCluster
 
getMetricsOptions() - Method in class com.datastax.driver.core.Configuration
Returns the metrics configuration, if metrics are enabled.
getMinor() - Method in class com.datastax.driver.core.VersionNumber
The minor version number.
getMinSimultaneousRequestsPerConnectionThreshold(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
Deprecated.
this option isn't used anymore with the current pool resizing algorithm.
getName() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
Returns the name of the column.
getName(int) - Method in class com.datastax.driver.core.ColumnDefinitions
Returns the name of the ith column in this metadata.
getName() - Method in class com.datastax.driver.core.ColumnMetadata
Returns the name of the column.
getName() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
Returns the index name.
getName() - Method in class com.datastax.driver.core.DataType
Returns the name of that type.
getName() - Method in class com.datastax.driver.core.KeyspaceMetadata
Returns the name of this keyspace.
getName() - Method in class com.datastax.driver.core.TableMetadata
Returns the name of this table.
getNettyOptions() - Method in class com.datastax.driver.core.Configuration
Returns the NettyOptions instance for this configuration.
getObject(int) - Method in class com.datastax.driver.core.BoundStatement
 
getObject(String) - Method in class com.datastax.driver.core.BoundStatement
 
getObject(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as the Java type matching its CQL type.
getObject(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as the Java type matching its CQL type.
getObject(int) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
Returns the ith value as the Java type matching its CQL type.
getObject(int) - Method in class com.datastax.driver.core.SimpleStatement
Returns the ith value as the Java type matching its CQL type.
getOpenConnections() - Method in class com.datastax.driver.core.Metrics
Returns the total number of currently opened connections to Cassandra hosts.
getOpenConnections(Host) - Method in interface com.datastax.driver.core.Session.State
The number of open connections to a given host.
getOptions() - Method in class com.datastax.driver.core.TableMetadata
Returns the options for this table.
getOthers() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of requests that returned errors not accounted for by another metric.
getPagingState() - Method in class com.datastax.driver.core.ExecutionInfo
The paging state of the query.
getPagingState() - Method in class com.datastax.driver.core.StatementWrapper
 
getPagingStateUnsafe() - Method in class com.datastax.driver.core.ExecutionInfo
Returns the "raw" paging state of the query.
getParameters() - Method in class com.datastax.driver.core.QueryTrace
Returns the parameters attached to this trace.
getPartitioner() - Method in class com.datastax.driver.core.Metadata
The partitioner in use as reported by the Cassandra nodes.
getPartitionKey() - Method in class com.datastax.driver.core.TableMetadata
Returns the list of columns composing the partition key for this table.
getPartitionKeyToken() - Method in interface com.datastax.driver.core.Row
Returns the value of the first column containing a Token.
getPatch() - Method in class com.datastax.driver.core.VersionNumber
The patch version number.
getPerHostPercentileLatencyTracker() - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
Return the PerHostPercentileTracker instance to use for recording per-host latency histograms.
getPolicies() - Method in class com.datastax.driver.core.Configuration
Returns the policies set for the cluster.
getPoolingOptions() - Method in class com.datastax.driver.core.Configuration
Returns the connection pooling configuration.
getPoolTimeoutMillis() - Method in class com.datastax.driver.core.PoolingOptions
Returns the timeout when trying to acquire a connection from a host's pool.
getPopulateIOCacheOnFlush() - Method in class com.datastax.driver.core.TableMetadata.Options
Whether the populate I/O cache on flush is set on this table.
getPort() - Method in class com.datastax.driver.core.ProtocolOptions
Returns the port used to connect to the Cassandra hosts.
getPreparedId() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
getPreparedId() - Method in interface com.datastax.driver.core.PreparedStatement
Returns the prepared Id for this statement.
getPreReleaseLabels() - Method in class com.datastax.driver.core.VersionNumber
The pre-release labels if relevants, i.e.
getPrimaryKey() - Method in class com.datastax.driver.core.TableMetadata
Returns the list of columns composing the primary key for this table.
getProtocolOptions() - Method in class com.datastax.driver.core.Configuration
Returns the Cassandra binary protocol level configuration (compression).
getProtocolVersion() - Method in class com.datastax.driver.core.ProtocolOptions
The protocol version used by the Cluster instance.
getQueriedHost() - Method in class com.datastax.driver.core.ExecutionInfo
Return the Cassandra host that coordinated this query.
getQueryKeyspace() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
getQueryKeyspace() - Method in interface com.datastax.driver.core.PreparedStatement
Returns the keyspace at the time that this prepared statement was prepared, (that is the one on which this statement applies unless it specified a keyspace explicitly).
getQueryOptions() - Method in class com.datastax.driver.core.Configuration
Returns the queries configuration.
getQueryString() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
getQueryString() - Method in interface com.datastax.driver.core.PreparedStatement
Returns the string of the query that was prepared to yield this PreparedStatement.
getQueryString() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
 
getQueryString() - Method in class com.datastax.driver.core.RegularStatement
Returns the query string for this statement.
getQueryString() - Method in class com.datastax.driver.core.SimpleStatement
Returns the query string.
getQueryTrace() - Method in class com.datastax.driver.core.ExecutionInfo
The query trace if tracing was enabled on this query.
getRack() - Method in class com.datastax.driver.core.Host
Returns the name of the rack this host is part of.
getReadRepairChance() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns the chance with which a read repair is triggered for this table.
getReadTimeoutMillis() - Method in class com.datastax.driver.core.SocketOptions
The per-host read timeout in milliseconds.
getReadTimeouts() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of read requests that returned a timeout (independently of the final decision taken by the RetryPolicy).
getReceiveBufferSize() - Method in class com.datastax.driver.core.SocketOptions
Returns the hint to the size of the underlying buffers for incoming network I/O.
getReceivedAcknowledgements() - Method in exception com.datastax.driver.core.exceptions.QueryTimeoutException
The number of replica that had acknowledged/responded to the operation before it time outed.
getReconnectionAttemptFuture() - Method in class com.datastax.driver.core.Host
Returns a ListenableFuture representing the completion of the reconnection attempts scheduled after a host is marked DOWN.
getReconnectionPolicy() - Method in class com.datastax.driver.core.policies.Policies
The reconnection policy in use.
getReconnectionSchedulerQueueSize() - Method in class com.datastax.driver.core.Metrics
 
getRefreshNodeIntervalMillis() - Method in class com.datastax.driver.core.QueryOptions
The default window size in milliseconds used to debounce node refresh requests.
getRefreshNodeListIntervalMillis() - Method in class com.datastax.driver.core.QueryOptions
The default window size in milliseconds used to debounce node list refresh requests.
getRefreshSchemaIntervalMillis() - Method in class com.datastax.driver.core.QueryOptions
The default window size in milliseconds used to debounce schema refresh requests.
getRegistry() - Method in class com.datastax.driver.core.Metrics
Returns the registry containing all metrics.
getReplicas(String, ByteBuffer) - Method in class com.datastax.driver.core.Metadata
Returns the set of hosts that are replica for a given partition key.
getReplicas(String, TokenRange) - Method in class com.datastax.driver.core.Metadata
Returns the set of hosts that are replica for a given token range.
getReplicateOnWrite() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns whether replicateOnWrite is set for this table.
getReplication() - Method in class com.datastax.driver.core.KeyspaceMetadata
Returns the replication options for this keyspace.
getRequestsTimer() - Method in class com.datastax.driver.core.Metrics
Returns metrics on the user requests performed on the Cluster.
getRequestType() - Method in class com.datastax.driver.core.QueryTrace
Returns the type of request.
getRequiredAcknowledgements() - Method in exception com.datastax.driver.core.exceptions.QueryTimeoutException
The minimum number of replica acknowledgements/responses that were required to fulfill the operation.
getRequiredReplicas() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
The number of replica acknowledgements/responses required to perform the operation (with its required consistency level).
getRetries() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of times a request was retried due to the RetryPolicy.
getRetriesOnReadTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of times a request was retried due to the RetryPolicy, after a read timed out.
getRetriesOnUnavailable() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of times a request was retried due to the RetryPolicy, after an unavailable exception.
getRetriesOnWriteTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of times a request was retried due to the RetryPolicy, after a write timed out.
getRetryConsistencyLevel() - Method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
The consistency level for a retry decision.
getRetryPolicy() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
getRetryPolicy() - Method in class com.datastax.driver.core.policies.Policies
The retry policy in use.
getRetryPolicy() - Method in interface com.datastax.driver.core.PreparedStatement
Returns the retry policy sets for this prepared statement, if any.
getRetryPolicy() - Method in class com.datastax.driver.core.Statement
Returns the retry policy sets for this query, if any.
getRetryPolicy() - Method in class com.datastax.driver.core.StatementWrapper
 
getReuseAddress() - Method in class com.datastax.driver.core.SocketOptions
Returns whether reuse-address is enabled.
getRoutingKey() - Method in class com.datastax.driver.core.BatchStatement
 
getRoutingKey() - Method in class com.datastax.driver.core.BoundStatement
The routing key for this bound query.
getRoutingKey() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
getRoutingKey() - Method in interface com.datastax.driver.core.PreparedStatement
Returns the routing key set for this query.
getRoutingKey() - Method in class com.datastax.driver.core.querybuilder.Batch
Returns the first non-null routing key of the statements in this batch or null otherwise.
getRoutingKey() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
 
getRoutingKey() - Method in class com.datastax.driver.core.SimpleStatement
Returns the routing key for the query.
getRoutingKey() - Method in class com.datastax.driver.core.Statement
Returns the routing key (in binary raw form) to use for token aware routing of this query.
getRoutingKey() - Method in class com.datastax.driver.core.StatementWrapper
 
getScoresSnapshot() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
Returns a snapshot of the scores (latency averages) maintained by this policy.
getSendBufferSize() - Method in class com.datastax.driver.core.SocketOptions
Returns the hint to the size of the underlying buffers for outgoing network I/O.
getSerialConsistencyLevel() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
getSerialConsistencyLevel() - Method in interface com.datastax.driver.core.PreparedStatement
Returns the default serial consistency level set through PreparedStatement.setSerialConsistencyLevel(com.datastax.driver.core.ConsistencyLevel).
getSerialConsistencyLevel() - Method in class com.datastax.driver.core.QueryOptions
The default serial consistency level used by queries.
getSerialConsistencyLevel() - Method in class com.datastax.driver.core.Statement
The serial consistency level for this query.
getSerialConsistencyLevel() - Method in class com.datastax.driver.core.StatementWrapper
 
getSession() - Method in interface com.datastax.driver.core.Session.State
The Session to which this State corresponds to.
getSet(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
 
getSet(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
 
getSet(int, Class<T>) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a set.
getSet(String, Class<T>) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a set.
getSet(int, Class<T>) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a set.
getSet(String, Class<T>) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a set.
getSlowQueryLatencyThresholdMillis() - Method in class com.datastax.driver.core.QueryLogger.ConstantThresholdQueryLogger
Return the threshold in milliseconds beyond which queries are considered 'slow' and logged as such by the driver.
getSlowQueryLatencyThresholdPercentile() - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
Return the threshold percentile beyond which queries are considered 'slow' and logged as such by the driver.
getSocketAddress() - Method in class com.datastax.driver.core.Host
Returns the node socket address.
getSocketOptions() - Method in class com.datastax.driver.core.Configuration
Returns the low-level TCP configuration options used (tcpNoDelay, keepAlive, ...).
getSoLinger() - Method in class com.datastax.driver.core.SocketOptions
Returns the linger-on-close timeout.
getSource() - Method in class com.datastax.driver.core.QueryTrace.Event
Returns the address of the host having generated this event.
getSourceElapsedMicros() - Method in class com.datastax.driver.core.QueryTrace.Event
Returns the number of microseconds elapsed on the source when this event occurred since when the source started handling the query.
getSpeculativeExecutionPolicy() - Method in class com.datastax.driver.core.policies.Policies
The speculative execution policy in use.
getSpeculativeExecutions() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of times a speculative execution was started because a previous execution did not complete within the delay specified by SpeculativeExecutionPolicy.
getSpeculativeRetry() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns the speculative retry option for this table.
getSSLOptions() - Method in class com.datastax.driver.core.ProtocolOptions
The SSLOptions used by this cluster.
getStart() - Method in class com.datastax.driver.core.TokenRange
Return the start of the range.
getStartedAt() - Method in class com.datastax.driver.core.QueryTrace
Returns the server-side timestamp of the start of this query.
getState() - Method in class com.datastax.driver.core.Host
Returns a description of the host's state, as seen by the driver.
getState() - Method in interface com.datastax.driver.core.Session
Return a snapshot of the state of this Session.
getStatements() - Method in class com.datastax.driver.core.BatchStatement
The statements that have been added to this batch so far.
getStats(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot
The Stats object for a given host.
getString(int) - Method in class com.datastax.driver.core.BoundStatement
 
getString(String) - Method in class com.datastax.driver.core.BoundStatement
 
getString(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a string.
getString(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a string.
getString(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a string.
getString(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a string.
getTable() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
Returns the name of the table this column is part of.
getTable(int) - Method in class com.datastax.driver.core.ColumnDefinitions
Returns the table of the ith column in this metadata.
getTable(String) - Method in class com.datastax.driver.core.ColumnDefinitions
Returns the table of first occurrence of name in this metadata.
getTable() - Method in class com.datastax.driver.core.ColumnMetadata
Returns the metadata of the table this column is part of.
getTable() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
If the failed creation was a table creation, the name of the table that already exists.
getTable(String) - Method in class com.datastax.driver.core.KeyspaceMetadata
Returns the metadata for a table contained in this keyspace.
GettableData - Interface in com.datastax.driver.core
Collection of (typed) CQL values that can be retrieved by index (starting at 0), or by name.
getTables() - Method in class com.datastax.driver.core.KeyspaceMetadata
Returns the tables defined in this keyspace.
getTaskSchedulerQueueSize() - Method in class com.datastax.driver.core.Metrics
 
getTcpNoDelay() - Method in class com.datastax.driver.core.SocketOptions
Returns whether Nagle's algorithm is disabled.
getThreadName() - Method in class com.datastax.driver.core.QueryTrace.Event
Returns the name of the thread on which this event occurred.
getTimestamp() - Method in class com.datastax.driver.core.QueryTrace.Event
Returns the server side timestamp of the event.
getToken(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a Token.
getToken(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a Token.
getTokenRanges() - Method in class com.datastax.driver.core.Metadata
Returns the token ranges that define data distribution in the ring.
getTokenRanges(String, Host) - Method in class com.datastax.driver.core.Metadata
Returns the token ranges that are replicated on the given host, for the given keyspace.
getTokens() - Method in class com.datastax.driver.core.Host
Returns the tokens that this host owns.
getTraceId() - Method in class com.datastax.driver.core.QueryTrace
Returns the identifier of this trace.
getTrashedConnections() - Method in class com.datastax.driver.core.Metrics
Returns the total number of currently "trashed" connections to Cassandra hosts.
getTrashedConnections(Host) - Method in interface com.datastax.driver.core.Session.State
The number of "trashed" connections to a given host.
getTriedHosts() - Method in class com.datastax.driver.core.ExecutionInfo
The list of tried hosts for this query.
getType() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
Returns the type of the column.
getType(int) - Method in class com.datastax.driver.core.ColumnDefinitions
Returns the type of the ith column in this metadata.
getType(String) - Method in class com.datastax.driver.core.ColumnDefinitions
Returns the type of the first occurrence of name in this metadata.
getType() - Method in class com.datastax.driver.core.ColumnMetadata
Returns the type of the column.
getType() - Method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
The type of this retry decision.
getType() - Method in class com.datastax.driver.core.Token
Returns the data type of this token's value.
getTypeArguments() - Method in class com.datastax.driver.core.DataType
Returns the type arguments of this type.
getUnavailables() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of requests that returned an unavailable exception (independently of the final decision taken by the RetryPolicy).
getUninterruptibly() - Method in interface com.datastax.driver.core.ResultSetFuture
Waits for the query to return and return its result.
getUninterruptibly(long, TimeUnit) - Method in interface com.datastax.driver.core.ResultSetFuture
Waits for the provided time for the query to return and return its result if available.
getUUID(int) - Method in class com.datastax.driver.core.BoundStatement
 
getUUID(String) - Method in class com.datastax.driver.core.BoundStatement
 
getUUID(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a UUID.
getUUID(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a UUID.
getUUID(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a UUID.
getUUID(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a UUID.
getValue() - Method in class com.datastax.driver.core.Token
Returns the raw value of this token.
getValues() - Method in class com.datastax.driver.core.querybuilder.Batch
 
getValues() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
 
getValues() - Method in class com.datastax.driver.core.RegularStatement
The values to use for this statement.
getValues() - Method in class com.datastax.driver.core.SimpleStatement
 
getVariables() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
getVariables() - Method in interface com.datastax.driver.core.PreparedStatement
Returns metadata on the bounded variables of this prepared statement.
getVarint(int) - Method in class com.datastax.driver.core.BoundStatement
 
getVarint(String) - Method in class com.datastax.driver.core.BoundStatement
 
getVarint(int) - Method in interface com.datastax.driver.core.GettableData
Returns the ith value as a variable length integer.
getVarint(String) - Method in interface com.datastax.driver.core.GettableData
Returns the value for name as a variable length integer.
getVarint(int) - Method in interface com.datastax.driver.core.Row
Returns the ith value of this row as a variable length integer.
getVarint(String) - Method in interface com.datastax.driver.core.Row
Returns the value of column name as a variable length integer.
getWriteTimeouts() - Method in class com.datastax.driver.core.Metrics.Errors
Returns the number of write requests that returned a timeout (independently of the final decision taken by the RetryPolicy).
getWriteType() - Method in exception com.datastax.driver.core.exceptions.WriteTimeoutException
The type of the write for which a timeout was raised.
gt(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a "greater than" where clause stating the provided column must be greater to the provided value.
gt(List<String>, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a "greater than" where clause for a group of clustering columns.
gte(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a "greater than or equal" where clause stating the provided column must be greater than or equal to the provided value.
gte(List<String>, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a "greater than or equal" where clause for a group of clustering columns.

H

hashCode() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
 
hashCode() - Method in class com.datastax.driver.core.ColumnMetadata
 
hashCode() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
 
hashCode() - Method in class com.datastax.driver.core.DataType
 
hashCode() - Method in class com.datastax.driver.core.Host
 
hashCode() - Method in class com.datastax.driver.core.KeyspaceMetadata
 
hashCode() - Method in class com.datastax.driver.core.TableMetadata
 
hashCode() - Method in class com.datastax.driver.core.TableMetadata.Options
 
hashCode() - Method in class com.datastax.driver.core.TokenRange
 
hashCode() - Method in class com.datastax.driver.core.VersionNumber
 
Host - Class in com.datastax.driver.core
A Cassandra node.
Host.StateListener - Interface in com.datastax.driver.core
Interface for listeners that are interested in hosts added, up, down and removed events.
HostDistance - Enum in com.datastax.driver.core
The distance to a Cassandra node as assigned by a LoadBalancingPolicy (through its distance method).
HostFilterPolicy - Class in com.datastax.driver.core.policies
A load balancing policy wrapper that ensures that only hosts matching the predicate will ever be returned.
HostFilterPolicy(LoadBalancingPolicy, Predicate<Host>) - Constructor for class com.datastax.driver.core.policies.HostFilterPolicy
Create a new policy that wraps the provided child policy but only "allows" hosts matching the predicate.

I

idempotent - Variable in class com.datastax.driver.core.Statement
 
IdentityTranslater - Class in com.datastax.driver.core.policies
The default AddressTranslater used by the driver that do no translation.
IdentityTranslater() - Constructor for class com.datastax.driver.core.policies.IdentityTranslater
 
ifExists() - Method in class com.datastax.driver.core.querybuilder.Delete
Sets the 'IF EXISTS' option for this DELETE statement.
ifExists() - Method in class com.datastax.driver.core.querybuilder.Delete.Where
Sets the 'IF EXISTS' option for the DELETE statement this WHERE clause is part of.
ifExists() - Method in class com.datastax.driver.core.querybuilder.Update.Where
Sets the 'IF EXISTS' option for the UPDATE statement this WHERE clause is part of.
ifNotExists() - Method in class com.datastax.driver.core.querybuilder.Insert
Sets the 'IF NOT EXISTS' option for this INSERT statement.
ignore() - Static method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
Creates an IGNORE retry decision.
in(String, Object...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Create an "in" where clause stating the provided column must be equal to one of the provided values.
in(String, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Create an "in" where clause stating the provided column must be equal to one of the provided values.
incr(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Incrementation of a counter column.
incr(String, long) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Incrementation of a counter column by a provided value.
incr(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Incrementation of a counter column by a provided value.
inet() - Static method in class com.datastax.driver.core.DataType
Returns the INET type.
init() - Method in class com.datastax.driver.core.Cluster
Initialize this Cluster instance.
init() - Method in class com.datastax.driver.core.DelegatingCluster
 
init(Cluster) - Method in class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
 
init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
 
init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
Initialize this load balancing policy.
init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
 
init(Cluster, Collection<Host>) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
Initialize this load balancing policy.
init(Cluster) - Method in class com.datastax.driver.core.policies.NoSpeculativeExecutionPolicy
 
init(Cluster) - Method in class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
 
init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
 
init(Cluster) - Method in interface com.datastax.driver.core.policies.SpeculativeExecutionPolicy
Gets invoked at cluster startup.
init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
init() - Method in interface com.datastax.driver.core.Session
Force the initialization of this Session instance if it hasn't been initialized yet.
initAsync() - Method in interface com.datastax.driver.core.AsyncInitSession
Initialize this session asynchronously.
initialResponse() - Method in class com.datastax.driver.auth.KerberosAuthenticator
 
initialResponse() - Method in interface com.datastax.driver.core.Authenticator
Obtain an initial response token for initializing the SASL handshake
Insert - Class in com.datastax.driver.core.querybuilder
A built INSERT statement.
Insert.Options - Class in com.datastax.driver.core.querybuilder
The options of an INSERT statement.
insertInto(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Start building a new INSERT query.
insertInto(String, String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Start building a new INSERT query.
insertInto(TableMetadata) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Start building a new INSERT query.
INSTANCE - Static variable in class com.datastax.driver.core.policies.DefaultRetryPolicy
 
INSTANCE - Static variable in class com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy
 
INSTANCE - Static variable in class com.datastax.driver.core.policies.FallthroughRetryPolicy
 
INSTANCE - Static variable in class com.datastax.driver.core.policies.NoSpeculativeExecutionPolicy
The single instance (this class is stateless).
intersects(TokenRange) - Method in class com.datastax.driver.core.TokenRange
Returns whether this range intersects another one.
intersectWith(TokenRange) - Method in class com.datastax.driver.core.TokenRange
Computes the intersection of this range with another one.
InvalidConfigurationInQueryException - Exception in com.datastax.driver.core.exceptions
A specific invalid query exception that indicates that the query is invalid because of some configuration problem.
InvalidConfigurationInQueryException(String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidConfigurationInQueryException
Deprecated.
This constructor is kept for backwards compatibility.
InvalidConfigurationInQueryException(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidConfigurationInQueryException
 
InvalidQueryException - Exception in com.datastax.driver.core.exceptions
Indicates a syntactically correct but invalid query.
InvalidQueryException(String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
 
InvalidQueryException(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
 
InvalidQueryException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
 
InvalidQueryException(InetSocketAddress, String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
 
InvalidTypeException - Exception in com.datastax.driver.core.exceptions
 
InvalidTypeException(String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidTypeException
 
isClosed() - Method in class com.datastax.driver.core.Cluster
Whether this Cluster instance has been closed.
isClosed() - Method in class com.datastax.driver.core.DelegatingCluster
 
isClosed() - Method in interface com.datastax.driver.core.Session
Whether this Session instance has been closed.
isCollection() - Method in class com.datastax.driver.core.DataType
Returns whether this type is a collection one, i.e.
isCollection() - Method in enum com.datastax.driver.core.DataType.Name
Returns whether this data type name represent the name of a collection type that is a list, set or map.
isCompactStorage() - Method in class com.datastax.driver.core.TableMetadata.Options
Returns whether the table uses the COMPACT STORAGE option.
isComplete() - Method in class com.datastax.driver.auth.PrivilegedSaslClient
Is the SASL negotiation with the server complete
isCustomIndex() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
Returns whether this index is a custom one.
isDCLocal() - Method in enum com.datastax.driver.core.ConsistencyLevel
Whether or not the the consistency level applies to the local data-center only.
isDurableWrites() - Method in class com.datastax.driver.core.KeyspaceMetadata
Returns whether durable writes are set on this keyspace.
isEmpty() - Method in class com.datastax.driver.core.TokenRange
Returns whether this range is empty.
isExhausted() - Method in interface com.datastax.driver.core.ResultSet
Returns whether this ResultSet has more results.
isFullyFetched() - Method in interface com.datastax.driver.core.ResultSet
Whether all results from this result set have been fetched from the database.
isIdempotent() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
 
isIdempotent() - Method in class com.datastax.driver.core.Statement
Whether this statement is idempotent, i.e.
isJMXReportingEnabled() - Method in class com.datastax.driver.core.MetricsOptions
Returns whether JMX reporting is enabled (the default).
isMetadataEnabled() - Method in class com.datastax.driver.core.QueryOptions
Whether client-side token and schema metadata is enabled.
isNull(int) - Method in class com.datastax.driver.core.BoundStatement
 
isNull(String) - Method in class com.datastax.driver.core.BoundStatement
 
isNull(int) - Method in interface com.datastax.driver.core.GettableData
Returns whether the ith value is NULL.
isNull(String) - Method in interface com.datastax.driver.core.GettableData
Returns whether the value for name is NULL.
isNull(int) - Method in interface com.datastax.driver.core.Row
Returns whether the ith value of this row is NULL.
isNull(String) - Method in interface com.datastax.driver.core.Row
Returns whether the value for column name in this row is NULL.
isPrepareOnAllHosts() - Method in class com.datastax.driver.core.QueryOptions
Returns whether the driver should prepare statements on all hosts in the cluster.
isReprepareOnUp() - Method in class com.datastax.driver.core.QueryOptions
Whether the driver should re-prepare all cached prepared statements on a host when its marks that host back up.
isRetryCurrent() - Method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
Whether the retry policy uses the same host for retry decision.
isSchemaInAgreement() - Method in class com.datastax.driver.core.ExecutionInfo
Whether the cluster had reached schema agreement after the execution of this query.
isSet(int) - Method in class com.datastax.driver.core.BoundStatement
Returns whether the ith variable has been bound to a non null value.
isSet(String) - Method in class com.datastax.driver.core.BoundStatement
Returns whether the first occurrence of variable name has been bound to a non-null value.
isStatic() - Method in class com.datastax.driver.core.ColumnMetadata
Whether this column is a static column.
isTracing() - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
isTracing() - Method in interface com.datastax.driver.core.PreparedStatement
Returns whether tracing is enabled for this prepared statement, i.e.
isTracing() - Method in class com.datastax.driver.core.Statement
Returns whether tracing is enabled for this query or not.
isTracing() - Method in class com.datastax.driver.core.StatementWrapper
 
isUp() - Method in class com.datastax.driver.core.Host
Returns whether the host is considered up by the driver.
isWrappedAround() - Method in class com.datastax.driver.core.TokenRange
Returns whether this range wraps around the end of the ring.
iterator() - Method in class com.datastax.driver.core.ColumnDefinitions
Returns an iterator over the ColumnDefinitions.Definition contained in this metadata.
iterator() - Method in interface com.datastax.driver.core.ResultSet
Returns an iterator over the rows contained in this ResultSet.

J

JAAS_CONFIG_ENTRY - Static variable in class com.datastax.driver.auth.KerberosAuthenticator
 

K

KerberosAuthenticator - Class in com.datastax.driver.auth
Responsible for authenticating with secured DSE services using Kerberos over GSSAPI & SASL.
KerberosAuthenticator(InetSocketAddress) - Constructor for class com.datastax.driver.auth.KerberosAuthenticator
 
KeyspaceMetadata - Class in com.datastax.driver.core
Describes a keyspace defined in this cluster.
KS_NAME - Static variable in class com.datastax.driver.core.KeyspaceMetadata
 

L

lastUpdatedSince() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
The number of nanoseconds since the last latency update was recorded (at the time of the snapshot).
LatencyAwarePolicy - Class in com.datastax.driver.core.policies
A wrapper load balancing policy that adds latency awareness to a child policy.
LatencyAwarePolicy.Builder - Class in com.datastax.driver.core.policies
Helper builder object to create a latency aware policy.
LatencyAwarePolicy.Snapshot - Class in com.datastax.driver.core.policies
An immutable snapshot of the per-host scores (and stats in general) maintained by LatencyAwarePolicy to base its decision upon.
LatencyAwarePolicy.Snapshot.Stats - Class in com.datastax.driver.core.policies
A snapshot of the statistics on a given host kept by LatencyAwarePolicy.
LatencyTracker - Interface in com.datastax.driver.core
Interface for objects that are interested in tracking the latencies of the driver queries to each Cassandra nodes.
limit(int) - Method in class com.datastax.driver.core.querybuilder.Select
Adds a LIMIT clause to this statement.
limit(BindMarker) - Method in class com.datastax.driver.core.querybuilder.Select
Adds a prepared LIMIT clause to this statement.
limit(int) - Method in class com.datastax.driver.core.querybuilder.Select.Where
Adds a LIMIT clause to the SELECT statement this Where clause if part of.
limit(BindMarker) - Method in class com.datastax.driver.core.querybuilder.Select.Where
Adds a bind marker for the LIMIT clause to the SELECT statement this Where clause if part of.
list(DataType) - Static method in class com.datastax.driver.core.DataType
Returns the type of lists of elementType elements.
listElt(String, int) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
Deletes the provided list element.
listElt(String, BindMarker) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
Deletes the provided list element, specified as a bind marker.
LoadBalancingPolicy - Interface in com.datastax.driver.core.policies
The policy that decides which Cassandra hosts to contact for each new query.
LoggingRetryPolicy - Class in com.datastax.driver.core.policies
A retry policy that wraps another policy, logging the decision made by its sub-policy.
LoggingRetryPolicy(RetryPolicy) - Constructor for class com.datastax.driver.core.policies.LoggingRetryPolicy
Creates a new RetryPolicy that logs the decision of policy.
logQuery(Statement, Exception, Logger, String) - Method in class com.datastax.driver.core.QueryLogger
 
lt(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a "lesser than" where clause stating the provided column must be less than the provided value.
lt(List<String>, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a "lesser than" where clause for a group of clustering columns.
lte(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a "lesser than or equal" where clause stating the provided column must be lesser than or equal to the provided value.
lte(List<String>, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a "lesser than or equal" where clause for a group of clustering columns.

M

map(DataType, DataType) - Static method in class com.datastax.driver.core.DataType
Returns the type of maps of keyType to valueType elements.
mapElt(String, Object) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
Deletes a map element given a key.
maxLoggedParameters - Variable in class com.datastax.driver.core.QueryLogger
 
maxParameterValueLength - Variable in class com.datastax.driver.core.QueryLogger
 
maxQueryStringLength - Variable in class com.datastax.driver.core.QueryLogger
 
maybeLogErrorQuery(Host, Statement, Exception, long) - Method in class com.datastax.driver.core.QueryLogger
 
maybeLogNormalOrSlowQuery(Host, Statement, long) - Method in class com.datastax.driver.core.QueryLogger.ConstantThresholdQueryLogger
 
maybeLogNormalOrSlowQuery(Host, Statement, long) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
 
maybeLogNormalOrSlowQuery(Host, Statement, long) - Method in class com.datastax.driver.core.QueryLogger
 
maybeLogNormalQuery(Host, Statement, long) - Method in class com.datastax.driver.core.QueryLogger
 
maybeLogSlowQuery(Host, Statement, long) - Method in class com.datastax.driver.core.QueryLogger.ConstantThresholdQueryLogger
 
maybeLogSlowQuery(Host, Statement, long, long) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
 
mergeWith(TokenRange) - Method in class com.datastax.driver.core.TokenRange
Merges this range with another one.
Metadata - Class in com.datastax.driver.core
Keeps metadata on the connected cluster, including known nodes and schema definitions.
Metrics - Class in com.datastax.driver.core
Metrics exposed by the driver.
Metrics.Errors - Class in com.datastax.driver.core
Metrics on errors encountered.
MetricsOptions - Class in com.datastax.driver.core
Metrics options.
MetricsOptions() - Constructor for class com.datastax.driver.core.MetricsOptions
Creates a new MetricsOptions object with default values.
MetricsOptions(boolean) - Constructor for class com.datastax.driver.core.MetricsOptions
Creates a new MetricsOptions object.
MoreFutures - Class in com.datastax.driver.core.utils
Helpers to work with Guava's ListenableFuture.
MoreFutures() - Constructor for class com.datastax.driver.core.utils.MoreFutures
 
MoreFutures.FailureCallback<V> - Class in com.datastax.driver.core.utils
A FutureCallback that does nothing on success.
MoreFutures.SuccessCallback<V> - Class in com.datastax.driver.core.utils
A FutureCallback that does nothing on failure.

N

NettyOptions - Class in com.datastax.driver.core
A set of hooks that allow clients to customize the driver's underlying Netty layer.
NettyOptions() - Constructor for class com.datastax.driver.core.NettyOptions
 
newAuthenticator(InetSocketAddress) - Method in class com.datastax.driver.auth.DseAuthProvider
 
newAuthenticator(InetSocketAddress) - Method in interface com.datastax.driver.core.AuthProvider
The Authenticator to use when connecting to host
newAuthenticator(InetSocketAddress) - Method in class com.datastax.driver.core.PlainTextAuthProvider
Uses the supplied credentials and the SASL PLAIN mechanism to login to the server.
newPlan(String, Statement) - Method in class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
 
newPlan(String, Statement) - Method in class com.datastax.driver.core.policies.NoSpeculativeExecutionPolicy
 
newPlan(String, Statement) - Method in class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
 
newPlan(String, Statement) - Method in interface com.datastax.driver.core.policies.SpeculativeExecutionPolicy
Returns the plan to use for a new query.
newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
Returns the hosts to use for a new query.
newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
Returns the hosts to use for a new query.
newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
Returns the hosts to use for a new query.
newQueryPlan(String, Statement) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
Returns the hosts to use for a new query.
newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
Returns the hosts to use for a new query.
newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
Returns the hosts to use for a new query.
newSchedule() - Method in class com.datastax.driver.core.policies.ConstantReconnectionPolicy
A new schedule that uses a constant getConstantDelayMs() delay between reconnection attempt.
newSchedule() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
A new schedule that used an exponentially growing delay between reconnection attempts.
newSchedule() - Method in interface com.datastax.driver.core.policies.ReconnectionPolicy
Creates a new schedule for reconnection attempts.
newSession() - Method in class com.datastax.driver.core.Cluster
Creates a new session on this cluster but does not initialize it.
newSession() - Method in class com.datastax.driver.core.DelegatingCluster
 
newToken(String) - Method in class com.datastax.driver.core.Metadata
Builds a new Token from its string representation, according to the partitioner reported by the Cassandra nodes.
newTokenRange(Token, Token) - Method in class com.datastax.driver.core.Metadata
Builds a new TokenRange.
nextDelayMs() - Method in interface com.datastax.driver.core.policies.ReconnectionPolicy.ReconnectionSchedule
When to attempt the next reconnection.
nextExecution(Host) - Method in interface com.datastax.driver.core.policies.SpeculativeExecutionPolicy.SpeculativeExecutionPlan
Returns the time before the next speculative query.
nextStable() - Method in class com.datastax.driver.core.VersionNumber
The next stable version, i.e.
NoHostAvailableException - Exception in com.datastax.driver.core.exceptions
Exception thrown when a query cannot be performed because no host are available.
NoHostAvailableException(Map<InetSocketAddress, Throwable>) - Constructor for exception com.datastax.driver.core.exceptions.NoHostAvailableException
 
NONE - Static variable in interface com.datastax.driver.core.AuthProvider
A provider that provides no authentication capability.
NORMAL_LOGGER - Static variable in class com.datastax.driver.core.QueryLogger
The logger used to log normal queries, i.e., queries that completed successfully within a configurable threshold in milliseconds.
NoSpeculativeExecutionPolicy - Class in com.datastax.driver.core.policies
A SpeculativeExecutionPolicy that never schedules speculative executions.
now() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a now() function call.

O

onAdd(Host) - Method in interface com.datastax.driver.core.Host.StateListener
Called when a new node is added to the cluster.
onAdd(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
 
onAdd(Host) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
 
onAdd(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
 
onAdd(Host) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
 
onAdd(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
onAuthenticationSuccess(byte[]) - Method in class com.datastax.driver.auth.KerberosAuthenticator
 
onAuthenticationSuccess(byte[]) - Method in interface com.datastax.driver.core.Authenticator
Called when authentication is successful with the last information optionally sent by the server.
onClusterClose(EventLoopGroup) - Method in class com.datastax.driver.core.NettyOptions
Hook invoked when the cluster is shutting down after a call to Cluster.close().
onClusterClose(Timer) - Method in class com.datastax.driver.core.NettyOptions
Hook invoked when the cluster is shutting down after a call to Cluster.close().
onDown(Host) - Method in interface com.datastax.driver.core.Host.StateListener
Called when a node is determined to be down.
onDown(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
 
onDown(Host) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
 
onDown(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
 
onDown(Host) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
 
onDown(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
one() - Method in interface com.datastax.driver.core.ResultSet
Returns the next result from this ResultSet.
onFailure(Throwable) - Method in class com.datastax.driver.core.utils.MoreFutures.SuccessCallback
 
onKeyspaceAdded(KeyspaceMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
Called when a keyspace has been added.
onKeyspaceChanged(KeyspaceMetadata, KeyspaceMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
Called when a keyspace has changed.
onKeyspaceRemoved(KeyspaceMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
Called when a keyspace has been removed.
onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete
Adds a conditions clause (IF) to this statement.
onlyIf() - Method in class com.datastax.driver.core.querybuilder.Delete
Adds a conditions clause (IF) to this statement.
onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete.Where
Adds a condition to the DELETE statement this WHERE clause is part of.
onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Assignments
Adds a condition to the UPDATE statement those assignments are part of.
onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Update
Adds a conditions clause (IF) to this statement.
onlyIf() - Method in class com.datastax.driver.core.querybuilder.Update
Adds a conditions clause (IF) to this statement.
onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Options
Adds a condition to the UPDATE statement these options are part of.
onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Where
Adds a condition to the UPDATE statement this WHERE clause is part of.
onReadTimeout(Statement, ConsistencyLevel, int, int, boolean, int) - Method in class com.datastax.driver.core.policies.DefaultRetryPolicy
Defines whether to retry and at which consistency level on a read timeout.
onReadTimeout(Statement, ConsistencyLevel, int, int, boolean, int) - Method in class com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy
Defines whether to retry and at which consistency level on a read timeout.
onReadTimeout(Statement, ConsistencyLevel, int, int, boolean, int) - Method in class com.datastax.driver.core.policies.FallthroughRetryPolicy
Defines whether to retry and at which consistency level on a read timeout.
onReadTimeout(Statement, ConsistencyLevel, int, int, boolean, int) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
 
onReadTimeout(Statement, ConsistencyLevel, int, int, boolean, int) - Method in interface com.datastax.driver.core.policies.RetryPolicy
Defines whether to retry and at which consistency level on a read timeout.
onRegister(Cluster) - Method in interface com.datastax.driver.core.SchemaChangeListener
Gets invoked when the listener is registered with a cluster.
onRemove(Host) - Method in interface com.datastax.driver.core.Host.StateListener
Called when a node is removed from the cluster.
onRemove(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
 
onRemove(Host) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
 
onRemove(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
 
onRemove(Host) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
 
onRemove(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
onSuccess(V) - Method in class com.datastax.driver.core.utils.MoreFutures.FailureCallback
 
onSuspected(Host) - Method in interface com.datastax.driver.core.Host.StateListener
Deprecated.
the "suspicion" mechanism has been deprecated. This will never get called.
onSuspected(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
 
onSuspected(Host) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
 
onSuspected(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
 
onSuspected(Host) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
 
onSuspected(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
onTableAdded(TableMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
Called when a table has been added.
onTableChanged(TableMetadata, TableMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
Called when a table has changed.
onTableRemoved(TableMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
Called when a table has been removed.
onUnavailable(Statement, ConsistencyLevel, int, int, int) - Method in class com.datastax.driver.core.policies.DefaultRetryPolicy
Defines whether to retry and at which consistency level on an unavailable exception.
onUnavailable(Statement, ConsistencyLevel, int, int, int) - Method in class com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy
Defines whether to retry and at which consistency level on an unavailable exception.
onUnavailable(Statement, ConsistencyLevel, int, int, int) - Method in class com.datastax.driver.core.policies.FallthroughRetryPolicy
Defines whether to retry and at which consistency level on an unavailable exception.
onUnavailable(Statement, ConsistencyLevel, int, int, int) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
 
onUnavailable(Statement, ConsistencyLevel, int, int, int) - Method in interface com.datastax.driver.core.policies.RetryPolicy
Defines whether to retry and at which consistency level on an unavailable exception.
onUnregister(Cluster) - Method in interface com.datastax.driver.core.SchemaChangeListener
Gets invoked when the listener is unregistered from a cluster, or at cluster shutdown if the tracker was not unregistered.
onUp(Host) - Method in interface com.datastax.driver.core.Host.StateListener
Called when a node is determined to be up.
onUp(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
 
onUp(Host) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
 
onUp(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
 
onUp(Host) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
 
onUp(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
onWriteTimeout(Statement, ConsistencyLevel, WriteType, int, int, int) - Method in class com.datastax.driver.core.policies.DefaultRetryPolicy
Defines whether to retry and at which consistency level on a write timeout.
onWriteTimeout(Statement, ConsistencyLevel, WriteType, int, int, int) - Method in class com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy
Defines whether to retry and at which consistency level on a write timeout.
onWriteTimeout(Statement, ConsistencyLevel, WriteType, int, int, int) - Method in class com.datastax.driver.core.policies.FallthroughRetryPolicy
Defines whether to retry and at which consistency level on a write timeout.
onWriteTimeout(Statement, ConsistencyLevel, WriteType, int, int, int) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
 
onWriteTimeout(Statement, ConsistencyLevel, WriteType, int, int, int) - Method in interface com.datastax.driver.core.policies.RetryPolicy
Defines whether to retry and at which consistency level on a write timeout.
orderBy(Ordering...) - Method in class com.datastax.driver.core.querybuilder.Select
Adds an ORDER BY clause to this statement.
orderBy(Ordering...) - Method in class com.datastax.driver.core.querybuilder.Select.Where
Adds an ORDER BY clause to the SELECT statement this WHERE clause if part of.
Ordering - Class in com.datastax.driver.core.querybuilder
 
OverloadedException - Exception in com.datastax.driver.core.exceptions
Indicates that the contacted host reported itself being overloaded.
OverloadedException(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.OverloadedException
 

P

PagingState - Class in com.datastax.driver.core
The paging state of a query.
PagingStateException - Exception in com.datastax.driver.core.exceptions
 
PagingStateException(String) - Constructor for exception com.datastax.driver.core.exceptions.PagingStateException
 
PagingStateException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.PagingStateException
 
parameterValueAsString(ColumnDefinitions.Definition, ByteBuffer) - Method in class com.datastax.driver.core.QueryLogger
 
parse(String) - Method in class com.datastax.driver.core.DataType
Parses a string value for the type this object represent, returning its Cassandra binary representation.
parse(String) - Static method in class com.datastax.driver.core.VersionNumber
Parse a version from a string.
PercentileSpeculativeExecutionPolicy - Class in com.datastax.driver.core.policies
A policy that triggers speculative executions when the request to the current host is above a given percentile.
PercentileSpeculativeExecutionPolicy(PerHostPercentileTracker, double, int) - Constructor for class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
Builds a new instance.
PerHostPercentileTracker - Class in com.datastax.driver.core
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 - Class in com.datastax.driver.core
Helper class to builder PerHostPercentileTracker instances with a fluent interface.
PlainTextAuthProvider - Class in com.datastax.driver.core
A simple AuthProvider implementation.
PlainTextAuthProvider(String, String) - Constructor for class com.datastax.driver.core.PlainTextAuthProvider
Creates a new simple authentication information provider with the supplied credentials.
Policies - Class in com.datastax.driver.core.policies
Policies configured for a Cluster instance.
Policies() - Constructor for class com.datastax.driver.core.policies.Policies
 
Policies(LoadBalancingPolicy, ReconnectionPolicy, RetryPolicy, SpeculativeExecutionPolicy) - Constructor for class com.datastax.driver.core.policies.Policies
Creates a new Policies object using the provided policies.
Policies(LoadBalancingPolicy, ReconnectionPolicy, RetryPolicy, AddressTranslater, SpeculativeExecutionPolicy) - Constructor for class com.datastax.driver.core.policies.Policies
Creates a new Policies object using the provided policies.
PoolingOptions - Class in com.datastax.driver.core
Options related to connection pooling.
PoolingOptions() - Constructor for class com.datastax.driver.core.PoolingOptions
 
prepare(String) - Method in class com.datastax.driver.core.AbstractSession
Prepares the provided query string.
prepare(RegularStatement) - Method in class com.datastax.driver.core.AbstractSession
Prepares the provided query.
prepare(String) - Method in interface com.datastax.driver.core.Session
Prepares the provided query string.
prepare(RegularStatement) - Method in interface com.datastax.driver.core.Session
Prepares the provided query.
prepareAsync(RegularStatement) - Method in class com.datastax.driver.core.AbstractSession
Prepares the provided query asynchronously.
prepareAsync(String) - Method in interface com.datastax.driver.core.Session
Prepares the provided query string asynchronously.
prepareAsync(RegularStatement) - Method in interface com.datastax.driver.core.Session
Prepares the provided query asynchronously.
PreparedId - Class in com.datastax.driver.core
Identifies a PreparedStatement.
preparedStatement() - Method in class com.datastax.driver.core.BoundStatement
Returns the prepared statement on which this BoundStatement is based.
PreparedStatement - Interface in com.datastax.driver.core
Represents a prepared statement, a query with bound variables that has been prepared (pre-parsed) by the database.
prepend(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Prepend a value to a list column.
prependAll(String, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Prepend a list of values to a list column.
prependAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Prepend a list of values to a list column.
PrivilegedSaslClient - Class in com.datastax.driver.auth
Wrapper around SaslClient, which performs necessary parts of the authentication protocol as PrivilegedActions with the assumed identity of the Subject supplied in the constructor.
PrivilegedSaslClient(Subject, String[], String, String, String, Map<String, String>, CallbackHandler) - Constructor for class com.datastax.driver.auth.PrivilegedSaslClient
 
ProtocolError - Exception in com.datastax.driver.core.exceptions
Indicates that the contacted host reported a protocol error.
ProtocolError(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.ProtocolError
 
ProtocolOptions - Class in com.datastax.driver.core
Options of the Cassandra native binary protocol.
ProtocolOptions() - Constructor for class com.datastax.driver.core.ProtocolOptions
Creates a new ProtocolOptions instance using the DEFAULT_PORT (and without SSL).
ProtocolOptions(int) - Constructor for class com.datastax.driver.core.ProtocolOptions
Creates a new ProtocolOptions instance using the provided port (without SSL nor authentication).
ProtocolOptions(int, int, int, SSLOptions, AuthProvider) - Constructor for class com.datastax.driver.core.ProtocolOptions
Creates a new ProtocolOptions instance using the provided port and SSL context.
ProtocolOptions.Compression - Enum in com.datastax.driver.core
Compression supported by the Cassandra binary protocol.
put(String, Object, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Puts a new key/value pair to a map column.
putAll(String, Map<?, ?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Puts a map of new key/value pairs to a map column.
putAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Puts a map of new key/value pairs to a map column.

Q

QueryBuilder - Class in com.datastax.driver.core.querybuilder
Static methods to build a CQL3 query.
QueryExecutionException - Exception in com.datastax.driver.core.exceptions
Exception related to the execution of a query.
QueryExecutionException(String) - Constructor for exception com.datastax.driver.core.exceptions.QueryExecutionException
 
QueryExecutionException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.QueryExecutionException
 
QueryLogger - Class in com.datastax.driver.core
A configurable LatencyTracker that logs all executed statements.
QueryLogger.Builder - Class in com.datastax.driver.core
Helper class to build QueryLogger instances with a fluent API.
QueryLogger.ConstantThresholdQueryLogger - Class in com.datastax.driver.core
A QueryLogger that uses a constant threshold in milliseconds to track slow queries.
QueryLogger.DynamicThresholdQueryLogger - Class in com.datastax.driver.core
A QueryLogger that uses a dynamic threshold in milliseconds to track slow queries.
QueryOptions - Class in com.datastax.driver.core
Options related to defaults for individual queries.
QueryOptions() - Constructor for class com.datastax.driver.core.QueryOptions
QueryTimeoutException - Exception in com.datastax.driver.core.exceptions
A Cassandra timeout during a query.
QueryTimeoutException(String, ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.QueryTimeoutException
Deprecated.
This constructor is kept for backwards compatibility.
QueryTimeoutException(String, Throwable, ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.QueryTimeoutException
Deprecated.
This constructor is kept for backwards compatibility.
QueryTimeoutException(InetSocketAddress, String, ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.QueryTimeoutException
 
QueryTimeoutException(InetSocketAddress, String, Throwable, ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.QueryTimeoutException
 
QueryTrace - Class in com.datastax.driver.core
The Cassandra trace for a query.
QueryTrace.Event - Class in com.datastax.driver.core
A trace event.
QueryValidationException - Exception in com.datastax.driver.core.exceptions
An exception indicating that a query cannot be executed because it is syntactically incorrect, invalid, unauthorized or any other reason.
QueryValidationException(String) - Constructor for exception com.datastax.driver.core.exceptions.QueryValidationException
 
QueryValidationException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.QueryValidationException
 
quote(String) - Static method in class com.datastax.driver.core.Metadata
Quote a keyspace, table or column identifier to make it case sensitive.
quote(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Quotes a columnName to make it case sensitive.

R

random() - Static method in class com.datastax.driver.core.utils.UUIDs
Creates a new random (version 4) UUID.
raw(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Protects a value from any interpretation by the query builder.
ReadTimeoutException - Exception in com.datastax.driver.core.exceptions
A Cassandra timeout during a read query.
ReadTimeoutException(ConsistencyLevel, int, int, boolean) - Constructor for exception com.datastax.driver.core.exceptions.ReadTimeoutException
This constructor should only be used internally by the driver when decoding error responses.
ReadTimeoutException(InetSocketAddress, ConsistencyLevel, int, int, boolean) - Constructor for exception com.datastax.driver.core.exceptions.ReadTimeoutException
 
ReconnectionPolicy - Interface in com.datastax.driver.core.policies
Policy that decides how often the reconnection to a dead node is attempted.
ReconnectionPolicy.ReconnectionSchedule - Interface in com.datastax.driver.core.policies
Schedules reconnection attempts to a node.
refreshConnectedHost(Host) - Method in class com.datastax.driver.core.PoolingOptions
Requests the driver to re-evaluate the HostDistance for a given node.
refreshConnectedHosts() - Method in class com.datastax.driver.core.PoolingOptions
Requests the driver to re-evaluate the HostDistance (through the configured LoadBalancingPolicy.distance(com.datastax.driver.core.Host)) for every known hosts and to drop/add connections to each hosts according to the computed distance.
register(Host.StateListener) - Method in class com.datastax.driver.core.Cluster
Registers the provided listener to be notified on hosts up/down/added/removed events.
register(LatencyTracker) - Method in class com.datastax.driver.core.Cluster
Registers the provided tracker to be updated with hosts read latencies.
register(SchemaChangeListener) - Method in class com.datastax.driver.core.Cluster
Registers the provided listener to be updated with schema change events.
register(Host.StateListener) - Method in class com.datastax.driver.core.DelegatingCluster
 
register(LatencyTracker) - Method in class com.datastax.driver.core.DelegatingCluster
 
RegularStatement - Class in com.datastax.driver.core
A regular (non-prepared and non batched) CQL statement.
RegularStatement() - Constructor for class com.datastax.driver.core.RegularStatement
Creates a new RegularStatement.
remove(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Remove a value from a set column.
removeAll(String, Set<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Remove a set of values from a set column.
removeAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Remove a set of values from a set column.
ResultSet - Interface in com.datastax.driver.core
The result of a query.
ResultSetFuture - Interface in com.datastax.driver.core
A future on a ResultSet.
rethrow() - Static method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
Creates a RETHROW retry decision.
retry(ConsistencyLevel) - Static method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
Creates a RETRY retry decision using the provided consistency level.
RetryPolicy - Interface in com.datastax.driver.core.policies
A policy that defines a default behavior to adopt when a request returns a TimeoutException or an UnavailableException.
RetryPolicy.RetryDecision - Class in com.datastax.driver.core.policies
A retry decision to adopt on a Cassandra exception (read/write timeout or unavailable exception).
RetryPolicy.RetryDecision.Type - Enum in com.datastax.driver.core.policies
The type of retry decisions.
RoundRobinPolicy - Class in com.datastax.driver.core.policies
A Round-robin load balancing policy.
RoundRobinPolicy() - Constructor for class com.datastax.driver.core.policies.RoundRobinPolicy
Creates a load balancing policy that picks host to query in a round robin fashion (on all the hosts of the Cassandra cluster).
Row - Interface in com.datastax.driver.core
A CQL Row returned in a ResultSet.

S

SASL_PROTOCOL_NAME - Static variable in class com.datastax.driver.auth.KerberosAuthenticator
 
SASL_PROTOCOL_NAME_PROPERTY - Static variable in class com.datastax.driver.auth.KerberosAuthenticator
 
SchemaChangeListener - Interface in com.datastax.driver.core
Interface for objects that are interested in tracking schema change events in the cluster.
select(String...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Start building a new SELECT query that selects the provided names.
select() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Start building a new SELECT query.
Select - Class in com.datastax.driver.core.querybuilder
A built SELECT statement.
Select.Builder - Class in com.datastax.driver.core.querybuilder
An in-construction SELECT statement.
Select.Selection - Class in com.datastax.driver.core.querybuilder
An Selection clause for an in-construction SELECT statement.
Select.SelectionOrAlias - Class in com.datastax.driver.core.querybuilder
An Selection clause for an in-construction SELECT statement.
Select.Where - Class in com.datastax.driver.core.querybuilder
The WHERE clause of a SELECT statement.
Selection() - Constructor for class com.datastax.driver.core.querybuilder.Delete.Selection
 
Selection() - Constructor for class com.datastax.driver.core.querybuilder.Select.Selection
 
serialize(Object) - Method in class com.datastax.driver.core.DataType
Serialize a value of this type to bytes.
serializeValue(Object) - Static method in class com.datastax.driver.core.DataType
Serialize an object based on its java class.
ServerError - Exception in com.datastax.driver.core.exceptions
Indicates that the contacted host reported un expected error.
ServerError(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.ServerError
 
Session - Interface in com.datastax.driver.core
A session holds connections to a Cassandra cluster, allowing it to be queried.
Session.State - Interface in com.datastax.driver.core
The state of a Session.
set(DataType) - Static method in class com.datastax.driver.core.DataType
Returns the type of sets of elementType elements.
set(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Simple "set" assignment of a value to a column.
setBool(int, boolean) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided boolean.
setBool(String, boolean) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided boolean.
setBytes(int, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided byte buffer.
setBytes(String, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided byte buffer.
setBytesUnsafe(int, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided byte buffer.
setBytesUnsafe(String, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided byte buffer.
setCompression(ProtocolOptions.Compression) - Method in class com.datastax.driver.core.ProtocolOptions
Sets the compression to use.
setConnectionsPerHost(HostDistance, int, int) - Method in class com.datastax.driver.core.PoolingOptions
Sets the core and maximum number of connections per host in one call.
setConnectTimeoutMillis(int) - Method in class com.datastax.driver.core.SocketOptions
Sets the connection timeout in milliseconds.
setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
setConsistencyLevel(ConsistencyLevel) - Method in interface com.datastax.driver.core.PreparedStatement
Sets a default consistency level for all bound statements created from this prepared statement.
setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.QueryOptions
Sets the default consistency level to use for queries.
setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.Statement
Sets the consistency level for the query.
setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.StatementWrapper
 
setCoreConnectionsPerHost(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
Sets the core number of connections per host.
setDate(int, Date) - Method in class com.datastax.driver.core.BoundStatement
Set the ith value to the provided date.
setDate(String, Date) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided date.
setDecimal(int, BigDecimal) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided big decimal.
setDecimal(String, BigDecimal) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided big decimal.
setDefaultIdempotence(boolean) - Method in class com.datastax.driver.core.QueryOptions
Sets the default idempotence for queries.
setDouble(int, double) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided double.
setDouble(String, double) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided double.
setElt(String, Object) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
Deletes the provided set element.
setElt(String, BindMarker) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
Deletes the provided set element, specified as a bind marker.
setFetchSize(int) - Method in class com.datastax.driver.core.QueryOptions
Sets the default fetch size to use for SELECT queries.
setFetchSize(int) - Method in class com.datastax.driver.core.Statement
Sets the query fetch size.
setFetchSize(int) - Method in class com.datastax.driver.core.StatementWrapper
 
setFloat(int, float) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided float.
setFloat(String, float) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided float.
setForceNoValues(boolean) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
Allows to force this builder to not generate values (through its getValues() method).
setHeartbeatIntervalSeconds(int) - Method in class com.datastax.driver.core.PoolingOptions
Sets the heart beat interval, after which a message is sent on an idle connection to make sure it's still alive.
setIdempotent(boolean) - Method in class com.datastax.driver.core.Statement
Sets whether this statement is idempotent.
setIdleTimeoutSeconds(int) - Method in class com.datastax.driver.core.PoolingOptions
Sets the timeout before an idle connection is removed.
setIdx(String, int, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Sets a list column value by index.
setInet(int, InetAddress) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided inet address.
setInet(String, InetAddress) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided inet address.
setInitializationExecutor(Executor) - Method in class com.datastax.driver.core.PoolingOptions
Sets the executor to use for connection initialization.
setInt(int, int) - Method in class com.datastax.driver.core.BoundStatement
Set the ith value to the provided integer.
setInt(String, int) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided integer.
setKeepAlive(boolean) - Method in class com.datastax.driver.core.SocketOptions
Sets whether to enable TCP keepalive.
setKeyspace(String) - Method in class com.datastax.driver.core.SimpleStatement
Sets the keyspace this query operates on.
setList(int, List<T>) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided list.
setList(String, List<T>) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided list.
setLong(int, long) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided long.
setLong(String, long) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided long.
setMap(int, Map<K, V>) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided map.
setMap(String, Map<K, V>) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided map.
setMaxConnectionsPerHost(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
Sets the maximum number of connections per host.
setMaxLoggedParameters(int) - Method in class com.datastax.driver.core.QueryLogger
Set the maximum number of query parameters that can be logged by the driver.
setMaxParameterValueLength(int) - Method in class com.datastax.driver.core.QueryLogger
Set the maximum length of a query parameter value that can be logged verbatim by the driver.
setMaxPendingRefreshNodeListRequests(int) - Method in class com.datastax.driver.core.QueryOptions
Sets the maximum number of node list refresh requests that the control connection can accumulate before executing them.
setMaxPendingRefreshNodeRequests(int) - Method in class com.datastax.driver.core.QueryOptions
Sets the maximum number of node refresh requests that the control connection can accumulate before executing them.
setMaxPendingRefreshSchemaRequests(int) - Method in class com.datastax.driver.core.QueryOptions
Sets the maximum number of schema refresh requests that the control connection can accumulate before executing them.
setMaxQueryStringLength(int) - Method in class com.datastax.driver.core.QueryLogger
Set the maximum length of a CQL query string that can be logged verbatim by the driver.
setMaxSimultaneousRequestsPerConnectionThreshold(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
Sets number of simultaneous requests on all connections to an host after which more connections are created.
setMetadataEnabled(boolean) - Method in class com.datastax.driver.core.QueryOptions
Toggle client-side token and schema metadata.
setMinSimultaneousRequestsPerConnectionThreshold(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
Deprecated.
this option isn't used anymore with the current pool resizing algorithm.
setPagingState(PagingState) - Method in class com.datastax.driver.core.Statement
Sets the paging state.
setPagingState(PagingState) - Method in class com.datastax.driver.core.StatementWrapper
 
setPagingStateUnsafe(byte[]) - Method in class com.datastax.driver.core.Statement
Sets the paging state.
setPartitionKeyToken(Token) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable "partition key token" to the provided token (this is the name generated by Cassandra for markers corresponding to a token(...) call).
setPassword(String) - Method in class com.datastax.driver.core.PlainTextAuthProvider
Changes the password.
setPerHostPercentileLatencyTracker(PerHostPercentileTracker) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
Set the PerHostPercentileTracker instance to use for recording per-host latency histograms.
setPoolTimeoutMillis(int) - Method in class com.datastax.driver.core.PoolingOptions
Sets the timeout when trying to acquire a connection from a host's pool.
setPrepareOnAllHosts(boolean) - Method in class com.datastax.driver.core.QueryOptions
Set whether the driver should prepare statements on all hosts in the cluster.
setReadTimeoutMillis(int) - Method in class com.datastax.driver.core.SocketOptions
Sets the per-host read timeout in milliseconds.
setReceiveBufferSize(int) - Method in class com.datastax.driver.core.SocketOptions
Sets a hint to the size of the underlying buffers for incoming network I/O.
setRefreshNodeIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
Sets the default window size in milliseconds used to debounce node refresh requests.
setRefreshNodeListIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
Sets the default window size in milliseconds used to debounce node list refresh requests.
setRefreshSchemaIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
Sets the default window size in milliseconds used to debounce node list refresh requests.
setReprepareOnUp(boolean) - Method in class com.datastax.driver.core.QueryOptions
Set whether the driver should re-prepare all cached prepared statements on a host when it marks it back up.
setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
setRetryPolicy(RetryPolicy) - Method in interface com.datastax.driver.core.PreparedStatement
Convenience method to set a default retry policy for the BoundStatement created from this prepared statement.
setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.Statement
Sets the retry policy to use for this query.
setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.StatementWrapper
 
setReuseAddress(boolean) - Method in class com.datastax.driver.core.SocketOptions
Sets whether to enable reuse-address.
setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
Sets the routing key for this bound statement.
setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
setRoutingKey(ByteBuffer...) - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
setRoutingKey(ByteBuffer) - Method in interface com.datastax.driver.core.PreparedStatement
Sets the routing key for this prepared statement.
setRoutingKey(ByteBuffer...) - Method in interface com.datastax.driver.core.PreparedStatement
Sets the routing key for this query.
setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.SimpleStatement
Sets the routing key for this query.
setRoutingKey(ByteBuffer...) - Method in class com.datastax.driver.core.SimpleStatement
Sets the routing key for this query.
setSendBufferSize(int) - Method in class com.datastax.driver.core.SocketOptions
Sets a hint to the size of the underlying buffers for outgoing network I/O.
setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.BatchStatement
Throws an UnsupportedOperationException as setting the serial consistency is currently not supported for protocol batches by Cassandra.
setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.DefaultPreparedStatement
 
setSerialConsistencyLevel(ConsistencyLevel) - Method in interface com.datastax.driver.core.PreparedStatement
Sets a default serial consistency level for all bound statements created from this prepared statement.
setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.QueryOptions
Sets the default serial consistency level to use for queries.
setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.Statement
Sets the serial consistency level for the query.
setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.StatementWrapper
 
setSet(int, Set<T>) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided set.
setSet(String, Set<T>) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided set.
setSlowQueryLatencyThresholdMillis(long) - Method in class com.datastax.driver.core.QueryLogger.ConstantThresholdQueryLogger
Set the threshold in milliseconds beyond which queries are considered 'slow' and logged as such by the driver.
setSlowQueryLatencyThresholdPercentile(double) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
Set the threshold percentile beyond which queries are considered 'slow' and logged as such by the driver.
setSoLinger(int) - Method in class com.datastax.driver.core.SocketOptions
Sets the linger-on-close timeout.
setString(int, String) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided string.
setString(String, String) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided string.
setTcpNoDelay(boolean) - Method in class com.datastax.driver.core.SocketOptions
Sets whether to disable Nagle's algorithm.
setToken(int, Token) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided Token.
setToken(String, Token) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided token.
setUsername(String) - Method in class com.datastax.driver.core.PlainTextAuthProvider
Changes the user name.
setUUID(int, UUID) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided UUID.
setUUID(String, UUID) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided UUID.
setVarint(int, BigInteger) - Method in class com.datastax.driver.core.BoundStatement
Sets the ith value to the provided big integer.
setVarint(String, BigInteger) - Method in class com.datastax.driver.core.BoundStatement
Sets the value for (all occurrences of) variable name to the provided big integer.
SimpleStatement - Class in com.datastax.driver.core
A simple RegularStatement implementation built directly from a query string.
SimpleStatement(String) - Constructor for class com.datastax.driver.core.SimpleStatement
Creates a new SimpleStatement with the provided query string (and no values).
SimpleStatement(String, Object...) - Constructor for class com.datastax.driver.core.SimpleStatement
Creates a new SimpleStatement with the provided query string and values.
size() - Method in class com.datastax.driver.core.BatchStatement
Returns the number of elements in this batch.
size() - Method in class com.datastax.driver.core.ColumnDefinitions
Returns the number of columns described by this Columns instance.
SLOW_LOGGER - Static variable in class com.datastax.driver.core.QueryLogger
The logger used to log slow queries, i.e., queries that completed successfully but whose execution time exceeded a configurable threshold in milliseconds.
SocketOptions - Class in com.datastax.driver.core
Options to configure low-level socket options for the connections kept to the Cassandra hosts.
SocketOptions() - Constructor for class com.datastax.driver.core.SocketOptions
Creates a new SocketOptions instance with default values.
SpeculativeExecutionPolicy - Interface in com.datastax.driver.core.policies
The policy that decides if the driver will send speculative queries to the next hosts when the current host takes too long to respond.
SpeculativeExecutionPolicy.SpeculativeExecutionPlan - Interface in com.datastax.driver.core.policies
A plan that governs speculative executions for a given query.
splitEvenly(int) - Method in class com.datastax.driver.core.TokenRange
Splits this range into a number of smaller ranges of equal "size" (referring to the number of tokens, not the actual amount of data).
SSLOptions - Class in com.datastax.driver.core
Options to provide to enable SSL connections.
SSLOptions() - Constructor for class com.datastax.driver.core.SSLOptions
Creates default SSL options.
SSLOptions(SSLContext, String[]) - Constructor for class com.datastax.driver.core.SSLOptions
Creates SSL options that uses the provided SSL context and cipher suites.
startOf(long) - Static method in class com.datastax.driver.core.utils.UUIDs
Creates a "fake" time-based UUID that sorts as the smallest possible version 1 UUID generated at the provided timestamp.
Statement - Class in com.datastax.driver.core
An executable query.
statementAsString(Statement) - Method in class com.datastax.driver.core.QueryLogger
 
StatementWrapper - Class in com.datastax.driver.core
Base class for custom Statement implementations that wrap another statement.
StatementWrapper(Statement) - Constructor for class com.datastax.driver.core.StatementWrapper
Builds a new instance.
SuccessCallback() - Constructor for class com.datastax.driver.core.utils.MoreFutures.SuccessCallback
 
SUPPORTED_MECHANISMS - Static variable in class com.datastax.driver.auth.KerberosAuthenticator
 
SyntaxError - Exception in com.datastax.driver.core.exceptions
Indicates a syntax error in a query.
SyntaxError(String) - Constructor for exception com.datastax.driver.core.exceptions.SyntaxError
Deprecated.
This constructor is kept for backwards compatibility.
SyntaxError(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.SyntaxError
 

T

TableMetadata - Class in com.datastax.driver.core
Describes a Table.
TableMetadata.Options - Class in com.datastax.driver.core
 
TableMetadata.Order - Enum in com.datastax.driver.core
Clustering orders.
text() - Static method in class com.datastax.driver.core.DataType
Returns the TEXT type.
timeBased() - Static method in class com.datastax.driver.core.utils.UUIDs
Creates a new time-based (version 1) UUID.
timer(ThreadFactory) - Method in class com.datastax.driver.core.NettyOptions
Return the Timer instance used by Read Timeouts and Speculative Execution.
timestamp() - Static method in class com.datastax.driver.core.DataType
Returns the TIMESTAMP type.
timestamp(long) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Option to set the timestamp for a modification query (insert, update or delete).
timestamp(BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Option to prepare the timestamp (in microseconds) for a modification query (insert, update or delete).
timeuuid() - Static method in class com.datastax.driver.core.DataType
Returns the TIMEUUID type.
toBytes() - Method in class com.datastax.driver.core.PagingState
Return a representation of the paging state object as a byte array.
toHexString(ByteBuffer) - Static method in class com.datastax.driver.core.utils.Bytes
Converts a blob to its CQL hex string representation.
toHexString(byte[]) - Static method in class com.datastax.driver.core.utils.Bytes
Converts a blob to its CQL hex string representation.
token(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
The token of a column name.
token(String...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
The token of column names.
Token - Class in com.datastax.driver.core
A token on the Cassandra ring.
Token() - Constructor for class com.datastax.driver.core.Token
 
TokenAwarePolicy - Class in com.datastax.driver.core.policies
A wrapper load balancing policy that add token awareness to a child policy.
TokenAwarePolicy(LoadBalancingPolicy, boolean) - Constructor for class com.datastax.driver.core.policies.TokenAwarePolicy
Creates a new TokenAware policy.
TokenAwarePolicy(LoadBalancingPolicy) - Constructor for class com.datastax.driver.core.policies.TokenAwarePolicy
Creates a new TokenAware policy with shuffling of replicas.
TokenRange - Class in com.datastax.driver.core
A range of tokens on the Cassandra ring.
toRawHexString(ByteBuffer) - Static method in class com.datastax.driver.core.utils.Bytes
Converts a blob to its CQL hex string representation.
toString() - Method in class com.datastax.driver.core.ColumnDefinitions
 
toString() - Method in class com.datastax.driver.core.ColumnMetadata
 
toString() - Method in enum com.datastax.driver.core.DataType.Name
 
toString() - Method in class com.datastax.driver.core.DataType
 
toString() - Method in class com.datastax.driver.core.Host
 
toString() - Method in class com.datastax.driver.core.PagingState
 
toString() - Method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
 
toString() - Method in enum com.datastax.driver.core.ProtocolOptions.Compression
 
toString() - Method in class com.datastax.driver.core.querybuilder.BindMarker
 
toString() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
 
toString() - Method in class com.datastax.driver.core.QueryTrace.Event
 
toString() - Method in class com.datastax.driver.core.QueryTrace
 
toString() - Method in class com.datastax.driver.core.RegularStatement
 
toString() - Method in class com.datastax.driver.core.TokenRange
 
toString() - Method in class com.datastax.driver.core.VersionNumber
 
TraceRetrievalException - Exception in com.datastax.driver.core.exceptions
Exception thrown if a query trace cannot be retrieved.
TraceRetrievalException(String) - Constructor for exception com.datastax.driver.core.exceptions.TraceRetrievalException
 
TraceRetrievalException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.TraceRetrievalException
 
translate(InetSocketAddress) - Method in interface com.datastax.driver.core.policies.AddressTranslater
Translates a Cassandra rpc_address to another address if necessary.
translate(InetSocketAddress) - Method in class com.datastax.driver.core.policies.EC2MultiRegionAddressTranslater
 
translate(InetSocketAddress) - Method in class com.datastax.driver.core.policies.IdentityTranslater
Translates a Cassandra rpc_address to another address if necessary.
truncate(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a new TRUNCATE query.
truncate(String, String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a new TRUNCATE query.
truncate(TableMetadata) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a new TRUNCATE query.
Truncate - Class in com.datastax.driver.core.querybuilder
A built TRUNCATE statement.
TruncateException - Exception in com.datastax.driver.core.exceptions
Error during a truncation operation.
TruncateException(String) - Constructor for exception com.datastax.driver.core.exceptions.TruncateException
Deprecated.
This constructor is kept for backwards compatibility.
TruncateException(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.TruncateException
 
tryNextHost(ConsistencyLevel) - Static method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
Creates a RETRY retry decision and indicates to retry on another host using the provided consistency level.
tryReconnectOnce() - Method in class com.datastax.driver.core.Host
Triggers an asynchronous reconnection attempt to this host.
ttl(int) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Option to set the ttl for a modification query (insert, update or delete).
ttl(BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Option to prepare the ttl (in seconds) for a modification query (insert, update or delete).
ttl(String) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
Selects the ttl of provided column.
ttl(String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
Selects the ttl of provided column.

U

UnauthorizedException - Exception in com.datastax.driver.core.exceptions
Indicates that a query cannot be performed due to the authorization restrictions of the logged user.
UnauthorizedException(String) - Constructor for exception com.datastax.driver.core.exceptions.UnauthorizedException
Deprecated.
This constructor is kept for backwards compatibility.
UnauthorizedException(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.UnauthorizedException
 
UnavailableException - Exception in com.datastax.driver.core.exceptions
Exception thrown when the coordinator knows there is not enough replica alive to perform a query with the requested consistency level.
UnavailableException(ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.UnavailableException
This constructor should only be used internally by the driver when decoding error responses.
UnavailableException(InetSocketAddress, ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.UnavailableException
 
unixTimestamp(UUID) - Static method in class com.datastax.driver.core.utils.UUIDs
Return the unix timestamp contained by the provided time-based UUID.
unloggedBatch(RegularStatement...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Built a new UNLOGGED BATCH query on the provided statements.
UnpreparedException - Exception in com.datastax.driver.core.exceptions
Indicates that the contacted host replied with an UNPREPARED error code.
UnpreparedException(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.UnpreparedException
 
unregister(Host.StateListener) - Method in class com.datastax.driver.core.Cluster
Unregisters the provided listener from being notified on hosts events.
unregister(LatencyTracker) - Method in class com.datastax.driver.core.Cluster
Unregisters the provided latency tracking from being updated with host read latencies.
unregister(SchemaChangeListener) - Method in class com.datastax.driver.core.Cluster
Unregisters the provided schema change listener from being updated with schema change events.
unregister(Host.StateListener) - Method in class com.datastax.driver.core.DelegatingCluster
 
unregister(LatencyTracker) - Method in class com.datastax.driver.core.DelegatingCluster
 
UnsupportedFeatureException - Exception in com.datastax.driver.core.exceptions
Exception thrown when a feature is not supported by the native protocol currently in use.
UnsupportedFeatureException(String) - Constructor for exception com.datastax.driver.core.exceptions.UnsupportedFeatureException
 
unwrap() - Method in class com.datastax.driver.core.TokenRange
Splits this range into a list of two non-wrapping ranges.
update(Host, Statement, Exception, long) - Method in interface com.datastax.driver.core.LatencyTracker
A method that is called after each request to a Cassandra node with the duration of that operation.
update(Host, Statement, Exception, long) - Method in class com.datastax.driver.core.PerHostPercentileTracker
 
update(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Start building a new UPDATE query.
update(String, String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Start building a new UPDATE query.
update(TableMetadata) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Start building a new UPDATE query.
Update - Class in com.datastax.driver.core.querybuilder
A built UPDATE statement.
update(Host, Statement, Exception, long) - Method in class com.datastax.driver.core.QueryLogger
A method that is called after each request to a Cassandra node with the duration of that operation.
Update.Assignments - Class in com.datastax.driver.core.querybuilder
The assignments of an UPDATE statement.
Update.Conditions - Class in com.datastax.driver.core.querybuilder
Conditions for an UPDATE statement.
Update.IfExists - Class in com.datastax.driver.core.querybuilder
 
Update.Options - Class in com.datastax.driver.core.querybuilder
The options of a UPDATE statement.
Update.Where - Class in com.datastax.driver.core.querybuilder
The WHERE clause of an UPDATE statement.
using(Using) - Method in class com.datastax.driver.core.querybuilder.Batch
Adds a new options for this BATCH statement.
using(Using) - Method in class com.datastax.driver.core.querybuilder.Delete.Conditions
Adds an option to the DELETE statement these conditions are part of.
using(Using) - Method in class com.datastax.driver.core.querybuilder.Delete
Adds a new options for this DELETE statement.
using(Using) - Method in class com.datastax.driver.core.querybuilder.Delete.Where
Adds an option to the DELETE statement this WHERE clause is part of.
using(Using) - Method in class com.datastax.driver.core.querybuilder.Insert
Adds a new options for this INSERT statement.
using(Using) - Method in class com.datastax.driver.core.querybuilder.Update.Assignments
Adds an option to the UPDATE statement those assignments are part of.
using(Using) - Method in class com.datastax.driver.core.querybuilder.Update.Conditions
Adds an option to the UPDATE statement these conditions are part of.
using(Using) - Method in class com.datastax.driver.core.querybuilder.Update
Adds a new options for this UPDATE statement.
using(Using) - Method in class com.datastax.driver.core.querybuilder.Update.Where
Adds an option to the UPDATE statement this WHERE clause is part of.
Using - Class in com.datastax.driver.core.querybuilder
 
uuid() - Static method in class com.datastax.driver.core.DataType
Returns the UUID type.
uuid() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Creates a uuid() function call.
UUIDs - Class in com.datastax.driver.core.utils
Utility methods to work with UUID and most specifically with time-based ones (version 1).

V

value(String, Object) - Method in class com.datastax.driver.core.querybuilder.Insert.Options
Adds a column/value pair to the values inserted by this INSERT statement.
value(String, Object) - Method in class com.datastax.driver.core.querybuilder.Insert
Adds a column/value pair to the values inserted by this INSERT statement.
valueOf(String) - Static method in enum com.datastax.driver.core.BatchStatement.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.datastax.driver.core.ConsistencyLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.datastax.driver.core.DataType.Name
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.datastax.driver.core.HostDistance
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.datastax.driver.core.policies.RetryPolicy.RetryDecision.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.datastax.driver.core.ProtocolOptions.Compression
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.datastax.driver.core.TableMetadata.Order
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.datastax.driver.core.WriteType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.datastax.driver.core.BatchStatement.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.datastax.driver.core.ConsistencyLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.datastax.driver.core.DataType.Name
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.datastax.driver.core.HostDistance
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.datastax.driver.core.policies.RetryPolicy.RetryDecision.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.datastax.driver.core.ProtocolOptions.Compression
Returns an array containing the constants of this enum type, in the order they are declared.
values(String[], Object[]) - Method in class com.datastax.driver.core.querybuilder.Insert.Options
Adds multiple column/value pairs to the values inserted by this INSERT statement.
values(String[], Object[]) - Method in class com.datastax.driver.core.querybuilder.Insert
Adds multiple column/value pairs to the values inserted by this INSERT statement.
values(List<String>, List<Object>) - Method in class com.datastax.driver.core.querybuilder.Insert
Adds multiple column/value pairs to the values inserted by this INSERT statement.
values() - Static method in enum com.datastax.driver.core.TableMetadata.Order
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.datastax.driver.core.WriteType
Returns an array containing the constants of this enum type, in the order they are declared.
valuesCount() - Method in class com.datastax.driver.core.SimpleStatement
Returns the number of values provided for this statement.
varchar() - Static method in class com.datastax.driver.core.DataType
Returns the VARCHAR type.
varint() - Static method in class com.datastax.driver.core.DataType
Returns the VARINT type.
VersionNumber - Class in com.datastax.driver.core
A version number in the form X.Y.Z with optional pre-release labels and build metadata.
VOID_SUCCESS - Static variable in class com.datastax.driver.core.utils.MoreFutures
An immediate successful ListenableFuture<Void>.

W

wasApplied() - Method in interface com.datastax.driver.core.ResultSet
If the query that produced this ResultSet was a conditional update, return whether it was successfully applied.
wasDataRetrieved() - Method in exception com.datastax.driver.core.exceptions.ReadTimeoutException
Whether the actual data was amongst the received replica responses.
wasTableCreation() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
Returns whether the query yielding this exception was a table creation attempt.
where(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete.Conditions
Adds a where clause to the DELETE statement these conditions are part of.
where(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete.Options
Adds a where clause to the DELETE statement these options are part of.
where(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete
Adds a WHERE clause to this statement.
where() - Method in class com.datastax.driver.core.querybuilder.Delete
Returns a Where statement for this query without adding clause.
where(Clause) - Method in class com.datastax.driver.core.querybuilder.Select
Adds a WHERE clause to this statement.
where() - Method in class com.datastax.driver.core.querybuilder.Select
Returns a Where statement for this query without adding clause.
where(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Assignments
Adds a where clause to the UPDATE statement those assignments are part of.
where(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Conditions
Adds a where clause to the UPDATE statement these conditions are part of.
where(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Options
Adds a where clause to the UPDATE statement these options are part of.
where(Clause) - Method in class com.datastax.driver.core.querybuilder.Update
Adds a WHERE clause to this statement.
where() - Method in class com.datastax.driver.core.querybuilder.Update
Returns a Where statement for this query without adding clause.
WhiteListPolicy - Class in com.datastax.driver.core.policies
A load balancing policy wrapper that ensure that only hosts from a provided white list will ever be returned.
WhiteListPolicy(LoadBalancingPolicy, Collection<InetSocketAddress>) - Constructor for class com.datastax.driver.core.policies.WhiteListPolicy
Creates a new policy that wraps the provided child policy but only "allows" hosts from the provided while list.
with(Assignment) - Method in class com.datastax.driver.core.querybuilder.Update.Conditions
Adds an assignment to the UPDATE statement those conditions are part of.
with(Assignment) - Method in class com.datastax.driver.core.querybuilder.Update.Options
Adds an assignment to the UPDATE statement those options are part of.
with(Assignment) - Method in class com.datastax.driver.core.querybuilder.Update.Where
Adds an assignment to the UPDATE statement this WHERE clause is part of.
with(Assignment) - Method in class com.datastax.driver.core.querybuilder.Update
Adds an assignment to this UPDATE statement.
with() - Method in class com.datastax.driver.core.querybuilder.Update
Returns the assignments of this UPDATE statement.
withAddressTranslater(AddressTranslater) - Method in class com.datastax.driver.core.Cluster.Builder
Configures the address translater to use for the new cluster.
withAuthProvider(AuthProvider) - Method in class com.datastax.driver.core.Cluster.Builder
Use the specified AuthProvider when connecting to Cassandra hosts.
withClusterName(String) - Method in class com.datastax.driver.core.Cluster.Builder
An optional name for the create cluster.
withCompression(ProtocolOptions.Compression) - Method in class com.datastax.driver.core.Cluster.Builder
Sets the compression to use for the transport.
withConstantThreshold(long) - Method in class com.datastax.driver.core.QueryLogger.Builder
Enables slow query latency tracking based on constant thresholds.
withCredentials(String, String) - Method in class com.datastax.driver.core.Cluster.Builder
Uses the provided credentials when connecting to Cassandra hosts.
withDynamicThreshold(PerHostPercentileTracker, double) - Method in class com.datastax.driver.core.QueryLogger.Builder
Enables slow query latency tracking based on dynamic thresholds.
withExclusionThreshold(double) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
Sets the exclusion threshold to use for the resulting latency aware policy.
withInitialListeners(Collection<Host.StateListener>) - Method in class com.datastax.driver.core.Cluster.Builder
Register the provided listeners in the newly created cluster.
withInterval(long, TimeUnit) - Method in class com.datastax.driver.core.PerHostPercentileTracker.Builder
Sets the time interval over which samples are recorded.
withLoadBalancingPolicy(LoadBalancingPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
Configures the load balancing policy to use for the new cluster.
withLocalDc(String) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy.Builder
Sets the name of the datacenter that will be considered "local" by the policy.
withMaxLoggedParameters(int) - Method in class com.datastax.driver.core.QueryLogger.Builder
Set the maximum number of query parameters that can be logged by the driver.
withMaxParameterValueLength(int) - Method in class com.datastax.driver.core.QueryLogger.Builder
Set the maximum length of a query parameter value that can be logged verbatim by the driver.
withMaxQueryStringLength(int) - Method in class com.datastax.driver.core.QueryLogger.Builder
Set the maximum length of a CQL query string that can be logged verbatim by the driver.
withMaxSchemaAgreementWaitSeconds(int) - Method in class com.datastax.driver.core.Cluster.Builder
Sets the maximum time to wait for schema agreement before returning from a DDL query.
withMininumMeasurements(int) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
Sets the minimum number of measurements per-host to consider for the resulting latency aware policy.
withMinRecordedValues(int) - Method in class com.datastax.driver.core.PerHostPercentileTracker.Builder
Sets the minimum number of values that must be recorded for a host before we consider the sample size significant.
withNettyOptions(NettyOptions) - Method in class com.datastax.driver.core.Cluster.Builder
Set the NettyOptions to use for the newly created Cluster.
withNumberOfHosts(int) - Method in class com.datastax.driver.core.PerHostPercentileTracker.Builder
Sets the number of distinct hosts that the driver will ever connect to.
withNumberOfSignificantValueDigits(int) - Method in class com.datastax.driver.core.PerHostPercentileTracker.Builder
Sets the number of significant decimal digits to which histograms will maintain value resolution and separation.
withoutJMXReporting() - Method in class com.datastax.driver.core.Cluster.Builder
Disables JMX reporting of the metrics.
withoutMetrics() - Method in class com.datastax.driver.core.Cluster.Builder
Disables metrics collection for the created cluster (metrics are enabled by default otherwise).
withPoolingOptions(PoolingOptions) - Method in class com.datastax.driver.core.Cluster.Builder
Sets the PoolingOptions to use for the newly created Cluster.
withPort(int) - Method in class com.datastax.driver.core.Cluster.Builder
The port to use to connect to the Cassandra host.
withProtocolVersion(int) - Method in class com.datastax.driver.core.Cluster.Builder
The native protocol version to use.
withQueryOptions(QueryOptions) - Method in class com.datastax.driver.core.Cluster.Builder
Sets the QueryOptions to use for the newly created Cluster.
withReconnectionPolicy(ReconnectionPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
Configures the reconnection policy to use for the new cluster.
withRetryPeriod(long, TimeUnit) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
Sets the retry period for the resulting latency aware policy.
withRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
Configures the retry policy to use for the new cluster.
withScale(long, TimeUnit) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
Sets the scale to use for the resulting latency aware policy.
withSocketOptions(SocketOptions) - Method in class com.datastax.driver.core.Cluster.Builder
Sets the SocketOptions to use for the newly created Cluster.
withSpeculativeExecutionPolicy(SpeculativeExecutionPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
Configures the speculative execution policy to use for the new cluster.
withSSL() - Method in class com.datastax.driver.core.Cluster.Builder
Enables the use of SSL for the created Cluster.
withSSL(SSLOptions) - Method in class com.datastax.driver.core.Cluster.Builder
Enable the use of SSL for the created Cluster using the provided options.
withUpdateRate(long, TimeUnit) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
Sets the update rate for the resulting latency aware policy.
withUsedHostsPerRemoteDc(int) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy.Builder
Sets the number of hosts per remote datacenter that the policy should consider.
writeTime(String) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
Selects the write time of provided column.
writeTime(String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
Selects the write time of provided column.
WriteTimeoutException - Exception in com.datastax.driver.core.exceptions
A Cassandra timeout during a write query.
WriteTimeoutException(ConsistencyLevel, WriteType, int, int) - Constructor for exception com.datastax.driver.core.exceptions.WriteTimeoutException
This constructor should only be used internally by the driver when decoding error responses.
WriteTimeoutException(InetSocketAddress, ConsistencyLevel, WriteType, int, int) - Constructor for exception com.datastax.driver.core.exceptions.WriteTimeoutException
 
WriteType - Enum in com.datastax.driver.core
The type of a Cassandra write query.
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2012–2015. All rights reserved.