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

A

add(Statement) - Method in class com.datastax.driver.core.querybuilder.Batch
Adds a new statement to this batch.
add(Statement) - 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(String, Set<?>) - 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(InetAddress...) - Method in class com.datastax.driver.core.Cluster.Builder
Adds contact points.
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.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.
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
 
and(Using) - Method in class com.datastax.driver.core.querybuilder.Batch.Options
Adds the provided option.
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(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.
appendAll(String, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Append a list of values to a list column.
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
 
AuthenticationException - Exception in com.datastax.driver.core.exceptions
Indicates an error during the authentication phase while connecting to a node.
AuthenticationException(InetAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.AuthenticationException
 

B

Batch - Class in com.datastax.driver.core.querybuilder
A built BATCH statement.
batch(Statement...) - 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.
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.PreparedStatement
Creates a new BoundStatement object and bind its variables to the provided values.
bindMarker() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
An object representing a bind marker (a question mark).
blob() - Static method in class com.datastax.driver.core.DataType
Returns the BLOB type.
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.
builder() - Static method in class com.datastax.driver.core.Cluster
Creates a new Cluster.Builder instance.
buildFrom(Cluster.Initializer) - Static method in class com.datastax.driver.core.Cluster
Build a new cluster based on the provided initializer.
buildQueryString() - Method in class com.datastax.driver.core.querybuilder.Batch
 
buildQueryString() - Method in class com.datastax.driver.core.querybuilder.Delete
 
buildQueryString() - Method in class com.datastax.driver.core.querybuilder.Insert
 
buildQueryString() - Method in class com.datastax.driver.core.querybuilder.Select
 
buildQueryString() - Method in class com.datastax.driver.core.querybuilder.Update
 

C

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.
cint() - Static method in class com.datastax.driver.core.DataType
Returns the INT type.
Clause - Class in com.datastax.driver.core.querybuilder
 
Cluster - Class in com.datastax.driver.core
information and known state of a Cassandra cluster.
Cluster.Builder - Class in com.datastax.driver.core
Helper class to build Cluster instances.
Cluster.Builder() - Constructor for class com.datastax.driver.core.Cluster.Builder
 
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.
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.
columnNames - Variable in class com.datastax.driver.core.querybuilder.Delete.Builder
 
columnNames - Variable in class com.datastax.driver.core.querybuilder.Select.Builder
 
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
 
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) - 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.
connect(String) - Method in class com.datastax.driver.core.Cluster
Creates a new session on this cluster and sets the keyspace to the provided one.
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.
contains(String) - Method in class com.datastax.driver.core.ColumnDefinitions
Returns whether this metadata contains a given column.
copy() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
 
copy() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
 
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.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.ReadTimeoutException
 
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() - Method in exception com.datastax.driver.core.exceptions.WriteTimeoutException
 
countAll() - Method in class com.datastax.driver.core.querybuilder.Select.Selection
Selects the count of all returned rows (i.e.
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(String) - Constructor for class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
Creates a new datacenter aware round robin policy given the name of the local datacenter.
DCAwareRoundRobinPolicy(String, int) - Constructor for class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
Creates a new DCAwareRoundRobin policy given the name of the local datacenter and that uses the provided number of host per remote datacenter as failover for the local hosts.
Debug - Class in com.datastax.driver.core
 
Debug() - Constructor for class com.datastax.driver.core.Debug
 
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.
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.datastax.driver.core.SocketOptions
 
DEFAULT_PORT - Static variable in class com.datastax.driver.core.ProtocolOptions
The default port for Cassandra native binary protocol: 9042.
DEFAULT_SSL_CIPHER_SUITES - Static variable in class com.datastax.driver.core.SSLOptions
The default SSL cipher suites.
defaultLoadBalancingPolicy() - Static method in class com.datastax.driver.core.policies.Policies
The default load balancing policy.
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.
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.Builder() - Constructor for class com.datastax.driver.core.querybuilder.Delete.Builder
 
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.Selection() - Constructor for class com.datastax.driver.core.querybuilder.Delete.Selection
 
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.Query
Disables tracing for this query.
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.
distance(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
Return 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.
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.
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
 

E

enableTracing() - Method in class com.datastax.driver.core.Query
Enables tracing for this query.
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.DataType
 
equals(Object) - Method in class com.datastax.driver.core.Host
 
execute(String) - Method in class com.datastax.driver.core.Session
Executes the provided query.
execute(Query) - Method in class com.datastax.driver.core.Session
Executes the provided query.
executeAsync(String) - Method in class com.datastax.driver.core.Session
Executes the provided query asynchronously.
executeAsync(Query) - Method in class 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

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.
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.

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 class com.datastax.driver.core.Host
Returns the node address.
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.
getAllHosts() - Method in class com.datastax.driver.core.Metadata
Returns the known hosts of this cluster.
getBaseDelayMs() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
The base delay in milliseconds for this policy (e.g.
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.Row
Returns the ith value of this row as a boolean.
getBool(String) - Method in class com.datastax.driver.core.Row
Returns the value of column name as a boolean.
getBytes(int) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as a byte array.
getBytes(String) - Method in class com.datastax.driver.core.Row
Returns the value of column name as a byte array.
getBytesUnsafe(int) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as a ByteBuffer.
getBytesUnsafe(String) - Method in class 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.
getCluster() - Method in class com.datastax.driver.core.Session
Returns the Cluster object this session is part of.
getClusteringKey() - Method in class com.datastax.driver.core.TableMetadata
Returns the list of columns composing the clustering key for this table.
getClusterName() - Method in class com.datastax.driver.core.Metadata
Returns 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 class com.datastax.driver.core.ResultSet
Returns the columns returned in this ResultSet.
getColumnDefinitions() - Method in class 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.
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
Returns the connection timeout in milliseconds.
getConsistency() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
The consistency level of the operation triggering this unavailable exception.
getConsistencyLevel() - Method in exception com.datastax.driver.core.exceptions.QueryTimeoutException
The consistency level of the operation that time outed.
getConsistencyLevel() - Method in class com.datastax.driver.core.PreparedStatement
getConsistencyLevel() - Method in class com.datastax.driver.core.Query
Returns the consistency level.
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.
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.Row
Returns the ith value of this row as a date.
getDate(String) - Method in class com.datastax.driver.core.Row
Returns the value of column name as a date.
getDecimal(int) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as a variable length decimal.
getDecimal(String) - Method in class com.datastax.driver.core.Row
Returns the value of column name as a variable length decimal.
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.Row
Returns the ith value of this row as a double.
getDouble(String) - Method in class com.datastax.driver.core.Row
Returns the value of column name as a double.
getDurationMicros() - Method in class com.datastax.driver.core.QueryTrace
Returns the server-side duration of the query in microseconds.
getErrorMetrics() - Method in class com.datastax.driver.core.Metrics
Returns an object regrouping metrics related to the errors encountered.
getErrors() - Method in exception com.datastax.driver.core.exceptions.NoHostAvailableException
Return the hosts tried along with descriptions of 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 class com.datastax.driver.core.ResultSet
Returns information on the execution of this query.
getFloat(int) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as a float.
getFloat(String) - Method in class 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.
getHost() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
The host for which the authentication failed.
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.
getIndex() - Method in class com.datastax.driver.core.ColumnMetadata
Returns the indexing metadata on this column if the column is indexed.
getIndexedColumn() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
Returns the column this index metadata refers to.
getInet(int) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as an InetAddress.
getInet(String) - Method in class com.datastax.driver.core.Row
Returns the value of column name as an InetAddress.
getInt(int) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as an integer.
getInt(String) - Method in class com.datastax.driver.core.Row
Returns the value of column name as an integer.
getKeepAlive() - Method in class com.datastax.driver.core.SocketOptions
 
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 column 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.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).
getList(int, Class<T>) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as a list.
getList(String, Class<T>) - Method in class 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.
getLong(int) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as a long.
getLong(String) - Method in class com.datastax.driver.core.Row
Returns the value of column name as a long.
getMap(int, Class<K>, Class<V>) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as a map.
getMap(String, Class<K>, Class<V>) - Method in class 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.
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.
getMetadata() - Method in class com.datastax.driver.core.Cluster
Returns read-only metadata on the connected cluster.
getMetrics() - Method in class com.datastax.driver.core.Cluster
The cluster metrics.
getMetricsOptions() - Method in class com.datastax.driver.core.Configuration
Returns the metrics configuration, if metrics are enabled.
getMinSimultaneousRequestsPerConnectionThreshold(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
Returns the number of simultaneous requests on a connection below which connections in excess are reclaimed.
getMonitor() - Method in class com.datastax.driver.core.Host
Returns the health monitor for this host.
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.
getOpenConnections() - Method in class com.datastax.driver.core.Metrics
Returns the total number of currently opened connections to Cassandra hosts.
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.
getParameters() - Method in class com.datastax.driver.core.QueryTrace
Returns the parameters attached to this trace.
getPartitionKey() - Method in class com.datastax.driver.core.TableMetadata
Returns the list of columns composing the partition key for this table.
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.
getPort() - Method in class com.datastax.driver.core.ProtocolOptions
Returns the port used to connect to the Cassandra hosts.
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).
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.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).
getQueryString() - Method in class 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.SimpleStatement
Returns the query string.
getQueryString() - Method in class com.datastax.driver.core.Statement
Returns the query string for this statement.
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.
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
 
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.
getReconnectionPolicy() - Method in class com.datastax.driver.core.policies.Policies
The reconnection policy in use.
getRegistry() - Method in class com.datastax.driver.core.Metrics
Returns the registry containing all metrics.
getReplicas(ByteBuffer) - Method in class com.datastax.driver.core.Metadata
Returns the set of hosts that are replica for a given partition key.
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.
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.policies.Policies
The retry policy in use.
getRetryPolicy() - Method in class com.datastax.driver.core.Query
Returns the retry policy sets for this query, if any.
getReuseAddress() - Method in class com.datastax.driver.core.SocketOptions
 
getRoutingKey() - Method in class com.datastax.driver.core.BoundStatement
The routing key for this bound query.
getRoutingKey() - Method in class com.datastax.driver.core.Query
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.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.SimpleStatement
Returns the routing key for the query.
getSendBufferSize() - Method in class com.datastax.driver.core.SocketOptions
 
getSet(int, Class<T>) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as a set.
getSet(String, Class<T>) - Method in class com.datastax.driver.core.Row
Returns the value of column name as a set.
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
 
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.
getStartedAt() - Method in class com.datastax.driver.core.QueryTrace
Returns the server-side timestamp of the start of this query.
getString(int) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as a string.
getString(String) - Method in class 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 column 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.
getTables() - Method in class com.datastax.driver.core.KeyspaceMetadata
Returns the tables defined in this keyspace.
getTcpNoDelay() - Method in class com.datastax.driver.core.SocketOptions
 
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.
getTraceId() - Method in class com.datastax.driver.core.QueryTrace
Returns the identifier of this trace.
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 column 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.
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 class com.datastax.driver.core.ResultSetFuture
Waits for the query to return and return its result.
getUninterruptibly(long, TimeUnit) - Method in class 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.Row
Returns the ith value of this row as a UUID.
getUUID(String) - Method in class com.datastax.driver.core.Row
Returns the value of column name as a UUID.
getVariables() - Method in class com.datastax.driver.core.PreparedStatement
Returns metadata on the bounded variables of this prepared statement.
getVarint(int) - Method in class com.datastax.driver.core.Row
Returns the ith value of this row as a variable length integer.
getVarint(String) - Method in class 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.
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.

H

hashCode() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
 
hashCode() - Method in class com.datastax.driver.core.DataType
 
hashCode() - Method in class com.datastax.driver.core.Host
 
Host - Class in com.datastax.driver.core
A Cassandra node.
Host.HealthMonitor - Class in com.datastax.driver.core
Tracks the health of a node and notify listeners when a host is considered up or down.
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).

I

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.
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.
inet() - Static method in class com.datastax.driver.core.DataType
Returns the INET type.
init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
 
init(Cluster, Collection<Host>) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
Initialize this load balancing policy.
init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
 
init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
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
 
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
 
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
 
InvalidTypeException - Exception in com.datastax.driver.core.exceptions
 
InvalidTypeException(String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidTypeException
 
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.
isDurableWrites() - Method in class com.datastax.driver.core.KeyspaceMetadata
Returns whether durable writes are set on this keyspace.
isExhausted() - Method in class com.datastax.driver.core.ResultSet
Returns whether this ResultSet has more results.
isJMXReportingEnabled() - Method in class com.datastax.driver.core.MetricsOptions
Returns whether JMX reporting is enabled (the default).
isNull(int) - Method in class com.datastax.driver.core.Row
Returns whether the ith value of this row is NULL.
isNull(String) - Method in class com.datastax.driver.core.Row
Returns whether the value for column name in this row is NULL.
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.
isTracing() - Method in class com.datastax.driver.core.Query
Returns whether tracing is enabled for this query or not.
isUp() - Method in class com.datastax.driver.core.Host.HealthMonitor
Returns whether the host is considered up by this monitor.
iterator() - Method in class com.datastax.driver.core.ColumnDefinitions
Returns an iterator over the ColumnDefinitions.Definition contained in this metadata.
iterator() - Method in class com.datastax.driver.core.ResultSet
Returns an iterator over the rows contained in this ResultSet.

K

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

limit(int) - Method in class com.datastax.driver.core.querybuilder.Select
Adds a 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.
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.
LoadBalancingPolicy - Interface in com.datastax.driver.core.policies
The policy that decides which Cassandra hosts to contact for each new query.
logger - Static variable in class com.datastax.driver.core.Debug
 
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.
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.
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.

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.
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.
Metrics.Errors() - Constructor for class com.datastax.driver.core.Metrics.Errors
 
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.

N

name - Variable in class com.datastax.driver.core.querybuilder.Assignment
 
name - Variable in class com.datastax.driver.core.querybuilder.Clause
 
newQueryPlan(Query) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
Returns the hosts to use for a new query.
newQueryPlan(Query) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
Returns the hosts to use for a new query.
newQueryPlan(Query) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
Returns the hosts to use for a new query.
newQueryPlan(Query) - 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.
nextDelayMs() - Method in interface com.datastax.driver.core.policies.ReconnectionPolicy.ReconnectionSchedule
When to attempt the next reconnection.
NoHostAvailableException - Exception in com.datastax.driver.core.exceptions
Exception thrown when a query cannot be performed because no host are available.
NoHostAvailableException(Map<InetAddress, String>) - Constructor for exception com.datastax.driver.core.exceptions.NoHostAvailableException
 

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.RoundRobinPolicy
 
onAdd(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
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.RoundRobinPolicy
 
onDown(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
one() - Method in class com.datastax.driver.core.ResultSet
Returns the the next result from this ResultSet.
onReadTimeout(Query, 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(Query, 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(Query, 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(Query, ConsistencyLevel, int, int, boolean, int) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
 
onReadTimeout(Query, 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.
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.RoundRobinPolicy
 
onRemove(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
onUnavailable(Query, 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(Query, 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(Query, 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(Query, ConsistencyLevel, int, int, int) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
 
onUnavailable(Query, 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.
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.RoundRobinPolicy
 
onUp(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
 
onWriteTimeout(Query, 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(Query, 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(Query, 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(Query, ConsistencyLevel, WriteType, int, int, int) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
 
onWriteTimeout(Query, 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
 

P

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.
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) - Constructor for class com.datastax.driver.core.policies.Policies
Creates a new Policies object using the provided policies.
poolingOptions() - Method in class com.datastax.driver.core.Cluster.Builder
Return the pooling options used by this builder.
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.Session
Prepares the provided query.
preparedStatement() - Method in class com.datastax.driver.core.BoundStatement
Returns the prepared statement on which this BoundStatement is based.
PreparedStatement - Class 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.
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 (and without SSL).
ProtocolOptions(int, SSLOptions) - 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.

Q

Query - Class in com.datastax.driver.core
An executable query.
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
 
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
 
QueryTimeoutException(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.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
Creates a raw string value.
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
 
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.
register(Host.StateListener) - Method in class com.datastax.driver.core.Host.HealthMonitor
Registers the provided listener to be notified on up/down events.
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.
ResultSet - Class in com.datastax.driver.core
The result of a query.
ResultSetFuture - Class 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 - Class in com.datastax.driver.core
A CQL Row returned in a ResultSet.

S

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.Builder() - Constructor for class com.datastax.driver.core.querybuilder.Select.Builder
 
Select.Selection - Class in com.datastax.driver.core.querybuilder
An Selection clause for an in-construction SELECT statement.
Select.Selection() - Constructor for class com.datastax.driver.core.querybuilder.Select.Selection
 
Select.Where - Class in com.datastax.driver.core.querybuilder
The WHERE clause of a SELECT statement.
serialize(Object) - Method in class com.datastax.driver.core.DataType
Serialize a value of this type to bytes.
Session - Class in com.datastax.driver.core
A session holds connections to a Cassandra cluster, allowing it to be queried.
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
Set the ith value to the provided boolean.
setBool(String, boolean) - Method in class com.datastax.driver.core.BoundStatement
Set the value for the first occurrence of column 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 the first occurrence of column 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 the first occurrence of column name to the provided byte buffer.
setCompression(ProtocolOptions.Compression) - Method in class com.datastax.driver.core.ProtocolOptions
Sets the compression to use.
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.PreparedStatement
Sets a default consistency level for all bound statements created from this prepared statement.
setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.Query
Sets the consistency level for the query.
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 the first occurrence of column 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 the first occurrence of column name to the provided big decimal.
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 the first occurrence of column name to the provided double.
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 the first occurrence of column name to the provided float.
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 the first occurrence of column name to the provided inet address.
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
Set the value for the first occurrence of column name to the provided integer.
setKeepAlive(boolean) - Method in class com.datastax.driver.core.SocketOptions
 
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 the first occurrence of column name to the provided list.
setLong(int, long) - Method in class com.datastax.driver.core.BoundStatement
Set the ith value to the provided long.
setLong(String, long) - Method in class com.datastax.driver.core.BoundStatement
Set the value for the first occurrence of column 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 the first occurrence of column name to the provided map.
setMaxConnectionsPerHost(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
Sets the maximum number of connections per host.
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.
setMinSimultaneousRequestsPerConnectionThreshold(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
Sets the number of simultaneous requests on a connection below which connections in excess are reclaimed.
setReceiveBufferSize(int) - Method in class com.datastax.driver.core.SocketOptions
 
setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.Query
Sets the retry policy to use for this query.
setReuseAddress(boolean) - Method in class com.datastax.driver.core.SocketOptions
 
setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.PreparedStatement
Sets the routing key for this prepared statement.
setRoutingKey(ByteBuffer...) - Method in class 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
 
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 the first occurrence of column name to the provided set.
setSoLinger(int) - Method in class com.datastax.driver.core.SocketOptions
 
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 the first occurrence of column name to the provided string.
setTcpNoDelay(boolean) - Method in class com.datastax.driver.core.SocketOptions
 
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 the first occurrence of column 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 the first occurrence of column name to the provided big integer.
shutdown() - Method in class com.datastax.driver.core.Cluster
Shuts down this cluster instance.
shutdown(long, TimeUnit) - Method in class com.datastax.driver.core.Cluster
Shutdown this cluster instance, only waiting a definite amount of time.
shutdown() - Method in class com.datastax.driver.core.Session
Shuts down this session instance.
shutdown(long, TimeUnit) - Method in class com.datastax.driver.core.Session
Shutdown this session instance, only waiting a definite amount of time.
SimpleStatement - Class in com.datastax.driver.core
A simple Statement 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.
size() - Method in class com.datastax.driver.core.ColumnDefinitions
Returns the number of columns described by this Columns instance.
socketOptions() - Method in class com.datastax.driver.core.Cluster.Builder
Returns the socket options used by this builder.
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.
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
A non-prepared CQL statement.
Statement() - Constructor for class com.datastax.driver.core.Statement
 
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
 

T

TableMetadata - Class in com.datastax.driver.core
Describes a Table.
TableMetadata.Options - Class in com.datastax.driver.core
 
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.
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).
timeuuid() - Static method in class com.datastax.driver.core.DataType
Returns the TIMEUUID type.
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.
TokenAwarePolicy - Class in com.datastax.driver.core.policies
A wrapper load balancing policy that add token awareness to a child policy.
TokenAwarePolicy(LoadBalancingPolicy) - Constructor for class com.datastax.driver.core.policies.TokenAwarePolicy
Creates a new TokenAware policy that wraps the provided child load balancing policy.
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.policies.RetryPolicy.RetryDecision
 
toString() - Method in enum com.datastax.driver.core.ProtocolOptions.Compression
 
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.ResultSet
 
toString() - Method in class com.datastax.driver.core.Row
 
toString() - Method in class com.datastax.driver.core.Statement
 
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
 
TruncateException - Exception in com.datastax.driver.core.exceptions
Error during a truncation operation.
TruncateException(String) - Constructor for exception com.datastax.driver.core.exceptions.TruncateException
 
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(String) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
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
 
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
 
unixTimestamp(UUID) - Static method in class com.datastax.driver.core.utils.UUIDs
Return the unix timestamp contained by the provided time-based UUID.
unloggedBatch(Statement...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
Built a new UNLOGGED BATCH query on the provided statements.
unregister(Host.StateListener) - Method in class com.datastax.driver.core.Host.HealthMonitor
Unregisters a given provided listener.
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.Assignments - Class in com.datastax.driver.core.querybuilder
The assignments of an UPDATE statement.
Update.Options - Class in com.datastax.driver.core.querybuilder
The options of a UDPATE 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
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
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.
UUIDs - Class in com.datastax.driver.core.utils
Utility methods to work with UUID and most specifically with time-based ones (version 1).
UUIDs() - Constructor for class com.datastax.driver.core.utils.UUIDs
 

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.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.WriteType
Returns the enum constant of this type with the specified name.
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() - 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.
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.

W

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.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.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.
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.
withCompression(ProtocolOptions.Compression) - Method in class com.datastax.driver.core.Cluster.Builder
Sets the compression to use for the transport.
withCredentials(String, String) - Method in class com.datastax.driver.core.Cluster.Builder
Uses the provided credentials when connecting to Cassandra hosts.
withLoadBalancingPolicy(LoadBalancingPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
Configures the load balancing policy to use for the new cluster.
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).
withPort(int) - Method in class com.datastax.driver.core.Cluster.Builder
The port to use to connect to the Cassandra host.
withReconnectionPolicy(ReconnectionPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
Configures the reconnection policy to use for the new cluster.
withRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
Configures the retry 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.
writeTime(String) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
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
 
WriteType - Enum in com.datastax.driver.core
The type of a Cassandra write query.
A B C D E F G H I K L M N O P Q R S T U V W 

Copyright © 2013. All Rights Reserved.