- getAchievedConsistencyLevel() - Method in class com.datastax.driver.core.ExecutionInfo
-
If the query returned without achieving the requested consistency level
due to the
RetryPolicy
, this
return the biggest consistency level that has been actually achieved by
the query.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in interface com.datastax.driver.core.exceptions.CoordinatorException
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.InvalidQueryException
-
- getAddress() - Method in exception com.datastax.driver.core.exceptions.OverloadedException
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.ProtocolError
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.QueryTimeoutException
-
The full address of the coordinator host that caused this exception to be thrown.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.ServerError
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.SyntaxError
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.TruncateException
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnauthorizedException
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
-
The full address of the coordinator host that caused this exception to be raised.
- getAddress() - Method in class com.datastax.driver.core.Host
-
Returns the node address.
- getAddressTranslater() - Method in class com.datastax.driver.core.policies.Policies
-
The address translater in use.
- getAliveReplicas() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
The number of replica that were known to be alive by the Cassandra
coordinator node when it tried to execute the operation.
- getAllExecutionInfo() - Method in interface com.datastax.driver.core.ResultSet
-
Return the execution information for all queries made to retrieve this
ResultSet.
- getAllHosts() - Method in class com.datastax.driver.core.Metadata
-
Returns the known hosts of this cluster.
- getAllStats() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot
-
A map with the stats for all hosts tracked by the LatencyAwarePolicy
at the time of the snapshot.
- getArray(ByteBuffer) - Static method in class com.datastax.driver.core.utils.Bytes
-
Extract the content of the provided ByteBuffer
as a byte array.
- getAuthProvider() - Method in class com.datastax.driver.core.ProtocolOptions
-
The AuthProvider
used by this cluster.
- getAvailableWithoutFetching() - Method in interface com.datastax.driver.core.ResultSet
-
The number of rows that can be retrieved from this result set without
blocking to fetch.
- getBaseDelayMs() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
The base delay in milliseconds for this policy (e.g.
- getBlockingExecutorQueueDepth() - Method in class com.datastax.driver.core.Metrics
-
- getBloomFilterFalsePositiveChance() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the false positive chance for the Bloom filter of this table.
- getBool(int) - Method in class com.datastax.driver.core.BoundStatement
-
- getBool(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getBool(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a boolean.
- getBool(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a boolean.
- getBool(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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.
- getBuildLabel() - Method in class com.datastax.driver.core.VersionNumber
-
The build label if there is one.
- getBytes(int) - Method in class com.datastax.driver.core.BoundStatement
-
- getBytes(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getBytes(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a byte array.
- getBytes(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a byte array.
- getBytes(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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 class com.datastax.driver.core.BoundStatement
-
- getBytesUnsafe(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getBytesUnsafe(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a ByteBuffer.
- getBytesUnsafe(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a ByteBuffer.
- getBytesUnsafe(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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.
- getCassandraVersion() - Method in class com.datastax.driver.core.Host
-
The Cassandra version the host is running.
- getChildPolicy() - Method in interface com.datastax.driver.core.policies.ChainableLoadBalancingPolicy
-
Returns the child policy.
- getChildPolicy() - Method in class com.datastax.driver.core.policies.HostFilterPolicy
-
- getChildPolicy() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
-
- getChildPolicy() - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
-
- getCluster() - Method in interface com.datastax.driver.core.Session
-
Returns the Cluster
object this session is part of.
- getClusteringColumns() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the list of clustering columns for this table.
- getClusteringOrder() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the clustering order for this table.
- getClusterName() - Method in class com.datastax.driver.core.Cluster.Builder
-
- getClusterName() - Method in class com.datastax.driver.core.Cluster
-
The name of this cluster object.
- getClusterName() - Method in interface com.datastax.driver.core.Cluster.Initializer
-
An optional name for the created cluster.
- getClusterName() - Method in class com.datastax.driver.core.Metadata
-
The Cassandra name for the cluster connect to.
- getColumn(String) - Method in class com.datastax.driver.core.TableMetadata
-
Returns metadata on a column of this table.
- getColumnDefinitions() - Method in interface com.datastax.driver.core.ResultSet
-
Returns the columns returned in this ResultSet.
- getColumnDefinitions() - Method in interface com.datastax.driver.core.Row
-
Returns the columns contained in this Row.
- getColumns() - Method in class com.datastax.driver.core.TableMetadata
-
Returns a list containing all the columns of this table.
- getComment() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the commentary set for this table.
- getCompaction() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the compaction options for this table.
- getCompression() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the compression used by the protocol.
- getCompression() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the compression options for this table.
- getConfiguration() - Method in class com.datastax.driver.core.Cluster.Builder
-
The configuration that will be used for the new cluster.
- getConfiguration() - Method in class com.datastax.driver.core.Cluster
-
The cluster configuration.
- getConfiguration() - Method in interface com.datastax.driver.core.Cluster.Initializer
-
The configuration to use for the new cluster.
- getConfiguration() - Method in class com.datastax.driver.core.DelegatingCluster
-
- getConnectedHosts() - Method in interface com.datastax.driver.core.Session.State
-
The hosts to which the session is currently connected (more precisely, at the time
this State has been grabbed).
- getConnectedToHosts() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of Cassandra hosts the driver is currently connected to
(that is have at least one connection opened to).
- getConnectionErrors() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of connection to Cassandra nodes errors.
- getConnectTimeoutMillis() - Method in class com.datastax.driver.core.SocketOptions
-
The connection timeout in milliseconds.
- getConsistencyLevel() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getConsistencyLevel() - Method in exception com.datastax.driver.core.exceptions.QueryTimeoutException
-
The consistency level of the operation that time outed.
- getConsistencyLevel() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
The consistency level of the operation triggering this unavailable exception.
- getConsistencyLevel() - Method in interface com.datastax.driver.core.PreparedStatement
-
- getConsistencyLevel() - Method in class com.datastax.driver.core.QueryOptions
-
The default consistency level used by queries.
- getConsistencyLevel() - Method in class com.datastax.driver.core.Statement
-
The consistency level for this query.
- getConsistencyLevel() - Method in class com.datastax.driver.core.StatementWrapper
-
- getConstantDelayMs() - Method in class com.datastax.driver.core.policies.ConstantReconnectionPolicy
-
The constant delay used by this reconnection policy.
- getContactPoints() - Method in class com.datastax.driver.core.Cluster.Builder
-
- getContactPoints() - Method in interface com.datastax.driver.core.Cluster.Initializer
-
Returns the initial Cassandra hosts to connect to.
- getCoordinator() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the coordinator host of the query.
- getCoreConnectionsPerHost(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the core number of connections per host.
- getCustomMessage(int, boolean, boolean) - Method in exception com.datastax.driver.core.exceptions.NoHostAvailableException
-
Builds a custom message for this exception.
- getCustomTypeClassName() - Method in class com.datastax.driver.core.DataType
-
Returns the server-side class name for a custom type.
- getDatacenter() - Method in class com.datastax.driver.core.Host
-
Returns the name of the datacenter this host is part of.
- getDate(int) - Method in class com.datastax.driver.core.BoundStatement
-
- getDate(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getDate(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a date.
- getDate(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a date.
- getDate(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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 class com.datastax.driver.core.BoundStatement
-
- getDecimal(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getDecimal(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a variable length decimal.
- getDecimal(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a variable length decimal.
- getDecimal(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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.
- getDefaultIdempotence() - Method in class com.datastax.driver.core.QueryOptions
-
The default idempotence for queries.
- getDefaultTimeToLive() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the default TTL for this table.
- getDescription() - Method in class com.datastax.driver.core.QueryTrace.Event
-
The event description, that is which activity this event correspond to.
- getDouble(int) - Method in class com.datastax.driver.core.BoundStatement
-
- getDouble(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getDouble(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a double.
- getDouble(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a double.
- getDouble(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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.
- getDriverVersion() - Static method in class com.datastax.driver.core.Cluster
-
Returns the current version of the driver.
- getDSEPatch() - Method in class com.datastax.driver.core.VersionNumber
-
The DSE patch version number (will only be present for version of Cassandra in DSE).
- getDurationMicros() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the server-side duration of the query in microseconds.
- getEnd() - Method in class com.datastax.driver.core.TokenRange
-
Return the end of the range.
- getErrorMetrics() - Method in class com.datastax.driver.core.Metrics
-
Returns an object grouping metrics related to the errors encountered.
- getErrors() - Method in exception com.datastax.driver.core.exceptions.NoHostAvailableException
-
Return the hosts tried along with the error encountered while trying
them.
- getEvents() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the events contained in this trace.
- getExecutionInfo() - Method in interface com.datastax.driver.core.ResultSet
-
Returns information on the execution of the last query made for this ResultSet.
- getExecutorQueueDepth() - Method in class com.datastax.driver.core.Metrics
-
- getFetchSize() - Method in class com.datastax.driver.core.QueryOptions
-
The default fetch size used by queries.
- getFetchSize() - Method in class com.datastax.driver.core.Statement
-
The fetch size for this query.
- getFetchSize() - Method in class com.datastax.driver.core.StatementWrapper
-
- getFloat(int) - Method in class com.datastax.driver.core.BoundStatement
-
- getFloat(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getFloat(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a float.
- getFloat(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a float.
- getFloat(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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.
- getHeartbeatIntervalSeconds() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the heart beat interval, after which a message is sent on an idle connection to make sure it's still alive.
- getHost() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
The coordinator host that caused this exception to be raised.
- getHost() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
-
The coordinator host that caused this exception to be raised.
- getHost() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
-
The coordinator host that caused this exception to be raised.
- getHost() - Method in interface com.datastax.driver.core.exceptions.CoordinatorException
-
The coordinator host that caused this exception to be raised.
- getHost() - Method in exception com.datastax.driver.core.exceptions.InvalidQueryException
-
- getHost() - Method in exception com.datastax.driver.core.exceptions.OverloadedException
-
The coordinator host that caused this exception to be raised.
- getHost() - Method in exception com.datastax.driver.core.exceptions.ProtocolError
-
The coordinator host that caused this exception to be raised.
- getHost() - Method in exception com.datastax.driver.core.exceptions.QueryTimeoutException
-
The coordinator host that caused this exception to be thrown.
- getHost() - Method in exception com.datastax.driver.core.exceptions.ServerError
-
The coordinator host that caused this exception to be raised.
- getHost() - Method in exception com.datastax.driver.core.exceptions.SyntaxError
-
The coordinator host that caused this exception to be raised.
- getHost() - Method in exception com.datastax.driver.core.exceptions.TruncateException
-
The coordinator host that caused this exception to be raised.
- getHost() - Method in exception com.datastax.driver.core.exceptions.UnauthorizedException
-
The coordinator host that caused this exception to be raised.
- getHost() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
The coordinator host that caused this exception to be raised.
- getHost() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
-
The coordinator host that caused this exception to be raised.
- getIdleTimeoutSeconds() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the timeout before an idle connection is removed.
- getIgnores() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored
due to the
RetryPolicy
, for
example due to timeouts or unavailability.
- getIgnoresOnReadTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after a
read timed out.
- getIgnoresOnUnavailable() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after an
unavailable exception.
- getIgnoresOnWriteTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after a
write timed out.
- getIndex() - Method in class com.datastax.driver.core.ColumnMetadata
-
Returns the indexing metadata on this column if the column is indexed.
- getIndexClassName() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
-
The name of the class used to implement the custom index, if it is one.
- getIndexedColumn() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
-
Returns the column this index metadata refers to.
- getIndexInterval() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the index interval option for this table.
- getIndexOf(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
The first index in this metadata of the provided name, if present.
- getInet(int) - Method in class com.datastax.driver.core.BoundStatement
-
- getInet(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getInet(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as an InetAddress.
- getInet(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as an InetAddress.
- getInet(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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.
- getInFlightQueries(Host) - Method in interface com.datastax.driver.core.Session.State
-
The number of queries that are currently being executed though a given host.
- getInitializationExecutor() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the executor to use for connection initialization.
- getInitialListeners() - Method in class com.datastax.driver.core.Cluster.Builder
-
- getInitialListeners() - Method in interface com.datastax.driver.core.Cluster.Initializer
-
Optional listeners to register against the newly created cluster.
- getInitialReconnectionAttemptFuture() - Method in class com.datastax.driver.core.Host
-
- getInitialResponse() - Method in class com.datastax.driver.auth.PrivilegedSaslClient
-
Generate an initial token to start the SASL handshake with server.
- getInt(int) - Method in class com.datastax.driver.core.BoundStatement
-
- getInt(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getInt(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as an integer.
- getInt(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as an integer.
- getInt(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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
-
Returns whether TCP keepalive is enabled.
- getKeyspace() - Method in class com.datastax.driver.core.BatchStatement
-
- getKeyspace() - Method in class com.datastax.driver.core.BoundStatement
-
Returns the keyspace this query operates on.
- getKeyspace() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
-
The name of the keyspace this column is part of.
- getKeyspace(int) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the keyspace of the i
th column in this metadata.
- getKeyspace(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the keyspace of the first occurrence of name
in this metadata.
- getKeyspace() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
The name of keyspace that either already exists or is home to the table
that already exists.
- getKeyspace(String) - Method in class com.datastax.driver.core.Metadata
-
Returns the metadata of a keyspace given its name.
- getKeyspace() - Method in class com.datastax.driver.core.querybuilder.Batch
-
Returns the keyspace of the first statement in this batch.
- getKeyspace() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getKeyspace() - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the keyspace this query operates on.
- getKeyspace() - Method in class com.datastax.driver.core.Statement
-
Returns the keyspace this query operates on.
- getKeyspace() - Method in class com.datastax.driver.core.StatementWrapper
-
- getKeyspace() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the keyspace this table belong to.
- getKeyspaces() - Method in class com.datastax.driver.core.Metadata
-
Returns a list of all the defined keyspaces.
- getKnownHosts() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of Cassandra hosts currently known by the driver (that is
whether they are currently considered up or down).
- getLatencyAtPercentile(Host, double) - Method in class com.datastax.driver.core.PerHostPercentileTracker
-
Returns the request latency for a host at a given percentile.
- getLatencyScore() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
-
The latency score for the host this is the stats of at the time of the snapshot.
- getList(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
- getList(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
- getList(int, Class<T>) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a list.
- getList(String, Class<T>) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a list.
- getList(int, Class<T>) - Method in interface com.datastax.driver.core.Row
-
Returns the 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 class com.datastax.driver.core.BoundStatement
-
- getLong(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getLong(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a long.
- getLong(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a long.
- getLong(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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.
- getMajor() - Method in class com.datastax.driver.core.VersionNumber
-
The major version number.
- getMap(int, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
- getMap(String, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
- getMap(int, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a map.
- getMap(String, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a map.
- getMap(int, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.Row
-
Returns the 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.
- getMaxLoggedParameters() - Method in class com.datastax.driver.core.QueryLogger
-
Return the maximum number of query parameters that can be logged
by the driver.
- getMaxParameterValueLength() - Method in class com.datastax.driver.core.QueryLogger
-
Return the maximum length of a query parameter value that can be logged verbatim
by the driver.
- getMaxPendingRefreshNodeListRequests() - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of node list refresh requests that the control connection can accumulate
before executing them.
- getMaxPendingRefreshNodeRequests() - Method in class com.datastax.driver.core.QueryOptions
-
The maximum number of node refresh requests that the control connection can accumulate
before executing them.
- getMaxPendingRefreshSchemaRequests() - Method in class com.datastax.driver.core.QueryOptions
-
The maximum number of schema refresh requests that the control connection can accumulate
before executing them.
- getMaxQueryStringLength() - Method in class com.datastax.driver.core.QueryLogger
-
Return the maximum length of a CQL query string that can be logged verbatim
by the driver.
- getMaxSchemaAgreementWaitSeconds() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the maximum time to wait for schema agreement before returning from a DDL query.
- getMaxSimultaneousRequestsPerConnectionThreshold(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the number of simultaneous requests on all connections to an host after
which more connections are created.
- getMeasurementsCount() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
-
The number of recorded latency measurements for the host this is the stats of.
- getMemtableFlushPeriodInMs() - Method in class com.datastax.driver.core.TableMetadata.Options
-
- getMetadata() - Method in class com.datastax.driver.core.Cluster
-
Returns read-only metadata on the connected cluster.
- getMetadata() - Method in class com.datastax.driver.core.DelegatingCluster
-
- getMetrics() - Method in class com.datastax.driver.core.Cluster
-
The cluster metrics.
- getMetrics() - Method in class com.datastax.driver.core.DelegatingCluster
-
- getMetricsOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the metrics configuration, if metrics are enabled.
- getMinor() - Method in class com.datastax.driver.core.VersionNumber
-
The minor version number.
- getMinSimultaneousRequestsPerConnectionThreshold(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
- 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.
- getNettyOptions() - Method in class com.datastax.driver.core.Configuration
-
- getObject(int) - Method in class com.datastax.driver.core.BoundStatement
-
- getObject(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getObject(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as the Java type matching its CQL type.
- getObject(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as the Java type matching its CQL type.
- getObject(int) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
Returns the i
th value as the Java type matching its CQL type.
- getObject(int) - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the i
th value as the Java type matching its CQL type.
- getOpenConnections() - Method in class com.datastax.driver.core.Metrics
-
Returns the total number of currently opened connections to Cassandra hosts.
- getOpenConnections(Host) - Method in interface com.datastax.driver.core.Session.State
-
The number of open connections to a given host.
- getOptions() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the options for this table.
- getOthers() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of requests that returned errors not accounted for by
another metric.
- getPagingState() - Method in class com.datastax.driver.core.ExecutionInfo
-
The paging state of the query.
- getPagingState() - Method in class com.datastax.driver.core.StatementWrapper
-
- getPagingStateUnsafe() - Method in class com.datastax.driver.core.ExecutionInfo
-
Returns the "raw" paging state of the query.
- getParameters() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the parameters attached to this trace.
- getPartitioner() - Method in class com.datastax.driver.core.Metadata
-
The partitioner in use as reported by the Cassandra nodes.
- getPartitionKey() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the list of columns composing the partition key for this table.
- getPartitionKeyToken() - Method in interface com.datastax.driver.core.Row
-
Returns the value of the first column containing a
Token
.
- getPatch() - Method in class com.datastax.driver.core.VersionNumber
-
The patch version number.
- getPerHostPercentileLatencyTracker() - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
- getPolicies() - Method in class com.datastax.driver.core.Configuration
-
Returns the policies set for the cluster.
- getPoolingOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the connection pooling configuration.
- getPoolTimeoutMillis() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the timeout when trying to acquire a connection from a host's pool.
- getPopulateIOCacheOnFlush() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Whether the populate I/O cache on flush is set on this table.
- getPort() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the port used to connect to the Cassandra hosts.
- getPreparedId() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getPreparedId() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the prepared Id for this statement.
- getPreReleaseLabels() - Method in class com.datastax.driver.core.VersionNumber
-
The pre-release labels if relevants, i.e.
- getPrimaryKey() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the list of columns composing the primary key for this table.
- getProtocolOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the Cassandra binary protocol level configuration (compression).
- getProtocolVersion() - Method in class com.datastax.driver.core.ProtocolOptions
-
The protocol version used by the Cluster instance.
- getQueriedHost() - Method in class com.datastax.driver.core.ExecutionInfo
-
Return the Cassandra host that coordinated this query.
- getQueryKeyspace() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getQueryKeyspace() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the keyspace at the time that this prepared statement was prepared,
(that is the one on which this statement applies unless it specified a
keyspace explicitly).
- getQueryOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the queries configuration.
- getQueryString() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getQueryString() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the string of the query that was prepared to yield this PreparedStatement
.
- getQueryString() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getQueryString() - Method in class com.datastax.driver.core.RegularStatement
-
Returns the query string for this statement.
- getQueryString() - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the query string.
- getQueryTrace() - Method in class com.datastax.driver.core.ExecutionInfo
-
The query trace if tracing was enabled on this query.
- getRack() - Method in class com.datastax.driver.core.Host
-
Returns the name of the rack this host is part of.
- getReadRepairChance() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the chance with which a read repair is triggered for this table.
- getReadTimeoutMillis() - Method in class com.datastax.driver.core.SocketOptions
-
The per-host read timeout in milliseconds.
- getReadTimeouts() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of read requests that returned a timeout (independently
of the final decision taken by the
RetryPolicy
).
- getReceiveBufferSize() - Method in class com.datastax.driver.core.SocketOptions
-
Returns the hint to the size of the underlying buffers for incoming network I/O.
- getReceivedAcknowledgements() - Method in exception com.datastax.driver.core.exceptions.QueryTimeoutException
-
The number of replica that had acknowledged/responded to the operation
before it time outed.
- getReconnectionAttemptFuture() - Method in class com.datastax.driver.core.Host
-
Returns a ListenableFuture
representing the completion of the reconnection
attempts scheduled after a host is marked DOWN
.
- getReconnectionPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The reconnection policy in use.
- getReconnectionSchedulerQueueSize() - Method in class com.datastax.driver.core.Metrics
-
- getRefreshNodeIntervalMillis() - Method in class com.datastax.driver.core.QueryOptions
-
The default window size in milliseconds used to debounce node refresh requests.
- getRefreshNodeListIntervalMillis() - Method in class com.datastax.driver.core.QueryOptions
-
The default window size in milliseconds used to debounce node list refresh requests.
- getRefreshSchemaIntervalMillis() - Method in class com.datastax.driver.core.QueryOptions
-
The default window size in milliseconds used to debounce schema refresh requests.
- getRegistry() - Method in class com.datastax.driver.core.Metrics
-
Returns the registry containing all metrics.
- getReplicas(String, ByteBuffer) - Method in class com.datastax.driver.core.Metadata
-
Returns the set of hosts that are replica for a given partition key.
- getReplicas(String, TokenRange) - Method in class com.datastax.driver.core.Metadata
-
Returns the set of hosts that are replica for a given token range.
- getReplicateOnWrite() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns whether replicateOnWrite is set for this table.
- getReplication() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the replication options for this keyspace.
- getRequestsTimer() - Method in class com.datastax.driver.core.Metrics
-
Returns metrics on the user requests performed on the Cluster.
- getRequestType() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the type of request.
- getRequiredAcknowledgements() - Method in exception com.datastax.driver.core.exceptions.QueryTimeoutException
-
The minimum number of replica acknowledgements/responses that were
required to fulfill the operation.
- getRequiredReplicas() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
The number of replica acknowledgements/responses required to perform the
operation (with its required consistency level).
- getRetries() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
.
- getRetriesOnReadTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after a
read timed out.
- getRetriesOnUnavailable() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after an
unavailable exception.
- getRetriesOnWriteTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after a
write timed out.
- getRetryConsistencyLevel() - Method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
-
The consistency level for a retry decision.
- getRetryPolicy() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getRetryPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The retry policy in use.
- getRetryPolicy() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the retry policy sets for this prepared statement, if any.
- getRetryPolicy() - Method in class com.datastax.driver.core.Statement
-
Returns the retry policy sets for this query, if any.
- getRetryPolicy() - Method in class com.datastax.driver.core.StatementWrapper
-
- getReuseAddress() - Method in class com.datastax.driver.core.SocketOptions
-
Returns whether reuse-address is enabled.
- getRoutingKey() - Method in class com.datastax.driver.core.BatchStatement
-
- getRoutingKey() - Method in class com.datastax.driver.core.BoundStatement
-
The routing key for this bound query.
- getRoutingKey() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getRoutingKey() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the routing key set for this query.
- getRoutingKey() - Method in class com.datastax.driver.core.querybuilder.Batch
-
Returns the first non-null routing key of the statements in this batch
or null otherwise.
- getRoutingKey() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getRoutingKey() - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the routing key for the query.
- getRoutingKey() - Method in class com.datastax.driver.core.Statement
-
Returns the routing key (in binary raw form) to use for token aware
routing of this query.
- getRoutingKey() - Method in class com.datastax.driver.core.StatementWrapper
-
- getScoresSnapshot() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
-
Returns a snapshot of the scores (latency averages) maintained by this
policy.
- getSendBufferSize() - Method in class com.datastax.driver.core.SocketOptions
-
Returns the hint to the size of the underlying buffers for outgoing network I/O.
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getSerialConsistencyLevel() - Method in interface com.datastax.driver.core.PreparedStatement
-
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.QueryOptions
-
The default serial consistency level used by queries.
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.Statement
-
The serial consistency level for this query.
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.StatementWrapper
-
- getSession() - Method in interface com.datastax.driver.core.Session.State
-
The Session to which this State corresponds to.
- getSet(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
- getSet(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
- getSet(int, Class<T>) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a set.
- getSet(String, Class<T>) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a set.
- getSet(int, Class<T>) - Method in interface com.datastax.driver.core.Row
-
Returns the 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.
- getSlowQueryLatencyThresholdMillis() - Method in class com.datastax.driver.core.QueryLogger.ConstantThresholdQueryLogger
-
Return the threshold in milliseconds beyond which queries are considered 'slow'
and logged as such by the driver.
- getSlowQueryLatencyThresholdPercentile() - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
Return the threshold percentile beyond which queries are considered 'slow'
and logged as such by the driver.
- getSocketAddress() - Method in class com.datastax.driver.core.Host
-
Returns the node socket address.
- getSocketOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the low-level TCP configuration options used (tcpNoDelay, keepAlive, ...).
- getSoLinger() - Method in class com.datastax.driver.core.SocketOptions
-
Returns the linger-on-close timeout.
- getSource() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the address of the host having generated this event.
- getSourceElapsedMicros() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the number of microseconds elapsed on the source when this event
occurred since when the source started handling the query.
- getSpeculativeExecutionPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The speculative execution policy in use.
- getSpeculativeExecutions() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a speculative execution was started
because a previous execution did not complete within the delay
specified by
SpeculativeExecutionPolicy
.
- getSpeculativeRetry() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the speculative retry option for this table.
- getSSLOptions() - Method in class com.datastax.driver.core.ProtocolOptions
-
The SSLOptions
used by this cluster.
- getStart() - Method in class com.datastax.driver.core.TokenRange
-
Return the start of the range.
- getStartedAt() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the server-side timestamp of the start of this query.
- getState() - Method in class com.datastax.driver.core.Host
-
Returns a description of the host's state, as seen by the driver.
- getState() - Method in interface com.datastax.driver.core.Session
-
Return a snapshot of the state of this Session.
- getStatements() - Method in class com.datastax.driver.core.BatchStatement
-
The statements that have been added to this batch so far.
- getStats(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot
-
The Stats
object for a given host.
- getString(int) - Method in class com.datastax.driver.core.BoundStatement
-
- getString(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getString(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a string.
- getString(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a string.
- getString(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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 first occurrence of name
in this metadata.
- getTable() - Method in class com.datastax.driver.core.ColumnMetadata
-
Returns the metadata of the table this column is part of.
- getTable() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
If the failed creation was a table creation, the name of the table that already exists.
- getTable(String) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the metadata for a table contained in this keyspace.
- GettableData - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be retrieved by index (starting at 0), or by name.
- getTables() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the tables defined in this keyspace.
- getTaskSchedulerQueueSize() - Method in class com.datastax.driver.core.Metrics
-
- getTcpNoDelay() - Method in class com.datastax.driver.core.SocketOptions
-
Returns whether Nagle's algorithm is disabled.
- getThreadName() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the name of the thread on which this event occurred.
- getTimestamp() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the server side timestamp of the event.
- getToken(int) - Method in interface com.datastax.driver.core.Row
-
Returns the
i
th value of this row as a
Token
.
- getToken(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column
name
as a
Token
.
- getTokenRanges() - Method in class com.datastax.driver.core.Metadata
-
Returns the token ranges that define data distribution in the ring.
- getTokenRanges(String, Host) - Method in class com.datastax.driver.core.Metadata
-
Returns the token ranges that are replicated on the given host, for the given
keyspace.
- getTokens() - Method in class com.datastax.driver.core.Host
-
Returns the tokens that this host owns.
- getTraceId() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the identifier of this trace.
- getTrashedConnections() - Method in class com.datastax.driver.core.Metrics
-
Returns the total number of currently "trashed" connections to Cassandra hosts.
- getTrashedConnections(Host) - Method in interface com.datastax.driver.core.Session.State
-
The number of "trashed" connections to a given host.
- getTriedHosts() - Method in class com.datastax.driver.core.ExecutionInfo
-
The list of tried hosts for this query.
- getType() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
-
Returns the type of the column.
- getType(int) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the type of the i
th column in this metadata.
- getType(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the type of the first occurrence of name
in this metadata.
- getType() - Method in class com.datastax.driver.core.ColumnMetadata
-
Returns the type of the column.
- getType() - Method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
-
The type of this retry decision.
- getType() - Method in class com.datastax.driver.core.Token
-
Returns the data type of this token's value.
- getTypeArguments() - Method in class com.datastax.driver.core.DataType
-
Returns the type arguments of this type.
- getUnavailables() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of requests that returned an unavailable exception
(independently of the final decision taken by the
RetryPolicy
).
- getUninterruptibly() - Method in interface com.datastax.driver.core.ResultSetFuture
-
Waits for the query to return and return its result.
- getUninterruptibly(long, TimeUnit) - Method in interface com.datastax.driver.core.ResultSetFuture
-
Waits for the provided time for the query to return and return its
result if available.
- getUUID(int) - Method in class com.datastax.driver.core.BoundStatement
-
- getUUID(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getUUID(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a UUID.
- getUUID(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a UUID.
- getUUID(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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.
- getValue() - Method in class com.datastax.driver.core.Token
-
Returns the raw value of this token.
- getValues() - Method in class com.datastax.driver.core.querybuilder.Batch
-
- getValues() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getValues() - Method in class com.datastax.driver.core.RegularStatement
-
The values to use for this statement.
- getValues() - Method in class com.datastax.driver.core.SimpleStatement
-
- getVariables() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getVariables() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns metadata on the bounded variables of this prepared statement.
- getVarint(int) - Method in class com.datastax.driver.core.BoundStatement
-
- getVarint(String) - Method in class com.datastax.driver.core.BoundStatement
-
- getVarint(int) - Method in interface com.datastax.driver.core.GettableData
-
Returns the i
th value as a variable length integer.
- getVarint(String) - Method in interface com.datastax.driver.core.GettableData
-
Returns the value for name
as a variable length integer.
- getVarint(int) - Method in interface com.datastax.driver.core.Row
-
Returns the 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.
- gt(List<String>, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "greater than" where clause for a group of clustering columns.
- gte(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "greater than or equal" where clause stating the provided
column must be greater than or equal to the provided value.
- gte(List<String>, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "greater than or equal" where clause for a group of clustering columns.
- SASL_PROTOCOL_NAME - Static variable in class com.datastax.driver.auth.KerberosAuthenticator
-
- SASL_PROTOCOL_NAME_PROPERTY - Static variable in class com.datastax.driver.auth.KerberosAuthenticator
-
- SchemaChangeListener - Interface in com.datastax.driver.core
-
Interface for objects that are interested in tracking schema change events in the cluster.
- select(String...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Start building a new SELECT query that selects the provided names.
- select() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Start building a new SELECT query.
- Select - Class in com.datastax.driver.core.querybuilder
-
A built SELECT statement.
- Select.Builder - Class in com.datastax.driver.core.querybuilder
-
An in-construction SELECT statement.
- Select.Selection - Class in com.datastax.driver.core.querybuilder
-
An Selection clause for an in-construction SELECT statement.
- Select.SelectionOrAlias - Class in com.datastax.driver.core.querybuilder
-
An Selection clause for an in-construction SELECT statement.
- Select.Where - Class in com.datastax.driver.core.querybuilder
-
The WHERE clause of a SELECT statement.
- Selection() - Constructor for class com.datastax.driver.core.querybuilder.Delete.Selection
-
- Selection() - Constructor for class com.datastax.driver.core.querybuilder.Select.Selection
-
- serialize(Object) - Method in class com.datastax.driver.core.DataType
-
Serialize a value of this type to bytes.
- serializeValue(Object) - Static method in class com.datastax.driver.core.DataType
-
Serialize an object based on its java class.
- ServerError - Exception in com.datastax.driver.core.exceptions
-
Indicates that the contacted host reported un expected error.
- ServerError(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.ServerError
-
- Session - Interface in com.datastax.driver.core
-
A session holds connections to a Cassandra cluster, allowing it to be queried.
- Session.State - Interface in com.datastax.driver.core
-
The state of a Session.
- set(DataType) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of sets of elementType
elements.
- set(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Simple "set" assignment of a value to a column.
- setBool(int, boolean) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided boolean.
- setBool(String, boolean) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided boolean.
- setBytes(int, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided byte buffer.
- setBytes(String, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided byte buffer.
- setBytesUnsafe(int, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided byte buffer.
- setBytesUnsafe(String, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided byte buffer.
- setCompression(ProtocolOptions.Compression) - Method in class com.datastax.driver.core.ProtocolOptions
-
Sets the compression to use.
- setConnectionsPerHost(HostDistance, int, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the core and maximum number of connections per host in one call.
- setConnectTimeoutMillis(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets the connection timeout in milliseconds.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setConsistencyLevel(ConsistencyLevel) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets a default consistency level for all bound statements
created from this prepared statement.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default consistency level to use for queries.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.Statement
-
Sets the consistency level for the query.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.StatementWrapper
-
- setCoreConnectionsPerHost(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the core number of connections per host.
- setDate(int, Date) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided date.
- setDate(String, Date) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided date.
- setDecimal(int, BigDecimal) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided big decimal.
- setDecimal(String, BigDecimal) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided big decimal.
- setDefaultIdempotence(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default idempotence for queries.
- setDouble(int, double) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided double.
- setDouble(String, double) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided double.
- setElt(String, Object) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
-
Deletes the provided set element.
- setElt(String, BindMarker) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
-
Deletes the provided set element,
specified as a bind marker.
- setFetchSize(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default fetch size to use for SELECT queries.
- setFetchSize(int) - Method in class com.datastax.driver.core.Statement
-
Sets the query fetch size.
- setFetchSize(int) - Method in class com.datastax.driver.core.StatementWrapper
-
- setFloat(int, float) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided float.
- setFloat(String, float) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided float.
- setForceNoValues(boolean) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
Allows to force this builder to not generate values (through its getValues()
method).
- setHeartbeatIntervalSeconds(int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the heart beat interval, after which a message is sent on an idle connection to make sure it's still alive.
- setIdempotent(boolean) - Method in class com.datastax.driver.core.Statement
-
Sets whether this statement is idempotent.
- setIdleTimeoutSeconds(int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the timeout before an idle connection is removed.
- setIdx(String, int, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Sets a list column value by index.
- setInet(int, InetAddress) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided inet address.
- setInet(String, InetAddress) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided inet address.
- setInitializationExecutor(Executor) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the executor to use for connection initialization.
- setInt(int, int) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided integer.
- setInt(String, int) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided integer.
- setKeepAlive(boolean) - Method in class com.datastax.driver.core.SocketOptions
-
Sets whether to enable TCP keepalive.
- setKeyspace(String) - Method in class com.datastax.driver.core.SimpleStatement
-
Sets the keyspace this query operates on.
- setList(int, List<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided list.
- setList(String, List<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided list.
- setLong(int, long) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided long.
- setLong(String, long) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided long.
- setMap(int, Map<K, V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided map.
- setMap(String, Map<K, V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided map.
- setMaxConnectionsPerHost(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the maximum number of connections per host.
- setMaxLoggedParameters(int) - Method in class com.datastax.driver.core.QueryLogger
-
Set the maximum number of query parameters that can be logged
by the driver.
- setMaxParameterValueLength(int) - Method in class com.datastax.driver.core.QueryLogger
-
Set the maximum length of a query parameter value that can be logged verbatim
by the driver.
- setMaxPendingRefreshNodeListRequests(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of node list refresh requests that the control connection can accumulate
before executing them.
- setMaxPendingRefreshNodeRequests(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of node refresh requests that the control connection can accumulate
before executing them.
- setMaxPendingRefreshSchemaRequests(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of schema refresh requests that the control connection can accumulate
before executing them.
- setMaxQueryStringLength(int) - Method in class com.datastax.driver.core.QueryLogger
-
Set the maximum length of a CQL query string that can be logged verbatim
by the driver.
- setMaxSimultaneousRequestsPerConnectionThreshold(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets number of simultaneous requests on all connections to an host after
which more connections are created.
- setMetadataEnabled(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Toggle client-side token and schema metadata.
- setMinSimultaneousRequestsPerConnectionThreshold(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
- setPagingState(PagingState) - Method in class com.datastax.driver.core.Statement
-
Sets the paging state.
- setPagingState(PagingState) - Method in class com.datastax.driver.core.StatementWrapper
-
- setPagingStateUnsafe(byte[]) - Method in class com.datastax.driver.core.Statement
-
Sets the paging state.
- setPartitionKeyToken(Token) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable "partition key token
"
to the provided token (this is the name generated by Cassandra for markers
corresponding to a token(...)
call).
- setPassword(String) - Method in class com.datastax.driver.core.PlainTextAuthProvider
-
Changes the password.
- setPerHostPercentileLatencyTracker(PerHostPercentileTracker) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
- setPoolTimeoutMillis(int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the timeout when trying to acquire a connection from a host's pool.
- setPrepareOnAllHosts(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Set whether the driver should prepare statements on all hosts in the cluster.
- setReadTimeoutMillis(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets the per-host read timeout in milliseconds.
- setReceiveBufferSize(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets a hint to the size of the underlying buffers for incoming network I/O.
- setRefreshNodeIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default window size in milliseconds used to debounce node refresh requests.
- setRefreshNodeListIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default window size in milliseconds used to debounce node list refresh requests.
- setRefreshSchemaIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default window size in milliseconds used to debounce node list refresh requests.
- setReprepareOnUp(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Set whether the driver should re-prepare all cached prepared statements on a host
when it marks it back up.
- setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setRetryPolicy(RetryPolicy) - Method in interface com.datastax.driver.core.PreparedStatement
-
Convenience method to set a default retry policy for the BoundStatement
created from this prepared statement.
- setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.Statement
-
Sets the retry policy to use for this query.
- setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.StatementWrapper
-
- setReuseAddress(boolean) - Method in class com.datastax.driver.core.SocketOptions
-
Sets whether to enable reuse-address.
- setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the routing key for this bound statement.
- setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setRoutingKey(ByteBuffer...) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setRoutingKey(ByteBuffer) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets the routing key for this prepared statement.
- setRoutingKey(ByteBuffer...) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets the routing key for this query.
- setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.SimpleStatement
-
Sets the routing key for this query.
- setRoutingKey(ByteBuffer...) - Method in class com.datastax.driver.core.SimpleStatement
-
Sets the routing key for this query.
- setSendBufferSize(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets a hint to the size of the underlying buffers for outgoing network I/O.
- setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.BatchStatement
-
Throws an UnsupportedOperationException
as setting the serial consistency is
currently not supported for protocol batches by Cassandra.
- setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setSerialConsistencyLevel(ConsistencyLevel) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets a default serial consistency level for all bound statements
created from this prepared statement.
- setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default serial consistency level to use for queries.
- setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.Statement
-
Sets the serial consistency level for the query.
- setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.StatementWrapper
-
- setSet(int, Set<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided set.
- setSet(String, Set<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided set.
- setSlowQueryLatencyThresholdMillis(long) - Method in class com.datastax.driver.core.QueryLogger.ConstantThresholdQueryLogger
-
Set the threshold in milliseconds beyond which queries are considered 'slow'
and logged as such by the driver.
- setSlowQueryLatencyThresholdPercentile(double) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
Set the threshold percentile beyond which queries are considered 'slow'
and logged as such by the driver.
- setSoLinger(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets the linger-on-close timeout.
- setString(int, String) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided string.
- setString(String, String) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided string.
- setTcpNoDelay(boolean) - Method in class com.datastax.driver.core.SocketOptions
-
Sets whether to disable Nagle's algorithm.
- setToken(int, Token) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
i
th value to the provided
Token
.
- setToken(String, Token) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided token.
- setUsername(String) - Method in class com.datastax.driver.core.PlainTextAuthProvider
-
Changes the user name.
- setUUID(int, UUID) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided UUID.
- setUUID(String, UUID) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided UUID.
- setVarint(int, BigInteger) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided big integer.
- setVarint(String, BigInteger) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided big integer.
- SimpleStatement - Class in com.datastax.driver.core
-
A simple RegularStatement
implementation built directly from a query
string.
- SimpleStatement(String) - Constructor for class com.datastax.driver.core.SimpleStatement
-
Creates a new SimpleStatement
with the provided query string (and no values).
- SimpleStatement(String, Object...) - Constructor for class com.datastax.driver.core.SimpleStatement
-
Creates a new SimpleStatement
with the provided query string and values.
- size() - Method in class com.datastax.driver.core.BatchStatement
-
Returns the number of elements in this batch.
- size() - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the number of columns described by this Columns
instance.
- SLOW_LOGGER - Static variable in class com.datastax.driver.core.QueryLogger
-
The logger used to log slow queries, i.e., queries that completed successfully
but whose execution time exceeded a configurable threshold in milliseconds.
- SocketOptions - Class in com.datastax.driver.core
-
Options to configure low-level socket options for the connections kept
to the Cassandra hosts.
- SocketOptions() - Constructor for class com.datastax.driver.core.SocketOptions
-
Creates a new SocketOptions
instance with default values.
- SpeculativeExecutionPolicy - Interface in com.datastax.driver.core.policies
-
The policy that decides if the driver will send speculative queries to the next hosts when the current host takes too
long to respond.
- SpeculativeExecutionPolicy.SpeculativeExecutionPlan - Interface in com.datastax.driver.core.policies
-
A plan that governs speculative executions for a given query.
- splitEvenly(int) - Method in class com.datastax.driver.core.TokenRange
-
Splits this range into a number of smaller ranges of equal "size" (referring to the number of tokens, not the actual amount of data).
- SSLOptions - Class in com.datastax.driver.core
-
Options to provide to enable SSL connections.
- SSLOptions() - Constructor for class com.datastax.driver.core.SSLOptions
-
Creates default SSL options.
- SSLOptions(SSLContext, String[]) - Constructor for class com.datastax.driver.core.SSLOptions
-
Creates SSL options that uses the provided SSL context and cipher suites.
- startOf(long) - Static method in class com.datastax.driver.core.utils.UUIDs
-
Creates a "fake" time-based UUID that sorts as the smallest possible
version 1 UUID generated at the provided timestamp.
- Statement - Class in com.datastax.driver.core
-
An executable query.
- statementAsString(Statement) - Method in class com.datastax.driver.core.QueryLogger
-
- StatementWrapper - Class in com.datastax.driver.core
-
Base class for custom
Statement
implementations that wrap another statement.
- StatementWrapper(Statement) - Constructor for class com.datastax.driver.core.StatementWrapper
-
Builds a new instance.
- SuccessCallback() - Constructor for class com.datastax.driver.core.utils.MoreFutures.SuccessCallback
-
- SUPPORTED_MECHANISMS - Static variable in class com.datastax.driver.auth.KerberosAuthenticator
-
- SyntaxError - Exception in com.datastax.driver.core.exceptions
-
Indicates a syntax error in a query.
- SyntaxError(String) - Constructor for exception com.datastax.driver.core.exceptions.SyntaxError
-
- SyntaxError(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.SyntaxError
-