- gcGraceSeconds(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the time to wait before garbage collecting tombstones (deletion markers).
- get(String, Class<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
converted to the given Java type.
- get(String, TypeToken<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
converted to the given Java type.
- get(String, TypeCodec<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
name
converted using the given
TypeCodec
.
- get(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value converted to the given Java type.
- get(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
converted to the given Java type.
- get(int, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value converted to the given Java type.
- get(String, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
converted to the given Java type.
- get(int, TypeCodec<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
i
th value converted using the given
TypeCodec
.
- get(String, TypeCodec<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
name
converted using the given
TypeCodec
.
- get(int, Class<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value converted to the given Java type.
- get(int, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value converted to the given Java type.
- get(int, TypeCodec<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
i
th value converted using the given
TypeCodec
.
- get(String, Class<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
converted to the given Java type.
- get(String, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
converted to the given Java type.
- get(String, TypeCodec<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
name
converted using the given
TypeCodec
.
- get(Object...) - Method in class com.datastax.driver.mapping.Mapper
-
Fetch an entity based on its primary key.
- 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 was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
-
The full address of the coordinator host that was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
-
The full address of the coordinator host that was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.BusyConnectionException
-
- getAddress() - Method in exception com.datastax.driver.core.exceptions.BusyPoolException
-
- getAddress() - Method in exception com.datastax.driver.core.exceptions.ConnectionException
-
- getAddress() - Method in interface com.datastax.driver.core.exceptions.CoordinatorException
-
The full address of the coordinator host that was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.FunctionExecutionException
-
The full address of the coordinator host that was contacted.
- 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 was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.ProtocolError
-
The full address of the coordinator host that was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.QueryConsistencyException
-
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 was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.SyntaxError
-
The full address of the coordinator host that was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.TruncateException
-
The full address of the coordinator host that was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnauthorizedException
-
The full address of the coordinator host that was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
The full address of the coordinator host that was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
-
The full address of the coordinator host that was contacted.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
-
- getAddress() - Method in class com.datastax.driver.core.Host
-
Returns the address that the driver will use to connect to the node.
- getAddressTranslator() - Method in class com.datastax.driver.core.policies.Policies
-
The address translator in use.
- getAggregate(String, Collection<DataType>) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition of an aggregate in this keyspace.
- getAggregate(String, DataType...) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition of an aggregate in this keyspace.
- getAggregates() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the aggregates defined in this keyspace.
- getAliveReplicas() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
The number of replicas 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.PagingIterable
-
Return the execution information for all queries made to retrieve this
result set.
- getAllExecutionInfo() - Method in class com.datastax.driver.mapping.Result
-
- getAllHosts() - Method in class com.datastax.driver.core.Metadata
-
Returns the known hosts of this cluster.
- getAllIndexesOf(String) - Method in class com.datastax.driver.core.UDTValue
-
- 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.
- getArguments() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the names and types of this function's arguments.
- getArgumentTypes() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the types of this aggregate's arguments.
- getArray(ByteBuffer) - Static method in class com.datastax.driver.core.utils.Bytes
-
Extract the content of the provided ByteBuffer
as a byte array.
- getAsync(Object...) - Method in class com.datastax.driver.mapping.Mapper
-
Fetch an entity based on its primary key asynchronously.
- getAuthenticationErrors() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of authentication errors while connecting to Cassandra nodes.
- getAuthProvider() - Method in class com.datastax.driver.core.ProtocolOptions
-
The AuthProvider
used by this cluster.
- getAvailableWithoutFetching() - Method in interface com.datastax.driver.core.PagingIterable
-
The number of rows that can be retrieved from this result set without
blocking to fetch.
- getAvailableWithoutFetching() - Method in class com.datastax.driver.mapping.Result
-
- getBaseDelayMs() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
The base delay in milliseconds for this policy (e.g.
- getBaseTable() - Method in class com.datastax.driver.core.MaterializedViewMetadata
-
Return this materialized view's base table.
- getBlockingExecutorQueueDepth() - Method in class com.datastax.driver.core.Metrics
-
- getBloomFilterFalsePositiveChance() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the false positive chance for the Bloom filter of this table.
- getBody() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the body of this function.
- getBool(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a boolean.
- getBool(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a boolean.
- getBool(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a boolean.
- getBool(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a boolean.
- getBool(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a boolean.
- getBroadcastAddress() - Method in class com.datastax.driver.core.Host
-
Returns the node broadcast address (that is, the IP by which it should be contacted by other peers in the
cluster), if known.
- getBuildLabel() - Method in class com.datastax.driver.core.VersionNumber
-
The build label if there is one.
- getByte(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a byte.
- getByte(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a byte.
- getByte(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a byte.
- getByte(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a byte.
- getByte(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a byte.
- getBytes(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a byte array.
- getBytes(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a byte array.
- getBytes(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a byte array.
- getBytes(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a byte array.
- getBytes(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a byte array.
- getBytesUnsafe(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a ByteBuffer.
- getBytesUnsafe(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a ByteBuffer
.
- getBytesUnsafe(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a ByteBuffer.
- getBytesUnsafe(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a ByteBuffer
.
- getBytesUnsafe(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a ByteBuffer.
- getCaching() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the caching options 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.ErrorAwarePolicy
-
- 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
-
- getClientTimeouts() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of requests that timed out before the driver
received a response.
- 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.AbstractTableMetadata
-
Returns the list of clustering columns for this table.
- getClusteringOrder() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
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.
- getCodecRegistry() - Method in class com.datastax.driver.core.Configuration
-
- getCodecRegistry() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getCodecRegistry() - Method in interface com.datastax.driver.core.PreparedStatement
-
Return the
CodecRegistry
instance associated with this prepared statement.
- getCodecRegistry() - Method in class com.datastax.driver.core.TupleValue
-
- getCodecRegistry() - Method in class com.datastax.driver.core.UDTValue
-
- getColumn(String) - Method in class com.datastax.driver.core.AbstractTableMetadata
-
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.
- getColumnName() - Method in class com.datastax.driver.core.querybuilder.Assignment
-
The name of the column this assignment applies to.
- getColumns() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns a list containing all the columns of this table.
- getComment() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the commentary set for this table.
- getCompaction() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the compaction options for this table.
- getComponentTypes() - Method in class com.datastax.driver.core.TupleType
-
The (immutable) list of types composing this tuple type.
- getCompression() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the compression used by the protocol.
- getCompression() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
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 errors while connecting to Cassandra nodes.
- 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.QueryConsistencyException
-
The consistency level of the operation that failed.
- 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.
- getCqlType() - Method in exception com.datastax.driver.core.exceptions.CodecNotFoundException
-
- getCqlType() - Method in class com.datastax.driver.core.TypeCodec
-
Return the CQL type that this codec deserializes from and serializes to.
- getCrcCheckChance() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
When compression is enabled, this option defines the probability
with which checksums for compressed blocks are checked during reads.
- getCurrentVersion() - Method in exception com.datastax.driver.core.exceptions.UnsupportedFeatureException
-
- 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.CustomType
-
Returns the fully qualified name
of the subtype of
org.apache.cassandra.db.marshal.AbstractType
that represents this type server-side.
- getDatacenter() - Method in class com.datastax.driver.core.Host
-
Returns the name of the datacenter this host is part of.
- getDate(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a date (without time).
- getDate(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a date (without time).
- getDate(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a date (without time).
- getDate(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a date (without time).
- getDate(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a date (without time).
- getDay() - Method in class com.datastax.driver.core.LocalDate
-
Returns the day in the month.
- getDaysSinceEpoch() - Method in class com.datastax.driver.core.LocalDate
-
Returns the number of days since January 1st, 1970 GMT.
- getDecimal(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a variable length decimal.
- getDecimal(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a variable length decimal.
- getDecimal(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a variable length decimal.
- getDecimal(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a variable length decimal.
- getDecimal(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a variable length decimal.
- getDefaultIdempotence() - Method in class com.datastax.driver.core.QueryOptions
-
The default idempotence for queries.
- getDefaultTimestamp() - Method in class com.datastax.driver.core.Statement
-
The default timestamp for this query.
- getDefaultTimestamp() - Method in class com.datastax.driver.core.StatementWrapper
-
- getDefaultTimeToLive() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
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(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a double.
- getDouble(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a double.
- getDouble(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a double.
- getDouble(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a double.
- getDouble(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for 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).
- getDseVersion() - Method in class com.datastax.driver.core.Host
-
The DSE version the host is running.
- getDseWorkload() - Method in class com.datastax.driver.core.Host
-
The DSE Workload the host is running.
- 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.PagingIterable
-
Returns information on the execution of the last query made for this result set.
- getExecutionInfo() - Method in class com.datastax.driver.mapping.Result
-
- getExecutorQueueDepth() - Method in class com.datastax.driver.core.Metrics
-
- getExtensions() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the extension options for this table.
- getFailures() - Method in exception com.datastax.driver.core.exceptions.ReadFailureException
-
Returns the number of replicas that experienced a failure while executing the request.
- getFailures() - Method in exception com.datastax.driver.core.exceptions.WriteFailureException
-
Returns the number of replicas that experienced a failure while executing the request.
- 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
-
- getFieldNames() - Method in class com.datastax.driver.core.UserType
-
Returns the names of the fields of this UDT.
- getFieldType(String) - Method in class com.datastax.driver.core.UserType
-
Returns the type of a given field.
- getFinalFunc() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the final function of this aggregate.
- getFloat(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a float.
- getFloat(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a float.
- getFloat(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a float.
- getFloat(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a float.
- getFloat(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a float.
- getFunction(String, Collection<DataType>) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition of a function in this keyspace.
- getFunction(String, DataType...) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition of a function in this keyspace.
- getFunctions() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the functions defined in this keyspace.
- getGcGraceInSeconds() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
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 was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.BusyConnectionException
-
- getHost() - Method in exception com.datastax.driver.core.exceptions.BusyPoolException
-
- getHost() - Method in exception com.datastax.driver.core.exceptions.ConnectionException
-
- getHost() - Method in interface com.datastax.driver.core.exceptions.CoordinatorException
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.FunctionExecutionException
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.InvalidQueryException
-
- getHost() - Method in exception com.datastax.driver.core.exceptions.OverloadedException
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.ProtocolError
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.QueryConsistencyException
-
The coordinator host that caused this exception to be thrown.
- getHost() - Method in exception com.datastax.driver.core.exceptions.ServerError
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.SyntaxError
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.TruncateException
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.UnauthorizedException
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
-
The coordinator host that was contacted.
- getHost() - Method in exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
-
- getId() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the unique id of this table.
- 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.
- getIgnoresOnClientTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after a
client timeout.
- getIgnoresOnConnectionError() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after a
connection error.
- getIgnoresOnOtherErrors() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after an
unexpected error.
- 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.
- getIncomingPayload() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getIncomingPayload() - Method in class com.datastax.driver.core.ExecutionInfo
-
Return the incoming payload, that is, the payload that the server
sent back with its response, if any,
or null
, if the server did not include any custom payload.
- getIncomingPayload() - Method in interface com.datastax.driver.core.PreparedStatement
-
Return the incoming payload, that is, the payload that the server
sent back with its PREPARED
response, if any,
or null
, if the server did not include any custom payload.
- getIndex(String) - Method in class com.datastax.driver.core.TableMetadata
-
Returns metadata on a index of this table.
- getIndexClassName() - Method in class com.datastax.driver.core.IndexMetadata
-
The name of the class used to implement the custom index, if it is one.
- getIndexes() - Method in class com.datastax.driver.core.TableMetadata
-
Returns all indexes based on this table.
- getIndexInterval() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the index interval option for this table.
- getIndexOf(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the index corresponding to a given name.
- getIndexOf(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
The first index in this metadata of the provided name, if present.
- getInet(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as an InetAddress.
- getInet(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as an InetAddress.
- getInet(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as an InetAddress.
- getInet(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as an InetAddress.
- getInet(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as an InetAddress.
- getInFlightQueries(Host) - Method in interface com.datastax.driver.core.Session.State
-
The number of queries that are currently being executed through a given host.
- getInitCond() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the initial state value of this aggregate.
- 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.
- getInt(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as an integer.
- getInt(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as an integer.
- getInt(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as an integer.
- getInt(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as an integer.
- getInt(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as an integer.
- getJavaType() - Method in exception com.datastax.driver.core.exceptions.CodecNotFoundException
-
- getJavaType() - Method in class com.datastax.driver.core.TypeCodec
-
Return the Java type that this codec deserializes to and serializes from.
- getKeepAlive() - Method in class com.datastax.driver.core.SocketOptions
-
Returns whether TCP keepalive is enabled.
- getKeyspace() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the keyspace this table belong to.
- getKeyspace() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the keyspace this aggregate belongs to.
- 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() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the keyspace this function belongs to.
- 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.schemabuilder.SchemaStatement
-
- 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.UserType
-
The name of the keyspace this UDT is part of.
- getKeyspaceName() - Method in exception com.datastax.driver.core.exceptions.UnresolvedUserTypeException
-
- getKeyspaces() - Method in class com.datastax.driver.core.Metadata
-
Returns a list of all the defined keyspaces.
- getKind() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns the index kind.
- 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).
- getLanguage() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the programming language in which this function's body is written.
- getLatencyAtPercentile(Host, Statement, Exception, double) - Method in class com.datastax.driver.core.PercentileTracker
-
Returns the request latency 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(String, Class<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a list.
- getList(String, TypeToken<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a list.
- getList(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a list.
- getList(int, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a list.
- getList(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a list.
- getList(String, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a list.
- getList(int, Class<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a list.
- getList(int, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a list.
- getList(String, Class<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a list.
- getList(String, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a list.
- getListenAddress() - Method in class com.datastax.driver.core.Host
-
Returns the node listen address (that is, the IP the node uses to contact other peers in the cluster), if known.
- getLoadBalancingPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The load balancing policy in use.
- getLocalReadRepairChance() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
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(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a long.
- getLong(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a long.
- getLong(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a long.
- getLong(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a long.
- getLong(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a long.
- getMajor() - Method in class com.datastax.driver.core.VersionNumber
-
The major version number.
- getManager() - Method in class com.datastax.driver.mapping.Mapper
-
The MappingManager
managing this mapper.
- getMap(String, Class<K>, Class<V>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a map.
- getMap(String, TypeToken<K>, TypeToken<V>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a map.
- getMap(int, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a map.
- getMap(int, TypeToken<K>, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a map.
- getMap(String, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a map.
- getMap(String, TypeToken<K>, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a map.
- getMap(int, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a map.
- getMap(int, TypeToken<K>, TypeToken<V>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a map.
- getMap(String, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a map.
- getMap(String, TypeToken<K>, TypeToken<V>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a map.
- getMaterializedView(String) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the metadata for a materialized view contained in this keyspace.
- getMaterializedViews() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the materialized views defined in this keyspace.
- 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.
- getMaxIndexInterval() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the maximum index interval option for this table.
- 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.
- getMaxQueueSize() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the maximum number of requests that get enqueued if no connection is available.
- getMaxRequestsPerConnection(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the maximum number of requests per connection.
- getMaxSchemaAgreementWaitSeconds() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the maximum time to wait for schema agreement before returning from a DDL query.
- 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.TableOptionsMetadata
-
- getMessage() - Method in exception com.datastax.driver.core.exceptions.ConnectionException
-
- 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.
- getMillisSinceEpoch() - Method in class com.datastax.driver.core.LocalDate
-
Returns the number of milliseconds since January 1st, 1970 GMT.
- getMinIndexInterval() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the minimum index interval option for this table.
- getMinor() - Method in class com.datastax.driver.core.VersionNumber
-
The minor version number.
- getMonth() - Method in class com.datastax.driver.core.LocalDate
-
Returns the month.
- getName() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the name of this table.
- 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.DataType
-
Returns the name of that type.
- getName() - Method in exception com.datastax.driver.core.exceptions.UnresolvedUserTypeException
-
- getName() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns the index name.
- getName() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the name of this keyspace.
- getName(int) - Method in class com.datastax.driver.core.TupleValue
-
- getName(int) - Method in class com.datastax.driver.core.UDTValue
-
- getName() - Method in class com.datastax.driver.core.UserType.Field
-
Returns the name of the field.
- getNamedValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getNamedValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.RegularStatement
-
The named values to use for this statement.
- getNamedValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- getNamedValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.SimpleStatement
-
- getNettyOptions() - Method in class com.datastax.driver.core.Configuration
-
- getNewConnectionThreshold(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the threshold that triggers the creation of a new connection to a host.
- getObject(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as the Java type matching its CQL type.
- getObject(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as the Java type matching its CQL type.
- getObject(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as the Java type matching its CQL type.
- getObject(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as the Java type matching its CQL type.
- getObject(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as the Java type matching its CQL type.
- getObject(int, CodecRegistry) - 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.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 positional value as the Java type matching its CQL type.
- getObject(String) - Method in class com.datastax.driver.core.SimpleStatement
-
Returns a named 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.
- getOption(String) - Method in class com.datastax.driver.core.IndexMetadata
-
Return the value for the given option name.
- getOptions() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
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.
- getOutgoingPayload() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getOutgoingPayload() - Method in interface com.datastax.driver.core.PreparedStatement
-
Return the outgoing payload currently associated with this statement.
- getOutgoingPayload() - Method in class com.datastax.driver.core.Statement
-
Returns this statement's outgoing payload.
- getOutgoingPayload() - Method in class com.datastax.driver.core.StatementWrapper
-
- 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.
- getParent() - Method in class com.datastax.driver.core.ColumnMetadata
-
Returns the parent object of this column.
- 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.AbstractTableMetadata
-
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.
- getPercentileLatencyTracker() - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
Return the percentile tracker to use for recording per-host latency histograms.
- getPolicies() - Method in class com.datastax.driver.core.Configuration
-
Returns the policies set for the cluster.
- getPoolingOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the connection pooling configuration.
- getPoolTimeoutMillis() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the timeout when trying to acquire a connection from a host's pool.
- getPopulateIOCacheOnFlush() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
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 relevant, i.e.
- getPrimaryKey() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
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.
- getQuery(Object...) - Method in class com.datastax.driver.mapping.Mapper
-
Creates a query to fetch entity given its PRIMARY KEY.
- 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(CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getQueryString(CodecRegistry) - Method in class com.datastax.driver.core.RegularStatement
-
Returns the query string for this statement.
- getQueryString() - Method in class com.datastax.driver.core.RegularStatement
-
Returns the query string for this statement.
- getQueryString(CodecRegistry) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- getQueryString(CodecRegistry) - Method in class com.datastax.driver.core.SimpleStatement
-
- getQueryTrace() - Method in class com.datastax.driver.core.ExecutionInfo
-
Return the query trace if tracing was enabled on this query.
- getQueryTraceAsync() - Method in class com.datastax.driver.core.ExecutionInfo
-
Placeholder for async query trace retrieval (not implemented yet).
- 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.TableOptionsMetadata
-
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.
- getReadTimeoutMillis() - Method in class com.datastax.driver.core.Statement
-
Return the per-host read timeout that was set for this statement.
- getReadTimeoutMillis() - Method in class com.datastax.driver.core.StatementWrapper
-
- 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.QueryConsistencyException
-
The number of replica that had acknowledged/responded to the operation
before it failed.
- 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.TableOptionsMetadata
-
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.QueryConsistencyException
-
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
.
- getRetriesOnClientTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after a
client timeout.
- getRetriesOnConnectionError() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after a
connection error.
- getRetriesOnOtherErrors() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after an
unexpected error.
- 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 this 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
-
- getReturnType() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the return type of this aggregate.
- getReturnType() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the return type of this function.
- getReuseAddress() - Method in class com.datastax.driver.core.SocketOptions
-
Returns whether reuse-address is enabled.
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.BatchStatement
-
- getRoutingKey(ProtocolVersion, CodecRegistry) - 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(ProtocolVersion, CodecRegistry) - 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(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
Returns the routing key (in binary raw form) to use for token aware
routing of this query.
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the routing key for the query.
- getRoutingKey(ProtocolVersion, CodecRegistry) - 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(ProtocolVersion, CodecRegistry) - 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
-
- getServerVersion() - Method in exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
-
- getSession() - Method in interface com.datastax.driver.core.Session.State
-
The Session to which this State corresponds to.
- getSession() - Method in class com.datastax.driver.mapping.MappingManager
-
The underlying Session
used by this manager.
- getSet(String, Class<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a set.
- getSet(String, TypeToken<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a set.
- getSet(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a set.
- getSet(int, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a set.
- getSet(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a set.
- getSet(String, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a set.
- getSet(int, Class<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a set.
- getSet(int, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a set.
- getSet(String, Class<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a set.
- getSet(String, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a set.
- getShort(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a short.
- getShort(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a short.
- getShort(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a short.
- getShort(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a short.
- getShort(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a short.
- getSignature() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the CQL signature of this aggregate.
- getSignature() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the CQL signature of this function.
- getSimpleName() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the simple name of this aggregate.
- getSimpleName() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the simple name of this function.
- 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 address and port that the driver will use to connect to the node.
- 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.TableOptionsMetadata
-
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.
- getStateFunc() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the state function of this aggregate.
- getStatement() - Method in class com.datastax.driver.core.ExecutionInfo
-
Get the statement that has been executed.
- getStatements() - Method in class com.datastax.driver.core.BatchStatement
-
The statements that have been added to this batch so far.
- getStateType() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the state type of this aggregate.
- getStats(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot
-
The Stats
object for a given host.
- getStreamId() - Method in exception com.datastax.driver.core.exceptions.FrameTooLongException
-
- getString(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a string.
- getString(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a string.
- getString(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a string.
- getString(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a string.
- getString(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for 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 exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
If the failed creation was a table creation, the name of the table that already exists.
- getTable() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns the metadata of the table this index is part of.
- getTable(String) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the metadata for a table contained in this keyspace.
- GettableByIndexData - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be retrieved by index (starting at zero).
- GettableByNameData - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be retrieved by name.
- GettableData - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be retrieved either by index (starting at zero) or by name.
- getTableMetadata() - Method in class com.datastax.driver.mapping.Mapper
-
The TableMetadata
for this mapper.
- getTables() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the tables defined in this keyspace.
- getTarget() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns the index target.
- 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.
- getThreadingOptions() - Method in class com.datastax.driver.core.Configuration
-
- getThreadName() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the name of the thread on which this event occurred.
- getTime(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a long in nanoseconds since midnight.
- getTime(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a long in nanoseconds since midnight.
- getTime(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a long in nanoseconds since midnight.
- getTime(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a long in nanoseconds since midnight.
- getTime(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a long in nanoseconds since midnight.
- getTimestamp(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a date.
- getTimestamp(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a date.
- getTimestamp(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a date.
- getTimestamp(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a date.
- getTimestamp(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a date.
- getTimestamp() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the server side timestamp of the event.
- getTimestampGenerator() - Method in class com.datastax.driver.core.policies.Policies
-
The timestamp generator to use.
- 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.
- getTupleValue(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Return the value for name
as a tuple value.
- getTupleValue(int) - Method in class com.datastax.driver.core.BoundStatement
-
Return the i
th value as a tuple value.
- getTupleValue(String) - Method in class com.datastax.driver.core.BoundStatement
-
Return the value for name
as a tuple value.
- getTupleValue(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Return the i
th value as a tuple value.
- getTupleValue(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Return the value for name
as a tuple value.
- 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.
- getType(int) - Method in class com.datastax.driver.core.TupleValue
-
- getType() - Method in class com.datastax.driver.core.TupleValue
-
The tuple type this is a value of.
- getType(int) - Method in class com.datastax.driver.core.UDTValue
-
- getType() - Method in class com.datastax.driver.core.UDTValue
-
The UDT this is a value of.
- getType() - Method in class com.datastax.driver.core.UserType.Field
-
Returns the type of the field.
- getType() - Method in class com.datastax.driver.mapping.Mapper.Option
-
- getTypeArguments() - Method in class com.datastax.driver.core.DataType.CollectionType
-
- getTypeArguments() - Method in class com.datastax.driver.core.DataType
-
Returns the type arguments of this type.
- getTypeName() - Method in class com.datastax.driver.core.UserType
-
The name of this user type.
- getUDTValue(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Return the value for name
as a UDT value.
- getUDTValue(int) - Method in class com.datastax.driver.core.BoundStatement
-
Return the i
th value as a UDT value.
- getUDTValue(String) - Method in class com.datastax.driver.core.BoundStatement
-
Return the value for name
as a UDT value.
- getUDTValue(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Return the i
th value as a UDT value.
- getUDTValue(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Return the value for name
as a UDT value.
- 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.
- getUnsupportedVersion() - Method in exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
-
- getUserType(String) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition for a user defined type (UDT) in this keyspace.
- getUserTypes() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the user types defined in this keyspace.
- getUUID(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a UUID.
- getUUID(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a UUID.
- getUUID(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a UUID.
- getUUID(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a UUID.
- getUUID(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a UUID.
- getValue() - Method in class com.datastax.driver.core.Token
-
Returns the raw value of this token.
- getValueNames() - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the names of the named values of this statement.
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.Batch
-
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.RegularStatement
-
The positional values to use for this statement.
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- getValues(ProtocolVersion, CodecRegistry) - 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(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a variable length integer.
- getVarint(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a variable length integer.
- getVarint(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a variable length integer.
- getVarint(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a variable length integer.
- getVarint(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a variable length integer.
- getView(String) - Method in class com.datastax.driver.core.TableMetadata
-
Returns metadata on a view of this table.
- getViews() - Method in class com.datastax.driver.core.TableMetadata
-
Returns all views based on this table.
- getWarnings() - Method in class com.datastax.driver.core.ExecutionInfo
-
Returns the server-side warnings for this query.
- 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.WriteFailureException
-
The type of the write for which a timeout was raised.
- getWriteType() - Method in exception com.datastax.driver.core.exceptions.WriteTimeoutException
-
The type of the write for which a timeout was raised.
- getYear() - Method in class com.datastax.driver.core.LocalDate
-
Returns the year.
- 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.
- save(T) - Method in class com.datastax.driver.mapping.Mapper
-
Saves an entity mapped by this mapper.
- save(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Saves an entity mapped by this mapper and using special options for save.
- saveAsync(T) - Method in class com.datastax.driver.mapping.Mapper
-
Saves an entity mapped by this mapper asynchronously.
- saveAsync(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Save an entity mapped by this mapper asynchronously using special options for save.
- saveNullFields(boolean) - Static method in class com.datastax.driver.mapping.Mapper.Option
-
Creates a new Option object to specify whether null entity fields should be included in
insert queries.
- saveQuery(T) - Method in class com.datastax.driver.mapping.Mapper
-
Creates a query that can be used to save the provided entity.
- saveQuery(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Creates a query that can be used to save the provided entity.
- SchemaBuilder - Class in com.datastax.driver.core.schemabuilder
-
Static methods to build a CQL3 DDL statement.
- SchemaBuilder.Caching - Enum in com.datastax.driver.core.schemabuilder
-
Caching strategies, for use in a CREATE or ALTER TABLE statement.
- SchemaBuilder.Direction - Enum in com.datastax.driver.core.schemabuilder
-
The direction used in clustering order declarations.
- SchemaBuilder.KeyCaching - Enum in com.datastax.driver.core.schemabuilder
-
Key caching strategies for Cassandra 2.1, for use in a CREATE or ALTER TABLE statement.
- SchemaChangeListener - Interface in com.datastax.driver.core
-
Interface for objects that are interested in tracking schema change events in the cluster.
- SchemaChangeListenerBase - Class in com.datastax.driver.core
-
- SchemaChangeListenerBase() - Constructor for class com.datastax.driver.core.SchemaChangeListenerBase
-
- SchemaStatement - Class in com.datastax.driver.core.schemabuilder
-
- SchemaStatement() - Constructor for class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- 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
-
- SelectionOrAlias() - Constructor for class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
-
- self() - Method in class com.datastax.driver.core.ClusterWidePercentileTracker.Builder
-
- self() - Method in class com.datastax.driver.core.PercentileTracker.Builder
-
- self() - Method in class com.datastax.driver.core.PerHostPercentileTracker.Builder
-
- serialize(ProtocolVersion) - Method in class com.datastax.driver.core.Token
-
Returns the serialized form of the current token,
using the appropriate codec depending on the
partitioner in use and the CQL datatype for
the token.
- serialize(C, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractCollectionCodec
-
- serialize(Map<K, V>, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractMapCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
-
- serialize(Boolean, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveBooleanCodec
-
- serialize(Byte, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveByteCodec
-
- serialize(Double, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveDoubleCodec
-
- serialize(Float, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveFloatCodec
-
- serialize(Integer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveIntCodec
-
- serialize(Long, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveLongCodec
-
- serialize(Short, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveShortCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec
-
Serialize the given value according to the CQL type
handled by this codec.
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.AbstractPrimitiveArrayCodec
-
- serialize(E[], ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.ObjectArrayCodec
-
- serialize(E, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.enums.EnumOrdinalCodec
-
- serialize(Optional<T>) - Method in class com.datastax.driver.extras.codecs.guava.OptionalCodec
-
- serialize(Instant, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.jdk8.InstantCodec
-
- serialize(LocalDate, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.jdk8.LocalDateCodec
-
- serialize(LocalTime, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.jdk8.LocalTimeCodec
-
- serialize(Optional<T>) - Method in class com.datastax.driver.extras.codecs.jdk8.OptionalCodec
-
- serialize(Instant, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.joda.InstantCodec
-
- serialize(LocalDate, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.joda.LocalDateCodec
-
- serialize(LocalTime, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.joda.LocalTimeCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.json.JacksonJsonCodec
-
- serialize(JsonStructure, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.json.Jsr353JsonCodec
-
- serialize(O, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.MappingCodec
-
- serialize(O) - Method in class com.datastax.driver.extras.codecs.MappingCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.ParsingCodec
-
- serializeElement(ByteBuffer, T, int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.AbstractPrimitiveArrayCodec
-
Write the index
th element of array
to output
.
- serializeElement(ByteBuffer, double[], int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.DoubleArrayCodec
-
- serializeElement(ByteBuffer, float[], int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.FloatArrayCodec
-
- serializeElement(ByteBuffer, int[], int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.IntArrayCodec
-
- serializeElement(ByteBuffer, long[], int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.LongArrayCodec
-
- serializeField(T, int, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
-
- serializeField(T, String, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
-
- serializeField(ZonedDateTime, int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.jdk8.ZonedDateTimeCodec
-
- serializeField(DateTime, int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.joda.DateTimeCodec
-
- serializeNoBoxing(boolean, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveBooleanCodec
-
- serializeNoBoxing(byte, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveByteCodec
-
- serializeNoBoxing(double, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveDoubleCodec
-
- serializeNoBoxing(float, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveFloatCodec
-
- serializeNoBoxing(int, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveIntCodec
-
- serializeNoBoxing(long, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveLongCodec
-
- serializeNoBoxing(short, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveShortCodec
-
- serializeNoBoxing(int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.date.SimpleDateCodec
-
- serializeNoBoxing(long, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.date.SimpleTimestampCodec
-
- ServerError - Exception in com.datastax.driver.core.exceptions
-
Indicates that the contacted host reported an internal error.
- ServerError(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.ServerError
-
- ServerSideTimestampGenerator - Class in com.datastax.driver.core
-
A timestamp generator that always returns
Long.MIN_VALUE
, in order to let Cassandra
assign server-side timestamps.
- 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(int, V, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided value of the provided Java class.
- set(String, V, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided value of the provided Java class.
- set(int, V, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided value of the provided Java type.
- set(String, V, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided value of the provided Java type.
- set(int, V, TypeCodec<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
i
th value to the provided value, converted using the given
TypeCodec
.
- set(String, V, TypeCodec<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
name
to the provided value,
converted using the given
TypeCodec
.
- set(DataType, boolean) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of sets of elementType
elements.
- set(DataType) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of "not frozen" 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.
- set(int, V, Class<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided value of the provided Java class.
- set(int, V, TypeToken<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided value of the provided Java type.
- set(int, V, TypeCodec<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
i
th value to the provided value, converted using the given
TypeCodec
.
- set(String, V, Class<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided value of the provided Java class.
- set(String, V, TypeToken<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided value of the provided Java type.
- set(String, V, TypeCodec<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
name
to the provided value,
converted using the given
TypeCodec
.
- set(TypeCodec<T>) - Static method in class com.datastax.driver.core.TypeCodec
-
Return a newly-created codec for the CQL type set
whose element type
is determined by the given element codec.
- 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.
- setBool(int, boolean) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided boolean.
- setBool(String, boolean) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided boolean.
- setByte(int, byte) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided byte.
- setByte(String, byte) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided byte.
- setByte(int, byte) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the i
th value to the provided byte.
- setByte(String, byte) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided byte.
- 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.
- setBytes(int, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided byte buffer.
- setBytes(String, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByNameData
-
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.
- setBytesUnsafe(int, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided byte buffer.
- setBytesUnsafe(String, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByNameData
-
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, LocalDate) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided date (without time).
- setDate(String, LocalDate) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided date (without time).
- setDate(int, LocalDate) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the i
th value to the provided date (without time).
- setDate(String, LocalDate) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided date (without time).
- 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.
- setDecimal(int, BigDecimal) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided big decimal.
- setDecimal(String, BigDecimal) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided big decimal.
- setDefaultDeleteOptions(Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Set the default delete
Mapper.Option
for this object mapper, that will be used
in all delete operations unless overridden.
- setDefaultGetOptions(Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Set the default get
Mapper.Option
for this object mapper, that will be used
in all get operations unless overridden.
- setDefaultIdempotence(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default idempotence for queries.
- setDefaultSaveOptions(Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Set the default save
Mapper.Option
for this object mapper, that will be used
in all save operations unless overridden.
- setDefaultTimestamp(long) - Method in class com.datastax.driver.core.Statement
-
Sets the default timestamp for this query (in microseconds since the epoch).
- setDefaultTimestamp(long) - Method in class com.datastax.driver.core.StatementWrapper
-
- 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.
- setDouble(int, double) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided double.
- setDouble(String, double) - Method in interface com.datastax.driver.core.SettableByNameData
-
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.
- setFloat(int, float) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided float.
- setFloat(String, float) - Method in interface com.datastax.driver.core.SettableByNameData
-
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.DefaultPreparedStatement
-
Sets whether this statement is idempotent.
- setIdempotent(Boolean) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets whether this statement is idempotent.
- setIdempotent(boolean) - Method in class com.datastax.driver.core.Statement
-
Sets whether this statement is idempotent.
- setIdempotent(boolean) - Method in class com.datastax.driver.core.StatementWrapper
-
- 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.
- setInet(int, InetAddress) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided inet address.
- setInet(String, InetAddress) - Method in interface com.datastax.driver.core.SettableByNameData
-
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.
- setInt(int, int) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the i
th value to the provided integer.
- setInt(String, int) - Method in interface com.datastax.driver.core.SettableByNameData
-
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(int, List<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided list, which elements are of the provided
Java class.
- setList(int, List<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided list, which elements are of the provided
Java type.
- 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.
- setList(String, List<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided list,
which elements are of the provided Java class.
- setList(String, List<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided list,
which elements are of the provided Java type.
- setList(int, List<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided list.
- setList(int, List<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided list, which elements are of the provided
Java class.
- setList(int, List<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided list, which elements are of the provided
Java type.
- setList(String, List<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided list.
- setList(String, List<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided list,
which elements are of the provided Java class.
- setList(String, List<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided list,
which elements are of the provided Java type.
- 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.
- setLong(int, long) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided long.
- setLong(String, long) - Method in interface com.datastax.driver.core.SettableByNameData
-
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(int, Map<K, V>, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided map, which keys and values are of the provided
Java classes.
- setMap(int, Map<K, V>, TypeToken<K>, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided map, which keys and values are of the provided
Java types.
- 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.
- setMap(String, Map<K, V>, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided map,
which keys and values are of the provided Java classes.
- setMap(String, Map<K, V>, TypeToken<K>, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided map,
which keys and values are of the provided Java types.
- setMap(int, Map<K, V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided map.
- setMap(int, Map<K, V>, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided map, which keys and values are of the provided
Java classes.
- setMap(int, Map<K, V>, TypeToken<K>, TypeToken<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided map, which keys and values are of the provided
Java types.
- setMap(String, Map<K, V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided map.
- setMap(String, Map<K, V>, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided map,
which keys and values are of the provided Java classes.
- setMap(String, Map<K, V>, TypeToken<K>, TypeToken<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided map,
which keys and values are of the provided Java types.
- 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.
- setMaxQueueSize(int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the maximum number of requests that get enqueued if no connection is available.
- setMaxRequestsPerConnection(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the maximum number of requests per connection.
- setMetadataEnabled(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Toggle client-side token and schema metadata.
- setNewConnectionThreshold(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the threshold that triggers the creation of a new connection to a host.
- setOf(Class<T>) - Static method in class com.datastax.driver.core.TypeTokens
-
Create a
TypeToken
that represents a
Set
whose elements
are of the given type.
- setOf(TypeToken<T>) - Static method in class com.datastax.driver.core.TypeTokens
-
Create a
TypeToken
that represents a
Set
whose elements
are of the given type.
- setOutgoingPayload(Map<String, ByteBuffer>) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setOutgoingPayload(Map<String, ByteBuffer>) - Method in interface com.datastax.driver.core.PreparedStatement
-
Associate the given payload with this prepared statement.
- setOutgoingPayload(Map<String, ByteBuffer>) - Method in class com.datastax.driver.core.Statement
-
Set the given outgoing payload on this statement.
- setOutgoingPayload(Map<String, ByteBuffer>) - Method in class com.datastax.driver.core.StatementWrapper
-
- setPagingState(PagingState, CodecRegistry) - Method in class com.datastax.driver.core.Statement
-
Sets the paging state.
- setPagingState(PagingState) - Method in class com.datastax.driver.core.Statement
-
Sets the paging state.
- setPagingState(PagingState, CodecRegistry) - Method in class com.datastax.driver.core.StatementWrapper
-
- setPagingState(PagingState) - Method in class com.datastax.driver.core.StatementWrapper
-
- setPagingStateUnsafe(byte[]) - Method in class com.datastax.driver.core.Statement
-
Sets the paging state.
- setPagingStateUnsafe(byte[]) - Method in class com.datastax.driver.core.StatementWrapper
-
- 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.
- setPercentileLatencyTracker(PercentileTracker) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
Set the percentile tracker to use for recording per-host latency histograms.
- setPoolTimeoutMillis(int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the timeout when trying to acquire a connection from a host's pool.
- setPrepareOnAllHosts(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Set whether the driver should prepare statements on all hosts in the cluster.
- setReadTimeoutMillis(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets the per-host read timeout in milliseconds.
- setReadTimeoutMillis(int) - Method in class com.datastax.driver.core.Statement
-
- setReadTimeoutMillis(int) - Method in class com.datastax.driver.core.StatementWrapper
-
- 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.BoundStatement
-
Sets the routing key for this bound statement, when the query partition key is composite and the routing key must
be built from multiple values.
- 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
-
Sets the serial consistency level for the query.
- 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(int, Set<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided set, which elements are of the provided
Java class.
- setSet(int, Set<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided set, which elements are of the provided
Java type.
- 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.
- setSet(String, Set<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided set,
which elements are of the provided Java class.
- setSet(String, Set<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided set,
which elements are of the provided Java type.
- setSet(int, Set<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided set.
- setSet(int, Set<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided set, which elements are of the provided
Java class.
- setSet(int, Set<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided set, which elements are of the provided
Java type.
- setSet(String, Set<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided set.
- setSet(String, Set<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided set,
which elements are of the provided Java class.
- setSet(String, Set<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided set,
which elements are of the provided Java type.
- setShort(int, short) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided short.
- setShort(String, short) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided short.
- setShort(int, short) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the i
th value to the provided short.
- setShort(String, short) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided short.
- 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.
- setString(int, String) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided string.
- setString(String, String) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided string.
- SettableByIndexData<T extends SettableByIndexData<T>> - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be set by index (starting at zero).
- SettableByNameData<T extends SettableData<T>> - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can set by name.
- SettableData<T extends SettableData<T>> - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be set either by index (starting at zero) or by name.
- setTcpNoDelay(boolean) - Method in class com.datastax.driver.core.SocketOptions
-
Sets whether to disable Nagle's algorithm.
- setTime(int, long) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided time as a long in nanoseconds since midnight.
- setTime(String, long) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided time as a long in nanoseconds since midnight.
- setTime(int, long) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the i
th value to the provided time as a long in nanoseconds since midnight.
- setTime(String, long) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided time as a long in nanoseconds since midnight.
- setTimestamp(int, Date) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided date.
- setTimestamp(String, Date) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided date.
- setTimestamp(int, Date) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the i
th value to the provided date.
- setTimestamp(String, Date) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided date.
- 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.
- setToNull(int) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to null
.
- setToNull(String) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to null
.
- setToNull(int) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to null
.
- setToNull(String) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to null
.
- setTupleValue(int, TupleValue) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided tuple value.
- setTupleValue(String, TupleValue) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided tuple value.
- setTupleValue(int, TupleValue) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided tuple value.
- setTupleValue(String, TupleValue) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided tuple value.
- setUDTValue(int, UDTValue) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided UDT value.
- setUDTValue(String, UDTValue) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided UDT value.
- setUDTValue(int, UDTValue) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided UDT value.
- setUDTValue(String, UDTValue) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided UDT value.
- 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.
- setUUID(int, UUID) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided UUID.
- setUUID(String, UUID) - Method in interface com.datastax.driver.core.SettableByNameData
-
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.
- setVarint(int, BigInteger) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided big integer.
- setVarint(String, BigInteger) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the
provided big integer.
- shouldConsiderError(Exception, Host, Statement) - Method in interface com.datastax.driver.core.policies.ErrorAwarePolicy.ErrorFilter
-
Whether an error should be counted in the host's error rate.
- simpleColumns - Variable in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
- SimpleDateCodec - Class in com.datastax.driver.extras.codecs.date
-
A
TypeCodec
that maps CQL dates to Java primitive ints,
representing the number of days since the Epoch.
- SimpleDateCodec() - Constructor for class com.datastax.driver.extras.codecs.date.SimpleDateCodec
-
- 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.
- SimpleStatement(String, Map<String, Object>) - Constructor for class com.datastax.driver.core.SimpleStatement
-
Creates a new SimpleStatement
with the provided query string and named values.
- SimpleTimestampCodec - Class in com.datastax.driver.extras.codecs.date
-
A
TypeCodec
that maps CQL timestamps to Java primitive longs,
representing the number of milliseconds since the Epoch.
- SimpleTimestampCodec() - Constructor for class com.datastax.driver.extras.codecs.date.SimpleTimestampCodec
-
- 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.
- size() - Method in class com.datastax.driver.core.UserType
-
Returns the number of fields in this UDT.
- sizedTieredStategy() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create options for the size-tiered compaction strategy, for use in a CREATE or ALTER TABLE statement.
- sizeOfComponentType() - Method in class com.datastax.driver.extras.codecs.arrays.AbstractPrimitiveArrayCodec
-
Return the size in bytes of the array component type.
- sizeOfComponentType() - Method in class com.datastax.driver.extras.codecs.arrays.DoubleArrayCodec
-
- sizeOfComponentType() - Method in class com.datastax.driver.extras.codecs.arrays.FloatArrayCodec
-
- sizeOfComponentType() - Method in class com.datastax.driver.extras.codecs.arrays.IntArrayCodec
-
- sizeOfComponentType() - Method in class com.datastax.driver.extras.codecs.arrays.LongArrayCodec
-
- skipCQLId(String, int) - Static method in class com.datastax.driver.core.ParseUtils
-
Assuming that idx points to the beginning of a CQL identifier in toParse, returns the
index of the first character after this identifier.
- skipCQLValue(String, int) - Static method in class com.datastax.driver.core.ParseUtils
-
Assuming that idx points to the beginning of a CQL value in toParse, returns the
index of the first character after this value.
- skipSpaces(String, int) - Static method in class com.datastax.driver.core.ParseUtils
-
Returns the index of the first character in toParse from idx that is not a "space".
- 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.
- smallint() - Static method in class com.datastax.driver.core.DataType
-
Returns the SMALLINT type.
- smallInt() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type smallint
.
- snappy() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create options for the Snappy compression strategy, to use in a CREATE or ALTER TABLE statement.
- 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.
- speculativeRetry(TableOptions.SpeculativeRetryValue) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
To override normal read timeout when read_repair_chance is not 1.0, sending another request to read, choose one of these values and use the property to create
or alter the table:
ALWAYS: Retry reads of all replicas.
Xpercentile: Retry reads based on the effect on throughput and latency.
Yms: Retry reads after specified milliseconds.
NONE: Do not retry reads.
Using the speculative retry property, you can configure rapid read protection in Cassandra 2.0.2 and later.
- 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 - Interface in com.datastax.driver.core
-
Defines how the driver configures SSL connections.
- ssTableSizeInMB(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.LeveledCompactionStrategyOptions
-
The target size for SSTables that use the leveled compaction strategy.
- 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.
- strategyClass() - Method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.Strategy
-
- SuccessCallback() - Constructor for class com.datastax.driver.core.utils.MoreFutures.SuccessCallback
-
- SyntaxError - Exception in com.datastax.driver.core.exceptions
-
Indicates a syntax error in a query.
- SyntaxError(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.SyntaxError
-