- 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.AuthenticationException
-
The full address of the host for which the authentication failed.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
-
The full address of the host that was bootstrapping.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.OverloadedException
-
The full address of the host that reported itself being overloaded.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
-
The full address of the host that replied with an UNPREPARED error code.
- getAddress() - Method in class com.datastax.driver.core.Host
-
Returns the node address.
- 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 replica that were known to be alive by the Cassandra
coordinator node when it tried to execute the operation.
- getAllExecutionInfo() - Method in interface com.datastax.driver.core.ResultSet
-
Return the execution information for all queries made to retrieve this
ResultSet.
- getAllHosts() - Method in class com.datastax.driver.core.Metadata
-
Returns the known hosts of this cluster.
- 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.
- getAuthProvider() - Method in class com.datastax.driver.core.ProtocolOptions
-
The AuthProvider
used by this cluster.
- getAvailableWithoutFetching() - Method in interface com.datastax.driver.core.ResultSet
-
The number of rows that can be retrieved from this result set without
blocking to fetch.
- getBaseDelayMs() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
The base delay in milliseconds for this policy (e.g.
- getBlockingExecutorQueueDepth() - Method in class com.datastax.driver.core.Metrics
-
- getBloomFilterFalsePositiveChance() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the false positive chance for the Bloom filter of this table.
- 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.
- getBool(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a boolean.
- getBool(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a boolean.
- getBuildLabel() - Method in class com.datastax.driver.core.VersionNumber
-
The build label if there is one.
- 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.
- getByte(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a byte.
- getByte(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column 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.
- getBytes(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a byte array.
- getBytes(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a byte array.
- getBytesUnsafe(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.
- getBytesUnsafe(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a ByteBuffer.
- getBytesUnsafe(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a ByteBuffer.
- getCaching() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the caching 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.LatencyAwarePolicy
-
- getChildPolicy() - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
-
- getChildPolicy() - Method in class com.datastax.driver.core.policies.WhiteListPolicy
-
- getClosingChar() - Method in class com.datastax.driver.core.TypeCodec.CollectionCodec
-
- getClosingChar() - Method in class com.datastax.driver.core.TypeCodec.ListCodec
-
- getClosingChar() - Method in class com.datastax.driver.core.TypeCodec.SetCodec
-
- getCluster() - Method in interface com.datastax.driver.core.Session
-
Returns the Cluster
object this session is part of.
- getClusteringColumns() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the list of clustering columns for this table.
- getClusteringOrder() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the clustering order for this table.
- getClusterName() - Method in class com.datastax.driver.core.Cluster.Builder
-
- getClusterName() - Method in class com.datastax.driver.core.Cluster
-
The name of this cluster object.
- getClusterName() - Method in interface com.datastax.driver.core.Cluster.Initializer
-
An optional name for the created cluster.
- getClusterName() - Method in class com.datastax.driver.core.Metadata
-
The Cassandra name for the cluster connect to.
- 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.TableMetadata
-
Returns metadata on a column of this table.
- getColumnDefinitions() - Method in interface com.datastax.driver.core.ResultSet
-
Returns the columns returned in this ResultSet.
- getColumnDefinitions() - Method in interface com.datastax.driver.core.Row
-
Returns the columns contained in this Row.
- 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.TableMetadata
-
Returns a list containing all the columns of this table.
- getComment() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the commentary set for this table.
- getCompaction() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the compaction options for this table.
- 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.TableMetadata.Options
-
Returns the compression options for this table.
- getConfiguration() - Method in class com.datastax.driver.core.Cluster.Builder
-
The configuration that will be used for the new cluster.
- getConfiguration() - Method in class com.datastax.driver.core.Cluster
-
The cluster configuration.
- getConfiguration() - Method in interface com.datastax.driver.core.Cluster.Initializer
-
The configuration to use for the new cluster.
- getConfiguration() - Method in class com.datastax.driver.core.DelegatingCluster
-
- getConnectedHosts() - Method in interface com.datastax.driver.core.Session.State
-
The hosts to which the session is currently connected (more precisely, at the time
this State has been grabbed).
- getConnectedToHosts() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of Cassandra hosts the driver is currently connected to
(that is have at least one connection opened to).
- getConnectionErrors() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of connection to Cassandra nodes errors.
- getConnectTimeoutMillis() - Method in class com.datastax.driver.core.SocketOptions
-
The connection timeout in milliseconds.
- getConsistencyLevel() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getConsistencyLevel() - Method in exception com.datastax.driver.core.exceptions.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.
- 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
-
- 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).
- getDate(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value as a date (without time).
- getDate(String) - Method in interface com.datastax.driver.core.Row
-
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.
- getDecimal(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a variable length decimal.
- getDecimal(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a variable length decimal.
- getDefaultIdempotence() - Method in class com.datastax.driver.core.QueryOptions
-
The default idempotence for queries.
- getDefaultTimestamp() - Method in class com.datastax.driver.core.Statement
-
The default timestamp for this query.
- getDefaultTimeToLive() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the default TTL for this table.
- getDescription() - Method in class com.datastax.driver.core.QueryTrace.Event
-
The event description, that is which activity this event correspond to.
- getDouble(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.
- getDouble(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a double.
- getDouble(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a double.
- getDriverVersion() - Static method in class com.datastax.driver.core.Cluster
-
Returns the current version of the driver.
- getDSEPatch() - Method in class com.datastax.driver.core.VersionNumber
-
The DSE patch version number (will only be present for version of Cassandra in DSE).
- getDurationMicros() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the server-side duration of the query in microseconds.
- getEnd() - Method in class com.datastax.driver.core.TokenRange
-
Return the end of the range.
- getErrorMetrics() - Method in class com.datastax.driver.core.Metrics
-
Returns an object grouping metrics related to the errors encountered.
- getErrors() - Method in exception com.datastax.driver.core.exceptions.NoHostAvailableException
-
Return the hosts tried along with the error encountered while trying
them.
- getEvents() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the events contained in this trace.
- getExecutionInfo() - Method in interface com.datastax.driver.core.ResultSet
-
Returns information on the execution of the last query made for this ResultSet.
- getExecutionInfo() - Method in class com.datastax.driver.mapping.Result
-
Returns information on the execution of this query.
- getExecutorQueueDepth() - Method in class com.datastax.driver.core.Metrics
-
- 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.
- getFloat(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a float.
- getFloat(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a float.
- getFullName() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the full name of this aggregate.
- getFullName() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the full name of this function.
- 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.TableMetadata.Options
-
Returns the tombstone garbage collection grace time in seconds for this table.
- getHeartbeatIntervalSeconds() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the heart beat interval, after which a message is sent on an idle connection to make sure it's still alive.
- getHost() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
-
The host for which the authentication failed.
- getId() - Method in class com.datastax.driver.core.TableMetadata
-
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.
- 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() - Method in class com.datastax.driver.core.ColumnMetadata
-
Returns the indexing metadata on this column if the column is indexed.
- getIndexClassName() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
-
The name of the class used to implement the custom index, if it is one.
- getIndexedColumn() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
-
Returns the column this index metadata refers to.
- getIndexInterval() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the index interval option for this table.
- getIndexOf(String) - Method in class com.datastax.driver.core.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.
- getInet(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as an InetAddress.
- getInet(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as an InetAddress.
- getInFlightQueries(Host) - Method in interface com.datastax.driver.core.Session.State
-
The number of queries that are currently being executed though a given host.
- 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.
- getInitialResponse() - Method in class com.datastax.driver.auth.PrivilegedSaslClient
-
Generate an initial token to start the SASL handshake with server.
- 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.
- getInt(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as an integer.
- getInt(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as an integer.
- 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.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.TableMetadata
-
Returns the keyspace this table belong to.
- getKeyspace() - Method in class com.datastax.driver.core.UserType
-
The name of the keyspace this UDT is part of.
- getKeyspaces() - Method in class com.datastax.driver.core.Metadata
-
Returns a list of all the defined keyspaces.
- getKnownHosts() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of Cassandra hosts currently known by the driver (that is
whether they are currently considered up or down).
- getLanguage() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the programming language in which this function's body is written.
- getLatencyAtPercentile(Host, double) - Method in class com.datastax.driver.core.PerHostPercentileTracker
-
Returns the request latency for a host at a given percentile.
- getLatencyScore() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
-
The latency score for the host this is the stats of at the time of the snapshot.
- getList(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.
- getList(int, Class<T>) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a list.
- getList(String, Class<T>) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a list.
- getLoadBalancingPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The load balancing policy in use.
- getLocalReadRepairChance() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the cluster local read repair chance set for this table.
- getLoggedKeyspace() - Method in interface com.datastax.driver.core.Session
-
The keyspace to which this Session is currently logged in, if any.
- getLong(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.
- getLong(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a long.
- getLong(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a long.
- getMajor() - Method in class com.datastax.driver.core.VersionNumber
-
The major version number.
- 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.
- getMap(int, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a map.
- getMap(String, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a map.
- getMaxConnectionsPerHost(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the maximum number of connections per host.
- getMaxDelayMs() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
The maximum delay in milliseconds between reconnection attempts for this policy.
- getMaxIndexInterval() - Method in class com.datastax.driver.core.TableMetadata.Options
-
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.
- 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.
- 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.
- getMaxSimultaneousRequestsPerConnectionThreshold(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
- getMaxSimultaneousRequestsPerHostThreshold(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
- getMeasurementsCount() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
-
The number of recorded latency measurements for the host this is the stats of.
- getMemtableFlushPeriodInMs() - Method in class com.datastax.driver.core.TableMetadata.Options
-
- getMetadata() - Method in class com.datastax.driver.core.Cluster
-
Returns read-only metadata on the connected cluster.
- getMetadata() - Method in class com.datastax.driver.core.DelegatingCluster
-
- getMetrics() - Method in class com.datastax.driver.core.Cluster
-
The cluster metrics.
- getMetrics() - Method in class com.datastax.driver.core.DelegatingCluster
-
- getMetricsOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the metrics configuration, if metrics are enabled.
- 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.TableMetadata.Options
-
Returns the minimum index interval option for this table.
- getMinor() - Method in class com.datastax.driver.core.VersionNumber
-
The minor version number.
- getMinSimultaneousRequestsPerConnectionThreshold(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
- getMonth() - Method in class com.datastax.driver.core.LocalDate
-
Returns the month.
- getName() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
-
Returns the name of the column.
- getName(int) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the name of the i
th column in this metadata.
- getName() - Method in class com.datastax.driver.core.ColumnMetadata
-
Returns the name of the column.
- getName() - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
-
Returns the index name.
- getName() - Method in class com.datastax.driver.core.DataType
-
Returns the name of that type.
- getName() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the name of this keyspace.
- getName() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the name of this table.
- 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.
- 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.
- 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.
- getOpeningChar() - Method in class com.datastax.driver.core.TypeCodec.CollectionCodec
-
- getOpeningChar() - Method in class com.datastax.driver.core.TypeCodec.ListCodec
-
- getOpeningChar() - Method in class com.datastax.driver.core.TypeCodec.SetCodec
-
- getOption(String) - Method in class com.datastax.driver.core.ColumnMetadata.IndexMetadata
-
Return the value for the given option name.
- getOptions() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the options for this table.
- getOthers() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of requests that returned errors not accounted for by
another metric.
- 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.
- getPagingState() - Method in class com.datastax.driver.core.ExecutionInfo
-
The paging state of the query.
- getPagingState() - Method in class com.datastax.driver.core.StatementWrapper
-
- getPagingStateUnsafe() - Method in class com.datastax.driver.core.ExecutionInfo
-
Returns the "raw" paging state of the query.
- getParameters() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the parameters attached to this trace.
- getPartitioner() - Method in class com.datastax.driver.core.Metadata
-
The partitioner in use as reported by the Cassandra nodes.
- getPartitionKey() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the list of columns composing the partition key for this table.
- getPartitionKeyToken() - Method in interface com.datastax.driver.core.Row
-
Returns the value of the first column containing a
Token
.
- getPatch() - Method in class com.datastax.driver.core.VersionNumber
-
The patch version number.
- getPerHostPercentileLatencyTracker() - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
- getPolicies() - Method in class com.datastax.driver.core.Configuration
-
Returns the policies set for the cluster.
- getPoolingOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the connection pooling configuration.
- getPoolTimeoutMillis() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the timeout when trying to acquire a connection from a host's pool.
- getPopulateIOCacheOnFlush() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Whether the populate I/O cache on flush is set on this table.
- getPort() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the port used to connect to the Cassandra hosts.
- getPreparedId() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getPreparedId() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the prepared Id for this statement.
- getPreReleaseLabels() - Method in class com.datastax.driver.core.VersionNumber
-
The pre-release labels if relevants, i.e.
- getPrimaryKey() - Method in class com.datastax.driver.core.TableMetadata
-
Returns the list of columns composing the primary key for this table.
- getProtocolOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the Cassandra binary protocol level configuration (compression).
- getProtocolVersion() - Method in class com.datastax.driver.core.ProtocolOptions
-
The protocol version used by the Cluster instance.
- getQueriedHost() - Method in class com.datastax.driver.core.ExecutionInfo
-
Return the Cassandra host that coordinated this query.
- 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() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getQueryString() - Method in class com.datastax.driver.core.RegularStatement
-
Returns the query string for this statement.
- getQueryString() - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- getQueryString() - Method in class com.datastax.driver.core.SimpleStatement
-
- getQueryTrace() - Method in class com.datastax.driver.core.ExecutionInfo
-
The query trace if tracing was enabled on this query.
- getRack() - Method in class com.datastax.driver.core.Host
-
Returns the name of the rack this host is part of.
- getReadRepairChance() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the chance with which a read repair is triggered for this table.
- getReadTimeoutMillis() - Method in class com.datastax.driver.core.SocketOptions
-
The per-host read timeout in milliseconds.
- getReadTimeouts() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of read requests that returned a timeout (independently
of the final decision taken by the
RetryPolicy
).
- getReceiveBufferSize() - Method in class com.datastax.driver.core.SocketOptions
-
Returns the hint to the size of the underlying buffers for incoming network I/O.
- getReceivedAcknowledgements() - Method in exception com.datastax.driver.core.exceptions.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
-
- getRegistry() - Method in class com.datastax.driver.core.Metrics
-
Returns the registry containing all metrics.
- getReplicas(String, ByteBuffer) - Method in class com.datastax.driver.core.Metadata
-
Returns the set of hosts that are replica for a given partition key.
- getReplicas(String, TokenRange) - Method in class com.datastax.driver.core.Metadata
-
Returns the set of hosts that are replica for a given token range.
- getReplicateOnWrite() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns whether replicateOnWrite is set for this table.
- getReplication() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the replication options for this keyspace.
- getRequestsTimer() - Method in class com.datastax.driver.core.Metrics
-
Returns metrics on the user requests performed on the Cluster.
- getRequestType() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the type of request.
- getRequiredAcknowledgements() - Method in exception com.datastax.driver.core.exceptions.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
.
- getRetriesOnReadTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after a
read timed out.
- getRetriesOnUnavailable() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after an
unavailable exception.
- getRetriesOnWriteTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after a
write timed out.
- getRetryConsistencyLevel() - Method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
-
The consistency level for a retry decision.
- getRetryPolicy() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getRetryPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The retry policy in use.
- getRetryPolicy() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the retry policy sets for this prepared statement, if any.
- getRetryPolicy() - Method in class com.datastax.driver.core.Statement
-
Returns the retry policy sets for this query, if any.
- getRetryPolicy() - Method in class com.datastax.driver.core.StatementWrapper
-
- 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() - Method in class com.datastax.driver.core.BatchStatement
-
- getRoutingKey() - Method in class com.datastax.driver.core.BoundStatement
-
The routing key for this bound query.
- getRoutingKey() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getRoutingKey() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the routing key set for this query.
- getRoutingKey() - Method in class com.datastax.driver.core.querybuilder.Batch
-
Returns the first non-null routing key of the statements in this batch
or null otherwise.
- getRoutingKey() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getRoutingKey() - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- getRoutingKey() - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the routing key for the query.
- getRoutingKey() - Method in class com.datastax.driver.core.Statement
-
Returns the routing key (in binary raw form) to use for token aware
routing of this query.
- getRoutingKey() - Method in class com.datastax.driver.core.StatementWrapper
-
- getScoresSnapshot() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
-
Returns a snapshot of the scores (latency averages) maintained by this
policy.
- getSendBufferSize() - Method in class com.datastax.driver.core.SocketOptions
-
Returns the hint to the size of the underlying buffers for outgoing network I/O.
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getSerialConsistencyLevel() - Method in interface com.datastax.driver.core.PreparedStatement
-
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.QueryOptions
-
The default serial consistency level used by queries.
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.Statement
-
The serial consistency level for this query.
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.StatementWrapper
-
- getSession() - Method in interface com.datastax.driver.core.Session.State
-
The Session to which this State corresponds to.
- 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.
- getSet(int, Class<T>) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a set.
- getSet(String, Class<T>) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a set.
- 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.
- getShort(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a short.
- getShort(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a short.
- 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 node socket address.
- getSocketOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the low-level TCP configuration options used (tcpNoDelay, keepAlive, ...).
- getSoLinger() - Method in class com.datastax.driver.core.SocketOptions
-
Returns the linger-on-close timeout.
- getSource() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the address of the host having generated this event.
- getSourceElapsedMicros() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the number of microseconds elapsed on the source when this event
occurred since when the source started handling the query.
- getSpeculativeExecutionPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The speculative execution policy in use.
- getSpeculativeExecutions() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a speculative execution was started
because a previous execution did not complete within the delay
specified by
SpeculativeExecutionPolicy
.
- getSpeculativeRetry() - Method in class com.datastax.driver.core.TableMetadata.Options
-
Returns the speculative retry option for this table.
- getSSLOptions() - Method in class com.datastax.driver.core.ProtocolOptions
-
The SSLOptions
used by this cluster.
- getStart() - Method in class com.datastax.driver.core.TokenRange
-
Return the start of the range.
- getStartedAt() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the server-side timestamp of the start of this query.
- getState() - Method in class com.datastax.driver.core.Host
-
Returns a description of the host's state, as seen by the driver.
- getState() - Method in interface com.datastax.driver.core.Session
-
Return a snapshot of the state of this Session.
- getStateFunc() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the state function of this aggregate.
- 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.
- 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.
- getString(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a string.
- getString(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a string.
- getTable() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
-
Returns the name of the table this column is part of.
- getTable(int) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the table of the i
th column in this metadata.
- getTable(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the table of first occurrence of name
in this metadata.
- getTable() - Method in class com.datastax.driver.core.ColumnMetadata
-
Returns the metadata of the table this column is part of.
- getTable() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
If the failed creation was a table creation, the name of the table that already exists.
- getTable(String) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the metadata for a table contained in this keyspace.
- GettableByIndexData - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be retrieved by index (starting a 0).
- 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 a 0) 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.
- getTaskSchedulerQueueSize() - Method in class com.datastax.driver.core.Metrics
-
- getTcpNoDelay() - Method in class com.datastax.driver.core.SocketOptions
-
Returns whether Nagle's algorithm is disabled.
- getThreadName() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the name of the thread on which this event occurred.
- 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.
- getTime(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value as a long in nanoseconds since midnight.
- getTime(String) - Method in interface com.datastax.driver.core.Row
-
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.
- getTimestamp(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a date.
- getTimestamp(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a date.
- 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.
- 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.
- getUUID(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a UUID.
- getUUID(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a UUID.
- getValue() - Method in class com.datastax.driver.core.Token
-
Returns the raw value of this token.
- getValues() - Method in class com.datastax.driver.core.querybuilder.Batch
-
- getValues() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
The values to use for this statement.
- getValues() - Method in class com.datastax.driver.core.RegularStatement
-
The values to use for this statement.
- getValues() - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- getValues() - Method in class com.datastax.driver.core.SimpleStatement
-
The values to use for this statement.
- 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.
- getVarint(int) - Method in interface com.datastax.driver.core.Row
-
Returns the i
th value of this row as a variable length integer.
- getVarint(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column name
as a variable length integer.
- 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.
- SASL_PROTOCOL_NAME - Static variable in class com.datastax.driver.auth.KerberosAuthenticator
-
- SASL_PROTOCOL_NAME_PROPERTY - Static variable in class com.datastax.driver.auth.KerberosAuthenticator
-
- save(T) - Method in class com.datastax.driver.mapping.Mapper
-
Save an entity mapped by this mapper.
- save(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Save an entity mapped by this mapper and using special options for save.
- saveAsync(T) - Method in class com.datastax.driver.mapping.Mapper
-
Save 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.
- SchemaStatement - Class in com.datastax.driver.core.schemabuilder
-
- SchemaStatement() - Constructor for class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- select(String...) - Method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Start building a new SELECT query that selects the provided names.
- select() - 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.
- 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(UUID, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractUUIDCodec
-
- serialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.BlobCodec
-
- serialize(Boolean, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.BooleanCodec
-
- serialize(C, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.CollectionCodec
-
- serialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.CustomCodec
-
- serialize(LocalDate, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.DateCodec
-
- serialize(BigDecimal, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.DecimalCodec
-
- serialize(Double, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.DoubleCodec
-
- serialize(E, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.EnumIntCodec
-
- serialize(Float, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.FloatCodec
-
- serialize(InetAddress, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.InetCodec
-
- serialize(Integer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.IntCodec
-
- serialize(Long, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.LongCodec
-
- serialize(Map<K, V>, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.MapCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.MappingCodec
-
- serialize(T) - Method in class com.datastax.driver.core.TypeCodec.MappingCodec
-
- 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(Short, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.SmallIntCodec
-
- serialize(String, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.StringCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.StringParsingCodec
-
- serialize(Date, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.TimestampCodec
-
- serialize(UUID, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.TimeUUIDCodec
-
- serialize(Byte, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.TinyIntCodec
-
- serialize(TupleValue, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.TupleCodec
-
- serialize(UDTValue, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.UDTCodec
-
- serialize(BigInteger, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.VarintCodec
-
- serializeNoBoxing(boolean, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.BooleanCodec
-
- serializeNoBoxing(double, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.DoubleCodec
-
- serializeNoBoxing(float, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.FloatCodec
-
- serializeNoBoxing(int, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.IntCodec
-
- serializeNoBoxing(long, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.LongCodec
-
- serializeNoBoxing(boolean, ProtocolVersion) - Method in interface com.datastax.driver.core.TypeCodec.PrimitiveBooleanCodec
-
- serializeNoBoxing(byte, ProtocolVersion) - Method in interface com.datastax.driver.core.TypeCodec.PrimitiveByteCodec
-
- serializeNoBoxing(double, ProtocolVersion) - Method in interface com.datastax.driver.core.TypeCodec.PrimitiveDoubleCodec
-
- serializeNoBoxing(float, ProtocolVersion) - Method in interface com.datastax.driver.core.TypeCodec.PrimitiveFloatCodec
-
- serializeNoBoxing(int, ProtocolVersion) - Method in interface com.datastax.driver.core.TypeCodec.PrimitiveIntCodec
-
- serializeNoBoxing(long, ProtocolVersion) - Method in interface com.datastax.driver.core.TypeCodec.PrimitiveLongCodec
-
- serializeNoBoxing(short, ProtocolVersion) - Method in interface com.datastax.driver.core.TypeCodec.PrimitiveShortCodec
-
- serializeNoBoxing(short, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.SmallIntCodec
-
- serializeNoBoxing(byte, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.TinyIntCodec
-
- 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
.
- 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.
- SetCodec(TypeCodec<T>) - Constructor for class com.datastax.driver.core.TypeCodec.SetCodec
-
- setCompression(ProtocolOptions.Compression) - Method in class com.datastax.driver.core.ProtocolOptions
-
Sets the compression to use.
- setConnectionsPerHost(HostDistance, int, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the core and maximum number of connections per host in one call.
- setConnectTimeoutMillis(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets the connection timeout in milliseconds.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setConsistencyLevel(ConsistencyLevel) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets a default consistency level for all bound statements
created from this prepared statement.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default consistency level to use for queries.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.Statement
-
Sets the consistency level for the query.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.StatementWrapper
-
- setCoreConnectionsPerHost(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the core number of connections per host.
- setDate(int, Date) - Method in class com.datastax.driver.core.BoundStatement
-
- setDate(String, Date) - Method in class com.datastax.driver.core.BoundStatement
-
- 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).
- 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.Statement
-
Sets whether this statement is idempotent.
- setIdleTimeoutSeconds(int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the timeout before an idle connection is removed.
- setIdx(String, int, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Sets a list column value by index.
- setInet(int, InetAddress) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided inet address.
- setInet(String, InetAddress) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the
provided inet address.
- 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, whose 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, whose 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,
whose 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,
whose 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, whose 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, whose 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,
whose 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,
whose 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, whose 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, whose 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,
whose 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,
whose 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, whose 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, whose 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,
whose 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,
whose 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.
- 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.
- setMaxRequestsPerConnection(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the maximum number of requests per connection.
- setMaxSimultaneousRequestsPerConnectionThreshold(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
- setMaxSimultaneousRequestsPerHostThreshold(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
- setMinSimultaneousRequestsPerConnectionThreshold(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
- 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.
- setObject(int, V) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided value.
- setObject(String, V) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided value.
- setObject(int, V) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided value.
- setObject(String, V) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided value.
- setOf(Class<T>) - Static method in class com.datastax.driver.core.CodecUtils
-
- setOf(TypeToken<T>) - Static method in class com.datastax.driver.core.CodecUtils
-
- 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.
- setPagingState(PagingState) - Method in class com.datastax.driver.core.Statement
-
Sets the paging state.
- setPagingState(PagingState) - Method in class com.datastax.driver.core.StatementWrapper
-
- setPagingStateUnsafe(byte[]) - Method in class com.datastax.driver.core.Statement
-
Sets the paging state.
- setPartitionKeyToken(Token) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable "partition key token
"
to the provided token (this is the name generated by Cassandra for markers
corresponding to a token(...)
call).
- setPerHostPercentileLatencyTracker(PerHostPercentileTracker) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
- setPoolTimeoutMillis(int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the timeout when trying to acquire a connection from a host's pool.
- setReadTimeoutMillis(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets the per-host read timeout in milliseconds.
- setReceiveBufferSize(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets a hint to the size of the underlying buffers for incoming network I/O.
- setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setRetryPolicy(RetryPolicy) - Method in interface com.datastax.driver.core.PreparedStatement
-
Convenience method to set a default retry policy for the BoundStatement
created from this prepared statement.
- setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.Statement
-
Sets the retry policy to use for this query.
- setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.StatementWrapper
-
- setReuseAddress(boolean) - Method in class com.datastax.driver.core.SocketOptions
-
Sets whether to enable reuse-address.
- setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the routing key for this bound statement.
- setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setRoutingKey(ByteBuffer...) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setRoutingKey(ByteBuffer) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets the routing key for this prepared statement.
- setRoutingKey(ByteBuffer...) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets the routing key for this query.
- setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.SimpleStatement
-
Sets the routing key for this query.
- setRoutingKey(ByteBuffer...) - Method in class com.datastax.driver.core.SimpleStatement
-
Sets the routing key for this query.
- setSendBufferSize(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets a hint to the size of the underlying buffers for outgoing network I/O.
- setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.BatchStatement
-
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, whose 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, whose 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,
whose 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,
whose 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, whose 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, whose 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,
whose 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,
whose 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 set by index (starting a 0).
- 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 set either by index (starting a 0) 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.
- 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.
- simpleColumns - Variable in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
- SimpleStatement - Class in com.datastax.driver.core
-
A simple RegularStatement
implementation built directly from a query
string.
- SimpleStatement(String, Cluster) - Constructor for class com.datastax.driver.core.SimpleStatement
-
- SimpleStatement(String, Cluster, Object...) - Constructor for class com.datastax.driver.core.SimpleStatement
-
- 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.
- 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.
- 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 - Class in com.datastax.driver.core
-
Options to provide to enable SSL connections.
- SSLOptions() - Constructor for class com.datastax.driver.core.SSLOptions
-
Creates default SSL options.
- SSLOptions(SSLContext, String[]) - Constructor for class com.datastax.driver.core.SSLOptions
-
Creates SSL options that uses the provided SSL context and cipher suites.
- 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
-
- StringCodec(DataType, Charset) - Constructor for class com.datastax.driver.core.TypeCodec.StringCodec
-
- StringParsingCodec(Class<T>) - Constructor for class com.datastax.driver.core.TypeCodec.StringParsingCodec
-
- StringParsingCodec(TypeToken<T>) - Constructor for class com.datastax.driver.core.TypeCodec.StringParsingCodec
-
- StringParsingCodec(TypeCodec<String>, Class<T>) - Constructor for class com.datastax.driver.core.TypeCodec.StringParsingCodec
-
- StringParsingCodec(TypeCodec<String>, TypeToken<T>) - Constructor for class com.datastax.driver.core.TypeCodec.StringParsingCodec
-
- SuccessCallback() - Constructor for class com.datastax.driver.core.utils.MoreFutures.SuccessCallback
-
- SUPPORTED_MECHANISMS - Static variable in class com.datastax.driver.auth.KerberosAuthenticator
-
- SyntaxError - Exception in com.datastax.driver.core.exceptions
-
Indicates a syntax error in a query.
- SyntaxError(String) - Constructor for exception com.datastax.driver.core.exceptions.SyntaxError
-