- 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.
- 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.
- 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 interface com.datastax.driver.core.Row
-
Returns the i
th 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.
- getBytes(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th 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 interface com.datastax.driver.core.Row
-
Returns the i
th 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.
- getCluster() - Method in interface 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.
- getClusteringOrder() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the clustering order for this table.
- 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.
- 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.
- 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 interface com.datastax.driver.core.Row
-
Returns the i
th 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 interface com.datastax.driver.core.Row
-
Returns the i
th 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.
- 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 interface com.datastax.driver.core.Row
-
Returns the i
th 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.
- 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 interface com.datastax.driver.core.ResultSet
-
Returns information on the execution of this query.
- getFloat(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th 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.
- 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.
- getIndexOf(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
The index in this metadata of the povided column name, if present.
- getInet(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th 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.
- getInt(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th 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
-
- 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 i
th 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).
- 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 interface com.datastax.driver.core.Row
-
Returns the i
th 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 interface com.datastax.driver.core.Row
-
Returns the i
th 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.
- getMap(int, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th 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.
- 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.
- 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
-
- 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 i
th 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.
- 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.
- 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.
- 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.
- 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.
- 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
-
- 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.PreparedStatement
-
Returns the retry policy sets for this prepared statement, if any.
- 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.
- 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
-
- getSet(int, Class<T>) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th 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.
- 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.
- getStats(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot
-
The Stats
object for a given host.
- getString(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th 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 i
th 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 i
th 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 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 interface com.datastax.driver.core.Row
-
Returns the i
th 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.
- getVariables() - Method in class com.datastax.driver.core.PreparedStatement
-
Returns metadata on the bounded variables of this prepared statement.
- getVarint(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th 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.
- 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.
- 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 - Interface 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 i
th 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 i
th 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 i
th 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 i
th 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 i
th 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 i
th 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 i
th 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 i
th 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 i
th 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 i
th 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 i
th 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 i
th 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.
- 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
-
- setRetryPolicy(RetryPolicy) - Method in class 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.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 i
th 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 i
th 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 i
th 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 i
th 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 interface com.datastax.driver.core.Session
-
Shuts down this session instance.
- shutdown(long, TimeUnit) - Method in interface 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
-
- 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
-
Creates a new 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
-
- 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.
- 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<InetAddress>) - Constructor for class com.datastax.driver.core.policies.WhiteListPolicy
-
Create a new policy that wraps the provided child policy but only "allow" hosts
from the provided while list.
- 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.
- withDeferredInitialization() - Method in class com.datastax.driver.core.Cluster.Builder
-
Defer the initialization of the created cluster.
- withExclusionThreshold(double) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
-
Sets the exclusion threshold to use for the resulting latency aware policy.
- withLoadBalancingPolicy(LoadBalancingPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
-
Configures the load balancing policy to use for the new cluster.
- withMininumMeasurements(int) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
-
Sets the minimimum number of measurements per-host to consider for
the resulting latency aware policy.
- 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
-
Set 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.
- 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
-
Set the SocketOptions to use for the newly created 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.
- 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.