- caching(SchemaBuilder.Caching) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the caching type for Cassandra 2.0.x.
- caching(SchemaBuilder.KeyCaching, TableOptions.CachingRowsPerPartition) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the caching options for Cassandra 2.1.x.
- CamelCase(String...) - Constructor for class com.datastax.driver.mapping.NamingConventions.CamelCase
-
- cancel() - Method in interface com.datastax.driver.core.AsyncContinuousPagingResult
-
Cancels the continuous query.
- cancel() - Method in interface com.datastax.driver.core.ContinuousPagingResult
-
Cancels the continuous query.
- cancel(boolean) - Method in interface com.datastax.driver.core.ResultSetFuture
-
Attempts to cancel the execution of the request corresponding to this future.
- cassandraVersion - Variable in class com.datastax.driver.core.AbstractTableMetadata
-
- cast(Object, DataType) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a Cast of a column using the given dataType.
- cast(Object, DataType) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Creates a cast of an expression to a given CQL type.
- cast(Object, DataType) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
-
- cboolean() - Static method in class com.datastax.driver.core.DataType
-
Returns the BOOLEAN type.
- cboolean() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type boolean
.
- cdc(Boolean) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define whether or not change data capture is enabled on this table.
- cdouble() - Static method in class com.datastax.driver.core.DataType
-
Returns the DOUBLE type.
- cdouble() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type double
.
- cfloat() - Static method in class com.datastax.driver.core.DataType
-
Returns the FLOAT type.
- cfloat() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type float
.
- ChainableLoadBalancingPolicy - Interface in com.datastax.driver.core.policies
-
A load balancing policy that wraps another policy.
- channelClass() - Method in class com.datastax.driver.core.NettyOptions
-
Return the specific SocketChannel
subclass to use.
- CharDelimitedNamingConvention(String, boolean) - Constructor for class com.datastax.driver.mapping.NamingConventions.CharDelimitedNamingConvention
-
- checkNotInEventLoop() - Method in class com.datastax.driver.core.AbstractSession
-
Checks that the current thread is not one of the Netty I/O threads used by the driver.
- checkSchemaAgreement() - Method in class com.datastax.driver.core.Metadata
-
Checks whether hosts that are currently up agree on the schema definition.
- cint() - Static method in class com.datastax.driver.core.DataType
-
Returns the INT type.
- cint() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type int
.
- cipherSuites - Variable in class com.datastax.driver.core.JdkSSLOptions.Builder
-
Deprecated.
- cipherSuites - Variable in class com.datastax.driver.core.JdkSSLOptions
-
Deprecated.
- CLASS_NAME - Static variable in class com.datastax.driver.dse.geometry.codecs.LineStringCodec
-
The name of the server-side type handled by this codec.
- CLASS_NAME - Static variable in class com.datastax.driver.dse.geometry.codecs.PointCodec
-
The name of the server-side type handled by this codec.
- CLASS_NAME - Static variable in class com.datastax.driver.dse.geometry.codecs.PolygonCodec
-
The name of the server-side type handled by this codec.
- CLASS_NAME - Static variable in class com.datastax.driver.dse.search.DateRangeCodec
-
The name of the server-side type handled by this codec.
- ClasspathUtil - Class in com.datastax.driver.core
-
Utility methods and fields to inspect classpath contents.
- ClasspathUtil() - Constructor for class com.datastax.driver.core.ClasspathUtil
-
- Clause - Class in com.datastax.driver.core.querybuilder
-
- Clause() - Constructor for class com.datastax.driver.core.querybuilder.Clause
-
- clear() - Method in class com.datastax.driver.core.BatchStatement
-
Clears this batch, removing all statements added so far.
- ClientWriteException - Exception in com.datastax.driver.core.exceptions
-
An error occurred server side when sending asynchronous results to the client (us), i.e.
- ClientWriteException(String) - Constructor for exception com.datastax.driver.core.exceptions.ClientWriteException
-
- close() - Method in class com.datastax.driver.core.AbstractSession
-
Initiates a shutdown of this session instance and blocks until that shutdown completes.
- close() - Method in class com.datastax.driver.core.Cluster
-
Initiates a shutdown of this cluster instance and blocks until that shutdown completes.
- close() - Method in class com.datastax.driver.core.DelegatingCluster
-
- close() - Method in interface com.datastax.driver.core.policies.AddressTranslator
-
- close() - Method in class com.datastax.driver.core.policies.ConstantReconnectionPolicy
-
- close() - Method in class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
-
- close() - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
-
- close() - Method in class com.datastax.driver.core.policies.DefaultRetryPolicy
-
- close() - Method in class com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy
-
Deprecated.
- close() - Method in class com.datastax.driver.core.policies.EC2MultiRegionAddressTranslator
-
- close() - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy
-
- close() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
- close() - Method in class com.datastax.driver.core.policies.FallthroughRetryPolicy
-
- close() - Method in class com.datastax.driver.core.policies.HostFilterPolicy
-
- close() - Method in class com.datastax.driver.core.policies.IdempotenceAwareRetryPolicy
-
Deprecated.
- close() - Method in class com.datastax.driver.core.policies.IdentityTranslator
-
- close() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
-
- close() - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
-
Gets invoked at cluster shutdown.
- close() - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
-
- close() - Method in class com.datastax.driver.core.policies.NoSpeculativeExecutionPolicy
-
- close() - Method in class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
-
- close() - Method in interface com.datastax.driver.core.policies.ReconnectionPolicy
-
Gets invoked at cluster shutdown.
- close() - Method in interface com.datastax.driver.core.policies.RetryPolicy
-
Gets invoked at cluster shutdown.
- close() - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
-
- close() - Method in interface com.datastax.driver.core.policies.SpeculativeExecutionPolicy
-
Gets invoked at cluster shutdown.
- close() - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
-
- close() - Method in interface com.datastax.driver.core.Session
-
Initiates a shutdown of this session instance and blocks until that shutdown completes.
- close() - Method in class com.datastax.driver.dse.DseLoadBalancingPolicy
-
- close() - Method in class com.datastax.dse.graph.internal.DseRemoteConnection
-
- closeAsync() - Method in class com.datastax.driver.core.Cluster
-
Initiates a shutdown of this cluster instance.
- closeAsync() - Method in class com.datastax.driver.core.DelegatingCluster
-
- closeAsync() - Method in interface com.datastax.driver.core.Session
-
Initiates a shutdown of this session instance.
- CloseFuture - Class in com.datastax.driver.core
-
A future on the shutdown of a Cluster or Session instance.
- Cluster - Class in com.datastax.driver.core
-
Information and known state of a Cassandra cluster.
- Cluster(String, List<EndPoint>, Configuration) - Constructor for class com.datastax.driver.core.Cluster
-
Constructs a new Cluster instance.
- Cluster(Cluster.Initializer) - Constructor for class com.datastax.driver.core.Cluster
-
Constructs a new Cluster instance.
- cluster - Variable in class com.datastax.driver.core.QueryLogger
-
- Cluster.Builder - Class in com.datastax.driver.core
-
Helper class to build
Cluster
instances.
- Cluster.EnhancedInitializer - Interface in com.datastax.driver.core
-
This interface exists solely for backward compatibility purposes, because adding the methods
directly to Initializer
would have broken clients that implemented it.
- Cluster.Initializer - Interface in com.datastax.driver.core
-
- ClusteringColumn - Annotation Type in com.datastax.driver.mapping.annotations
-
Annotation for properties that map to a CQL clustering column.
- clusteringColumns - Variable in class com.datastax.driver.core.AbstractTableMetadata
-
- clusteringOrder - Variable in class com.datastax.driver.core.AbstractTableMetadata
-
- ClusteringOrder - Enum in com.datastax.driver.core
-
Clustering orders.
- clusteringOrder(String, SchemaBuilder.Direction) - Method in class com.datastax.driver.core.schemabuilder.Create.Options
-
Add a clustering order for this table.
- ClusterWidePercentileTracker - Class in com.datastax.driver.core
-
A PercentileTracker
that aggregates all measurements into a single histogram.
- ClusterWidePercentileTracker.Builder - Class in com.datastax.driver.core
-
Helper class to build PerHostPercentileTracker
instances with a fluent interface.
- codecFor(T) - Method in class com.datastax.driver.core.CodecRegistry
-
Returns a
codec
that accepts the given value.
- codecFor(DataType) - Method in class com.datastax.driver.core.CodecRegistry
-
- codecFor(DataType, Class<T>) - Method in class com.datastax.driver.core.CodecRegistry
-
Returns a
codec
that accepts the given
CQL type
and the
given Java class.
- codecFor(DataType, TypeToken<T>) - Method in class com.datastax.driver.core.CodecRegistry
-
Returns a
codec
that accepts the given
CQL type
and the
given Java type.
- codecFor(DataType, T) - Method in class com.datastax.driver.core.CodecRegistry
-
Returns a
codec
that accepts the given
CQL type
and the
given value.
- CodecNotFoundException - Exception in com.datastax.driver.core.exceptions
-
- CodecNotFoundException(String, DataType, TypeToken<?>) - Constructor for exception com.datastax.driver.core.exceptions.CodecNotFoundException
-
- CodecNotFoundException(Throwable, DataType, TypeToken<?>) - Constructor for exception com.datastax.driver.core.exceptions.CodecNotFoundException
-
- CodecRegistry - Class in com.datastax.driver.core
-
- CodecRegistry() - Constructor for class com.datastax.driver.core.CodecRegistry
-
Creates a new instance initialized with built-in codecs for all the base CQL types.
- CodecUtils - Class in com.datastax.driver.core
-
A set of utility methods to deal with type conversion and serialization.
- coldReadsRatioToOmit(Double) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions
-
The maximum percentage of reads/sec that ignored SSTables may account for.
- column(String) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
-
Deletes the provided column.
- column(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Declares that the name in argument should be treated as a column name.
- column(String) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Selects the provided column.
- column(String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
-
- Column - Annotation Type in com.datastax.driver.mapping.annotations
-
Annotation that allows to specify the name of the CQL column to which the property should be
mapped.
- ColumnDefinitions - Class in com.datastax.driver.core
-
- ColumnDefinitions.Definition - Class in com.datastax.driver.core
-
A column definition.
- ColumnMetadata - Class in com.datastax.driver.core
-
Describes a Column.
- columns - Variable in class com.datastax.driver.core.AbstractTableMetadata
-
- com.datastax.driver.core - package com.datastax.driver.core
-
The main package for the DataStax Java driver for Cassandra.
- com.datastax.driver.core.exceptions - package com.datastax.driver.core.exceptions
-
Exceptions thrown by the DataStax Java driver for Cassandra.
- com.datastax.driver.core.policies - package com.datastax.driver.core.policies
-
Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra.
- com.datastax.driver.core.querybuilder - package com.datastax.driver.core.querybuilder
-
A CQL3 query builder.
- com.datastax.driver.core.schemabuilder - package com.datastax.driver.core.schemabuilder
-
A CQL3 schema builder.
- com.datastax.driver.core.utils - package com.datastax.driver.core.utils
-
- com.datastax.driver.dse - package com.datastax.driver.dse
-
- com.datastax.driver.dse.auth - package com.datastax.driver.dse.auth
-
- com.datastax.driver.dse.geometry - package com.datastax.driver.dse.geometry
-
- com.datastax.driver.dse.geometry.codecs - package com.datastax.driver.dse.geometry.codecs
-
- com.datastax.driver.dse.graph - package com.datastax.driver.dse.graph
-
- com.datastax.driver.dse.search - package com.datastax.driver.dse.search
-
- com.datastax.driver.dse.serde - package com.datastax.driver.dse.serde
-
- com.datastax.driver.extras.codecs - package com.datastax.driver.extras.codecs
-
This package and its subpackages contain several convenience
TypeCodec
s.
- com.datastax.driver.extras.codecs.arrays - package com.datastax.driver.extras.codecs.arrays
-
This package contains a collection of convenience
TypeCodec
instances useful for serializing between CQL lists and Java arrays.
- com.datastax.driver.extras.codecs.date - package com.datastax.driver.extras.codecs.date
-
This package contains a collection of convenience
TypeCodec
instances useful for serializing between CQL temporal types and Java primitive types.
- com.datastax.driver.extras.codecs.enums - package com.datastax.driver.extras.codecs.enums
-
This package contains a collection of convenience
TypeCodec
instances useful for serializing between CQL types and Java enums.
- com.datastax.driver.extras.codecs.guava - package com.datastax.driver.extras.codecs.guava
-
This package contains a collection of convenience
TypeCodec
instances useful for serializing between CQL types and Guava-specific Java types.
- com.datastax.driver.extras.codecs.jdk8 - package com.datastax.driver.extras.codecs.jdk8
-
This package contains a collection of convenience
TypeCodec
instances useful for serializing between CQL types and Java 8 types, such as the ones
from the
java.time
API and
java.util.Optional
.
- com.datastax.driver.extras.codecs.joda - package com.datastax.driver.extras.codecs.joda
-
This package contains a collection of convenience
TypeCodec
instances useful for serializing between CQL types and Joda Time types such as
DateTime
.
- com.datastax.driver.extras.codecs.json - package com.datastax.driver.extras.codecs.json
-
This package contains a collection of convenience
TypeCodec
instances useful for serializing JSON structures.
- com.datastax.driver.mapping - package com.datastax.driver.mapping
-
- com.datastax.driver.mapping.annotations - package com.datastax.driver.mapping.annotations
-
- com.datastax.dse.graph.api - package com.datastax.dse.graph.api
-
- com.datastax.dse.graph.api.predicates - package com.datastax.dse.graph.api.predicates
-
- com.datastax.dse.graph.internal - package com.datastax.dse.graph.internal
-
- com.datastax.dse.graph.internal.serde - package com.datastax.dse.graph.internal.serde
-
- com.datastax.dse.graph.internal.utils - package com.datastax.dse.graph.internal.utils
-
- comment(String) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define a human readable comment describing the table.
- compactionOptions(TableOptions.CompactionOptions) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the compaction options.
- compactionWindowSize(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions
-
Sets the number of units that make up a window.
- compactionWindowUnit(TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.CompactionWindowUnit) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions
-
Sets the time unit used to define the window size
- compactStorage() - Method in class com.datastax.driver.core.schemabuilder.Create.Options
-
Enable the compact storage option for the table.
- compareTo(TokenRange) - Method in class com.datastax.driver.core.TokenRange
-
- compareTo(VersionNumber) - Method in class com.datastax.driver.core.VersionNumber
-
- compressionOptions(TableOptions.CompressionOptions) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the compression options.
- Computed - Annotation Type in com.datastax.driver.mapping.annotations
-
Annotates a "computed" property, which gets filled from a CQL expression in the SELECT query used
to retrieve an entity.
- computeKey(Host, Statement, Exception) - Method in class com.datastax.driver.core.ClusterWidePercentileTracker
-
- computeKey(Host, Statement, Exception) - Method in class com.datastax.driver.core.PercentileTracker
-
Computes a key used to categorize measurements.
- computeKey(Host, Statement, Exception) - Method in class com.datastax.driver.core.PerHostPercentileTracker
-
- computeNext(long) - Method in class com.datastax.driver.core.AbstractMonotonicTimestampGenerator
-
Compute the next timestamp, given the last timestamp previously generated.
- Configuration - Class in com.datastax.driver.core
-
The configuration of the cluster.
- Configuration(Configuration) - Constructor for class com.datastax.driver.core.Configuration
-
Copy constructor.
- Configuration.Builder - Class in com.datastax.driver.core
-
A builder to create a new Configuration
object.
- connect() - Method in class com.datastax.driver.core.Cluster
-
Creates a new session on this cluster and initialize it.
- connect(String) - Method in class com.datastax.driver.core.Cluster
-
Creates a new session on this cluster, initialize it and sets the keyspace to the provided one.
- connect() - Method in class com.datastax.driver.core.DelegatingCluster
-
- connect(String) - Method in class com.datastax.driver.core.DelegatingCluster
-
- connect() - Method in class com.datastax.driver.dse.DseCluster
-
Creates a new DSE session on this cluster and initializes it.
- connect(String) - Method in class com.datastax.driver.dse.DseCluster
-
Creates a new DSE session on this cluster, initializes it and sets the keyspace to the provided
one.
- connectAsync() - Method in class com.datastax.driver.core.Cluster
-
Creates a new session on this cluster and initializes it asynchronously.
- connectAsync(String) - Method in class com.datastax.driver.core.Cluster
-
Creates a new session on this cluster, and initializes it to the given keyspace asynchronously.
- connectAsync() - Method in class com.datastax.driver.core.DelegatingCluster
-
- connectAsync(String) - Method in class com.datastax.driver.core.DelegatingCluster
-
- connectAsync() - Method in class com.datastax.driver.dse.DseCluster
-
Creates a new DSE session on this cluster and initializes it asynchronously.
- connectAsync(String) - Method in class com.datastax.driver.dse.DseCluster
-
Creates a new DSE session on this cluster, and initializes it to the given keyspace
asynchronously.
- ConnectionException - Exception in com.datastax.driver.core.exceptions
-
Indicates that a connection to a host has encountered a problem and that it should be closed.
- ConnectionException(EndPoint, String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.ConnectionException
-
- ConnectionException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.ConnectionException
-
- ConsistencyLevel - Enum in com.datastax.driver.core
-
- consistencyLevel(ConsistencyLevel) - Static method in class com.datastax.driver.mapping.Mapper.Option
-
Creates a new Option object to add a consistency level value to a mapper operation.
- ConstantReconnectionPolicy - Class in com.datastax.driver.core.policies
-
A reconnection policy that waits a constant time between each reconnection attempt.
- ConstantReconnectionPolicy(long) - Constructor for class com.datastax.driver.core.policies.ConstantReconnectionPolicy
-
Creates a reconnection policy that creates with the provided constant wait time between
reconnection attempts.
- ConstantSpeculativeExecutionPolicy - Class in com.datastax.driver.core.policies
-
- ConstantSpeculativeExecutionPolicy(long, int) - Constructor for class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
-
Builds a new instance.
- contains(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns whether this metadata contains a given name.
- contains(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "contains" WHERE
clause stating the provided column must contain the value
provided.
- contains(Token) - Method in class com.datastax.driver.core.TokenRange
-
Checks whether this range contains a given token.
- contains(TupleType) - Method in class com.datastax.driver.core.TupleType
-
Return true
if this tuple type contains the given tuple type, and false
otherwise.
- contains(String) - Method in class com.datastax.driver.core.UserType
-
Returns whether this UDT contains a given field.
- contains(Geometry) - Method in class com.datastax.driver.dse.geometry.Distance
-
- contains(Geometry) - Method in class com.datastax.driver.dse.geometry.Geometry
-
Tests whether this geospatial type instance contains another instance.
- containsKey(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "contains key" WHERE
clause stating the provided column must contain the key
provided.
- context - Variable in class com.datastax.driver.core.JdkSSLOptions.Builder
-
Deprecated.
- context - Variable in class com.datastax.driver.core.JdkSSLOptions
-
Deprecated.
- context - Variable in class com.datastax.driver.core.NettySSLOptions
-
Deprecated.
- ContinuousPagingOptions - Class in com.datastax.driver.core
-
The options for continuous paging.
- ContinuousPagingOptions.Builder - Class in com.datastax.driver.core
-
A helper to create continuous paging options.
- ContinuousPagingOptions.PageUnit - Enum in com.datastax.driver.core
-
The page unit, either bytes or rows.
- ContinuousPagingResult - Interface in com.datastax.driver.core
-
- ContinuousPagingSession - Interface in com.datastax.driver.core
-
A session that has the ability to execute continuous paging queries.
- CoordinatorException - Interface in com.datastax.driver.core.exceptions
-
An interface for exceptions that are able to report the address of the coordinator host that was
contacted.
- copy() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
- copy(EndPoint) - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
Create a copy of this exception with a nicer stack trace, and including the coordinator address
that caused this exception to be raised.
- copy() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.BusyConnectionException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.BusyPoolException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.CodecNotFoundException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.ConnectionException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.DriverException
-
Copy the exception.
- copy() - Method in exception com.datastax.driver.core.exceptions.DriverInternalError
-
- copy() - Method in exception com.datastax.driver.core.exceptions.FrameTooLongException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.FunctionExecutionException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.InvalidConfigurationInQueryException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.InvalidQueryException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.InvalidTypeException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.NoHostAvailableException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.OperationTimedOutException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.OverloadedException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.ProtocolError
-
- copy() - Method in exception com.datastax.driver.core.exceptions.ReadFailureException
-
- copy(EndPoint) - Method in exception com.datastax.driver.core.exceptions.ReadFailureException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.ReadTimeoutException
-
- copy(EndPoint) - Method in exception com.datastax.driver.core.exceptions.ReadTimeoutException
-
Create a copy of this exception with a nicer stack trace, and including the coordinator address
that caused this exception to be raised.
- copy() - Method in exception com.datastax.driver.core.exceptions.ServerError
-
- copy() - Method in exception com.datastax.driver.core.exceptions.SyntaxError
-
- copy() - Method in exception com.datastax.driver.core.exceptions.TraceRetrievalException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.TransportException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.TruncateException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.UnauthorizedException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
- copy(EndPoint) - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
Create a copy of this exception with a nicer stack trace, and including the coordinator address
that caused this exception to be raised.
- copy() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.UnresolvedUserTypeException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.UnsupportedFeatureException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.WriteFailureException
-
- copy(EndPoint) - Method in exception com.datastax.driver.core.exceptions.WriteFailureException
-
- copy() - Method in exception com.datastax.driver.core.exceptions.WriteTimeoutException
-
- copy(EndPoint) - Method in exception com.datastax.driver.core.exceptions.WriteTimeoutException
-
Create a copy of this exception with a nicer stack trace, and including the coordinator address
that caused this exception to be raised.
- copy(boolean) - Method in class com.datastax.driver.core.UserType
-
- CORE_POOL_LOCAL_KEY - Static variable in class com.datastax.driver.core.PoolingOptions
-
- CORE_POOL_REMOTE_KEY - Static variable in class com.datastax.driver.core.PoolingOptions
-
- count(Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a count(x)
built-in function call.
- count(Object) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Creates a count(x)
built-in function call.
- count(Object) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
-
- countAll() - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Selects the count of all returned rows (i.e.
- countAll() - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
-
- countBoundValues(BatchStatement) - Method in class com.datastax.driver.core.QueryLogger
-
- counter() - Static method in class com.datastax.driver.core.DataType
-
Returns the COUNTER type.
- counter() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type counter
.
- cqlType - Variable in class com.datastax.driver.core.TypeCodec
-
- create(Row) - Method in class com.datastax.driver.core.DefaultEndPointFactory
-
- create(Row) - Method in interface com.datastax.driver.core.EndPointFactory
-
Creates an instance from a row in system.peers
, or returns null
if there is no
sufficient information.
- Create - Class in com.datastax.driver.core.schemabuilder
-
A built CREATE TABLE statement.
- create(Row) - Method in class com.datastax.driver.core.SniEndPointFactory
-
- Create.Options - Class in com.datastax.driver.core.schemabuilder
-
The table options of a CREATE TABLE statement.
- createAccessor(Class<T>) - Method in class com.datastax.driver.mapping.MappingManager
-
Creates an accessor object based on the provided interface (that must be annotated by a
Accessor
annotation).
- createBlockingExecutor(String) - Method in class com.datastax.driver.core.ThreadingOptions
-
Builds the executor used to block on new connections before they are added to a pool.
- createExecutor(String) - Method in class com.datastax.driver.core.ThreadingOptions
-
Builds the main internal executor, used for tasks such as scheduling speculative executions,
triggering registered
SchemaChangeListener
s, reacting to node state changes, and
metadata updates.
- CreateIndex - Class in com.datastax.driver.core.schemabuilder
-
A built CREATE INDEX statement.
- createIndex(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new CREATE INDEX statement.
- CreateIndex.CreateIndexOn - Class in com.datastax.driver.core.schemabuilder
-
- CreateIndexOn() - Constructor for class com.datastax.driver.core.schemabuilder.CreateIndex.CreateIndexOn
-
- CreateKeyspace - Class in com.datastax.driver.core.schemabuilder
-
A built CREATE KEYSPACE statement.
- CreateKeyspace(String) - Constructor for class com.datastax.driver.core.schemabuilder.CreateKeyspace
-
- createKeyspace(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new CREATE KEYSPACE statement.
- createMappedProperty(Class<?>, String, String, Field, Method, Method, Map<Class<? extends Annotation>, Annotation>) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
-
- createReaperExecutor(String) - Method in class com.datastax.driver.core.ThreadingOptions
-
Builds the executor for an internal maintenance task used to clean up closed connections.
- createReconnectionExecutor(String) - Method in class com.datastax.driver.core.ThreadingOptions
-
Builds the executor when reconnection attempts will be scheduled.
- createScheduledTasksExecutor(String) - Method in class com.datastax.driver.core.ThreadingOptions
-
Builds the executor to handle host state notifications from Cassandra.
- createTable(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new CREATE TABLE statement.
- createTable(String, String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new CREATE TABLE statement.
- createThreadFactory(String, String) - Method in class com.datastax.driver.core.ThreadingOptions
-
Builds a thread factory for the threads created by a given executor.
- CreateType - Class in com.datastax.driver.core.schemabuilder
-
A built CREATE TYPE statement.
- createType(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new CREATE TYPE statement.
- createType(String, String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new CREATE TYPE statement.
- currentPage() - Method in interface com.datastax.driver.core.AsyncContinuousPagingResult
-
Returns an iterable of the rows in the current page.
- currentTimeMicros() - Static method in class com.datastax.driver.core.Native
-
Returns the current timestamp with microsecond precision via a system call to gettimeofday
, through JNR C library.
- custom(String) - Static method in class com.datastax.driver.core.DataType
-
Returns a Custom type.
- custom(DataType.CustomType) - Static method in class com.datastax.driver.core.TypeCodec
-
Return a newly-created codec for the given CQL custom type.
- CUSTOM_INDEX_OPTION_NAME - Static variable in class com.datastax.driver.core.IndexMetadata
-
The name of the option used to specify a custom index class name.
- gcGraceSeconds(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the time to wait before garbage collecting tombstones (deletion markers).
- Geo - Class in com.datastax.dse.graph.api.predicates
-
- Geo() - Constructor for class com.datastax.dse.graph.api.predicates.Geo
-
- Geo.Unit - Enum in com.datastax.dse.graph.api.predicates
-
- Geometry - Class in com.datastax.driver.dse.geometry
-
The driver-side representation for a DSE geospatial type.
- GeoPredicate - Enum in com.datastax.dse.graph.internal
-
List of predicates for geolocation usage with DseGraph and Search indexes.
- 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(String) - Method in interface com.datastax.driver.dse.graph.GraphNode
-
- get(int) - Method in interface com.datastax.driver.dse.graph.GraphNode
-
- get(String) - Method in class com.datastax.driver.dse.graph.ObjectGraphNode
-
- get(int) - Method in class com.datastax.driver.dse.graph.ObjectGraphNode
-
- get(String) - Method in interface com.datastax.driver.dse.serde.Node
-
Returns the value of the specified field of an object node.
- get(int) - Method in interface com.datastax.driver.dse.serde.Node
-
Returns the element node at the specified index
of an array node.
- get(Object...) - Method in class com.datastax.driver.mapping.Mapper
-
Fetch an entity based on its primary key.
- getAchievedConsistencyLevel() - Method in class com.datastax.driver.core.ExecutionInfo
-
If the query returned without achieving the requested consistency level due to the
RetryPolicy
, this return the biggest consistency level that
has been actually achieved by the query.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.BusyConnectionException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.BusyPoolException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.ConnectionException
-
Deprecated.
- getAddress() - Method in interface com.datastax.driver.core.exceptions.CoordinatorException
-
- getAddress() - Method in exception com.datastax.driver.core.exceptions.FunctionExecutionException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.InvalidQueryException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.OverloadedException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.ProtocolError
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.QueryConsistencyException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.ServerError
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.SyntaxError
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.TruncateException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnauthorizedException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
-
Deprecated.
- getAddress() - Method in class com.datastax.driver.core.Host
-
- getAddressTranslator() - Method in class com.datastax.driver.core.policies.Policies
-
The address translator in use.
- getAggregate(String, Collection<DataType>) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition of an aggregate in this keyspace.
- getAggregate(String, DataType...) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition of an aggregate in this keyspace.
- getAggregates() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the aggregates defined in this keyspace.
- getAliveReplicas() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
The number of replicas that were known to be alive by the Cassandra coordinator node when it
tried to execute the operation.
- getAllExecutionInfo() - Method in interface com.datastax.driver.core.PagingIterable
-
Return the execution information for all queries made to retrieve this result set.
- getAllExecutionInfo() - Method in class com.datastax.driver.dse.graph.GraphResultSet
-
Returns the execution information for all queries made to retrieve this result set.
- getAllExecutionInfo() - Method in class com.datastax.driver.mapping.Result
-
- getAllHosts() - Method in class com.datastax.driver.core.Metadata
-
Returns the known hosts of this cluster.
- getAllIndexesOf(String) - Method in class com.datastax.driver.core.UDTValue
-
- getAllStats() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot
-
A map with the stats for all hosts tracked by the LatencyAwarePolicy
at the time of
the snapshot.
- getApplicationName() - Method in class com.datastax.driver.dse.DseConfiguration
-
- getApplicationVersion() - Method in class com.datastax.driver.dse.DseConfiguration
-
- getArguments() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the names and types of this function's arguments.
- getArgumentTypes() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the types of this aggregate's arguments.
- getArray(ByteBuffer) - Static method in class com.datastax.driver.core.utils.Bytes
-
Extract the content of the provided ByteBuffer
as a byte array.
- getAsync(Object...) - Method in class com.datastax.driver.mapping.Mapper
-
Fetch an entity based on its primary key asynchronously.
- getAuthenticationErrors() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of authentication errors while connecting to Cassandra nodes.
- getAuthProvider() - Method in class com.datastax.driver.core.ProtocolOptions
-
The AuthProvider
used by this cluster.
- getAvailableWithoutFetching() - Method in interface com.datastax.driver.core.PagingIterable
-
The number of rows that can be retrieved from this result set without blocking to fetch.
- getAvailableWithoutFetching() - Method in class com.datastax.driver.dse.graph.GraphResultSet
-
Deprecated.
- getAvailableWithoutFetching() - Method in class com.datastax.driver.mapping.Result
-
- getBaseDelayMs() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
The base delay in milliseconds for this policy (e.g.
- getBaseTable() - Method in class com.datastax.driver.core.MaterializedViewMetadata
-
Return this materialized view's base table.
- getBlockingExecutorQueueDepth() - Method in class com.datastax.driver.core.Metrics
-
- getBloomFilterFalsePositiveChance() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the false positive chance for the Bloom filter of this table.
- getBody() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the body of this function.
- getBool(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a boolean.
- getBool(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a boolean.
- getBool(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a boolean.
- getBool(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a boolean.
- getBool(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a boolean.
- getBroadcastAddress() - Method in class com.datastax.driver.core.Host
-
Returns the node broadcast address, if known.
- getBroadcastRpcAddress() - Method in class com.datastax.driver.core.Host
-
Returns the broadcast RPC address, as reported by the node.
- getBroadcastSocketAddress() - Method in class com.datastax.driver.core.Host
-
Returns the node broadcast address (that is, the address by which it should be contacted by
other peers in the cluster), if known.
- getBuildLabel() - Method in class com.datastax.driver.core.VersionNumber
-
The build label if there is one.
- getByte(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a byte.
- getByte(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a byte.
- getByte(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a byte.
- getByte(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a byte.
- getByte(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a byte.
- getBytes(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a byte array.
- getBytes(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a byte array.
- getBytes(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a byte array.
- getBytes(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a byte array.
- getBytes(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a byte array.
- getBytesReceived() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of bytes received so far.
- getBytesSent() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of bytes sent so far.
- getBytesUnsafe(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a ByteBuffer.
- getBytesUnsafe(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a ByteBuffer
.
- getBytesUnsafe(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a ByteBuffer.
- getBytesUnsafe(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a ByteBuffer
.
- getBytesUnsafe(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a ByteBuffer.
- getCaching() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the caching options for this table.
- getCassandraVersion() - Method in class com.datastax.driver.core.Host
-
The Cassandra version the host is running.
- getCenter() - Method in class com.datastax.driver.dse.geometry.Distance
-
- getChildPolicy() - Method in interface com.datastax.driver.core.policies.ChainableLoadBalancingPolicy
-
Returns the child policy.
- getChildPolicy() - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy
-
- getChildPolicy() - Method in class com.datastax.driver.core.policies.HostFilterPolicy
-
- getChildPolicy() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
-
- getChildPolicy() - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
-
- getChildPolicy() - Method in class com.datastax.driver.dse.DseLoadBalancingPolicy
-
- getClientId() - Method in class com.datastax.driver.dse.DseConfiguration
-
- getClientTimeouts() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of requests that timed out before the driver received a response.
- getCluster() - Method in interface com.datastax.driver.core.Session
-
Returns the Cluster
object this session is part of.
- getCluster() - Method in interface com.datastax.driver.dse.DseSession
-
Returns the
DseCluster
object this session is part of.
- getClusterId() - Method in class com.datastax.driver.dse.DseConfiguration
-
- getClusteringColumns() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the list of clustering columns for this table.
- getClusteringOrder() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the clustering order for this table.
- getClusterName() - Method in class com.datastax.driver.core.Cluster.Builder
-
- getClusterName() - Method in class com.datastax.driver.core.Cluster
-
The name of this cluster object.
- getClusterName() - Method in interface com.datastax.driver.core.Cluster.Initializer
-
An optional name for the created cluster.
- getClusterName() - Method in class com.datastax.driver.core.Metadata
-
The Cassandra name for the cluster connect to.
- getCodecRegistry() - Method in class com.datastax.driver.core.Configuration
-
- getCodecRegistry() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getCodecRegistry() - Method in interface com.datastax.driver.core.PreparedStatement
-
Return the
CodecRegistry
instance associated with this prepared statement.
- getCodecRegistry() - Method in class com.datastax.driver.core.TupleValue
-
- getCodecRegistry() - Method in class com.datastax.driver.core.UDTValue
-
- getColumn(String) - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns metadata on a column of this table.
- getColumnDefinitions() - Method in interface com.datastax.driver.core.AsyncContinuousPagingResult
-
Returns the definition of the columns returned in this result set.
- getColumnDefinitions() - Method in interface com.datastax.driver.core.ContinuousPagingResult
-
Returns the definition of the columns returned in this result set.
- getColumnDefinitions() - Method in interface com.datastax.driver.core.ResultSet
-
Returns the columns returned in this ResultSet.
- getColumnDefinitions() - Method in interface com.datastax.driver.core.Row
-
Returns the columns contained in this Row.
- getColumnName() - Method in class com.datastax.driver.core.querybuilder.Assignment
-
The name of the column this assignment applies to.
- getColumns() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns a list containing all the columns of this table.
- getComment() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the commentary set for this table.
- getCompaction() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the compaction options for this table.
- getComponentTypes() - Method in class com.datastax.driver.core.TupleType
-
The (immutable) list of types composing this tuple type.
- getCompression() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the compression used by the protocol.
- getCompression() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the compression options for this table.
- getConcreteCluster() - Method in class com.datastax.driver.core.AbstractSession
-
- 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
-
- getConfiguration() - Method in class com.datastax.driver.dse.DseCluster.Builder
-
- getConfiguration() - Method in class com.datastax.driver.dse.DseCluster
-
- getConfiguration() - Method in class com.datastax.driver.mapping.MappingManager
-
- getConnectedHosts() - Method in interface com.datastax.driver.core.Session.State
-
The hosts to which the session is currently connected (more precisely, at the time this State
has been grabbed).
- getConnectedToHosts() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of Cassandra hosts the driver is currently connected to (that is have at
least one connection opened to).
- getConnectionErrors() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of errors while connecting to Cassandra nodes.
- getConnectTimeoutMillis() - Method in class com.datastax.driver.core.SocketOptions
-
The connection timeout in milliseconds.
- getConsistencyLevel() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getConsistencyLevel() - Method in exception com.datastax.driver.core.exceptions.QueryConsistencyException
-
The consistency level of the operation that failed.
- getConsistencyLevel() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
The consistency level of the operation triggering this unavailable exception.
- getConsistencyLevel() - Method in interface com.datastax.driver.core.PreparedStatement
-
- getConsistencyLevel() - Method in class com.datastax.driver.core.QueryOptions
-
The default consistency level used by queries.
- getConsistencyLevel() - Method in class com.datastax.driver.core.Statement
-
The consistency level for this query.
- getConsistencyLevel() - Method in class com.datastax.driver.core.StatementWrapper
-
- getConsistencyLevel() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Returns the consistency level to use with this statement.
- getConsistencyLevel() - Method in class com.datastax.driver.dse.graph.SimpleGraphStatement
-
- getConsistencyLevel() - Method in class com.datastax.dse.graph.internal.RemoteSourceSimpleGraphStatement
-
- getConstantDelayMillis() - Method in class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
-
- 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.
- getCPU() - Static method in class com.datastax.driver.core.Native
-
Returns the current processor architecture the JVM is running on, as reported by Platform.getCPU()
.
- getCqlType() - Method in exception com.datastax.driver.core.exceptions.CodecNotFoundException
-
- getCqlType() - Method in class com.datastax.driver.core.TypeCodec
-
Return the CQL type that this codec deserializes from and serializes to.
- getCrcCheckChance() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
When compression is enabled, this option defines the probability with which checksums for
compressed blocks are checked during reads.
- getCurrentVersion() - Method in exception com.datastax.driver.core.exceptions.UnsupportedFeatureException
-
- getCustomCodec() - Method in interface com.datastax.driver.mapping.MappedProperty
-
Returns the
codec
to use to serialize and deserialize this property.
- getCustomMessage(int, boolean, boolean) - Method in exception com.datastax.driver.core.exceptions.NoHostAvailableException
-
Builds a custom message for this exception.
- getCustomTypeClassName() - Method in class com.datastax.driver.core.DataType.CustomType
-
Returns the fully qualified name of the subtype of org.apache.cassandra.db.marshal.AbstractType
that represents this type server-side.
- getDatacenter() - Method in class com.datastax.driver.core.Host
-
Returns the name of the datacenter this host is part of.
- getDate(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a date (without time).
- getDate(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a date (without time).
- getDate(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a date (without time).
- getDate(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a date (without time).
- getDate(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a date (without time).
- getDay() - Method in class com.datastax.driver.core.LocalDate
-
Returns the day in the month.
- getDays() - Method in class com.datastax.driver.core.Duration
-
Returns the number of days in this duration.
- getDaysSinceEpoch() - Method in class com.datastax.driver.core.LocalDate
-
Returns the number of days since January 1st, 1970 GMT.
- getDecimal(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a variable length decimal.
- getDecimal(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a variable length decimal.
- getDecimal(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a variable length decimal.
- getDecimal(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a variable length decimal.
- getDecimal(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a variable length decimal.
- getDefaultIdempotence() - Method in class com.datastax.driver.core.QueryOptions
-
The default idempotence for queries.
- getDefaultKeyspace() - Method in class com.datastax.driver.core.Configuration
-
- getDefaultTimestamp() - Method in class com.datastax.driver.core.Statement
-
The default timestamp for this query.
- getDefaultTimestamp() - Method in class com.datastax.driver.core.StatementWrapper
-
- getDefaultTimestamp() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
The default timestamp for this query.
- getDefaultTimestamp() - Method in class com.datastax.driver.dse.graph.SimpleGraphStatement
-
- getDefaultTimestamp() - Method in class com.datastax.dse.graph.internal.RemoteSourceSimpleGraphStatement
-
- getDefaultTimeToLive() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the default TTL for this table.
- getDescription() - Method in class com.datastax.driver.core.QueryTrace.Event
-
The event description, that is which activity this event correspond to.
- getDouble(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a double.
- getDouble(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a double.
- getDouble(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a double.
- getDouble(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a double.
- getDouble(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a double.
- getDriverVersion() - Static method in class com.datastax.driver.core.Cluster
-
Returns the current version of the driver.
- getDseDriverVersion() - Static method in class com.datastax.driver.dse.DseCluster
-
Returns the current version of the DSE 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).
- getDseServerId() - Method in class com.datastax.driver.core.Host
-
Returns the value of the server_id
field in the peers
system table for this
node.
- getDseVersion() - Method in class com.datastax.driver.core.Host
-
The DSE version the host is running.
- getDseWorkload() - Method in class com.datastax.driver.core.Host
-
- getDseWorkloads() - Method in class com.datastax.driver.core.Host
-
The DSE Workloads the host is running.
- getDurationMicros() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the server-side duration of the query in microseconds.
- getEnd() - Method in class com.datastax.driver.core.TokenRange
-
Return the end of the range.
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.BusyConnectionException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.BusyPoolException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.ConnectionException
-
- getEndPoint() - Method in interface com.datastax.driver.core.exceptions.CoordinatorException
-
The connection information of the coordinator host that was contacted.
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.FunctionExecutionException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.InvalidQueryException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.OverloadedException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.ProtocolError
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.QueryConsistencyException
-
The connection information of the coordinator host that was contacted.
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.ServerError
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.SyntaxError
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.TruncateException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.UnauthorizedException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
-
- getEndPoint() - Method in exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
-
- getEndPoint() - Method in class com.datastax.driver.core.Host
-
Returns information to connect to the node.
- getEndPointFactory() - Method in class com.datastax.driver.core.policies.Policies
-
- 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.AsyncContinuousPagingResult
-
Returns information on the execution of the query, and on the response frame used to build this
result.
- getExecutionInfo() - Method in interface com.datastax.driver.core.ContinuousPagingResult
-
Returns information on the execution of the query, and on the response frame corresponding to
the current state of the iteration.
- getExecutionInfo() - Method in interface com.datastax.driver.core.PagingIterable
-
Returns information on the execution of the last query made for this result set.
- getExecutionInfo() - Method in class com.datastax.driver.dse.graph.GraphResultSet
-
Returns information on the execution of the last query made for this result set.
- getExecutionInfo() - Method in class com.datastax.driver.mapping.Result
-
- getExecutorQueueDepth() - Method in class com.datastax.driver.core.Metrics
-
- getExtensions() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the extension options for this table.
- getExteriorRing() - Method in class com.datastax.driver.dse.geometry.Polygon
-
Returns the external ring of the polygon.
- 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.
- getFailuresMap() - Method in exception com.datastax.driver.core.exceptions.ReadFailureException
-
Returns the a failure reason code for each node that failed.
- getFailuresMap() - Method in exception com.datastax.driver.core.exceptions.WriteFailureException
-
Returns the a failure reason code for each node that failed.
- getFetchSize() - Method in class com.datastax.driver.core.QueryOptions
-
The default fetch size used by queries.
- getFetchSize() - Method in class com.datastax.driver.core.Statement
-
The fetch size for this query.
- getFetchSize() - Method in class com.datastax.driver.core.StatementWrapper
-
- getFieldNames() - Method in class com.datastax.driver.core.UserType
-
Returns the names of the fields of this UDT.
- getFieldType(String) - Method in class com.datastax.driver.core.UserType
-
Returns the type of a given field.
- getFinalFunc() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the final function of this aggregate.
- getFloat(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a float.
- getFloat(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a float.
- getFloat(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a float.
- getFloat(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a float.
- getFloat(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a float.
- getFunction(String, Collection<DataType>) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition of a function in this keyspace.
- getFunction(String, DataType...) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition of a function in this keyspace.
- getFunctions() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the functions defined in this keyspace.
- getGcGraceInSeconds() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the tombstone garbage collection grace time in seconds for this table.
- getGraphInternalOption(String) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Returns the advanced option's value defined for the key in parameter.
- getGraphLanguage() - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Returns the graph language to use in graph queries.
- getGraphLanguage() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Returns the graph language to use with this statement.
- getGraphName() - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Returns the graph name to use in graph queries.
- getGraphName() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Returns the graph name to use with this statement.
- getGraphOptions() - Method in class com.datastax.driver.dse.DseConfiguration
-
Returns the default graph options to use for the cluster.
- getGraphReadConsistencyLevel() - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Returns the read consistency level to use in graph queries.
- getGraphReadConsistencyLevel() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Returns the read consistency level to use with this statement.
- getGraphSource() - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Returns the graph traversal source name to use in graph queries.
- getGraphSource() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Returns the graph traversal source name to use with this statement.
- getGraphSubProtocol() - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Return the graph sub protocol set for all queries.
- getGraphWriteConsistencyLevel() - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Returns the write consistency level to use in graph queries.
- getGraphWriteConsistencyLevel() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Returns the write consistency level to use with this statement.
- getHeartbeatIntervalSeconds() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the heart beat interval, after which a message is sent on an idle connection to make
sure it's still alive.
- getHost() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.AuthenticationException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.BootstrappingException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.BusyConnectionException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.BusyPoolException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.ConnectionException
-
Deprecated.
- getHost() - Method in interface com.datastax.driver.core.exceptions.CoordinatorException
-
- getHost() - Method in exception com.datastax.driver.core.exceptions.FunctionExecutionException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.InvalidQueryException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.OverloadedException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.ProtocolError
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.QueryConsistencyException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.ServerError
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.SyntaxError
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.TruncateException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.UnauthorizedException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.UnavailableException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.UnpreparedException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
-
Deprecated.
- getHost() - Method in class com.datastax.driver.core.Statement
-
- getHost() - Method in class com.datastax.driver.core.StatementWrapper
-
- getHostId() - Method in class com.datastax.driver.core.Host
-
Return the host id value for the host.
- getId() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the unique id of this table.
- getId() - Method in class com.datastax.driver.core.Cluster
-
- getId() - Method in class com.datastax.driver.core.DelegatingCluster
-
- getId() - Method in interface com.datastax.driver.dse.graph.Element
-
Returns the element's identifier.
- getIdleTimeoutSeconds() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the timeout before an idle connection is removed.
- getIgnores() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, for example due to timeouts or
unavailability.
- getIgnoresOnClientTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after a client timeout.
- getIgnoresOnConnectionError() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after a connection error.
- getIgnoresOnOtherErrors() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after an unexpected error.
- getIgnoresOnReadTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after a read timed out.
- getIgnoresOnUnavailable() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after an unavailable exception.
- getIgnoresOnWriteTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was ignored due to the
RetryPolicy
, after a write timed out.
- getIncomingPayload() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getIncomingPayload() - Method in class com.datastax.driver.core.ExecutionInfo
-
Return the incoming payload, that is, the payload that the server sent back with its response,
if any, or null
, if the server did not include any custom payload.
- getIncomingPayload() - Method in interface com.datastax.driver.core.PreparedStatement
-
Return the incoming payload, that is, the payload that the server sent back with its PREPARED
response, if any, or null
, if the server did not include any custom payload.
- getIndex(String) - Method in class com.datastax.driver.core.TableMetadata
-
Returns metadata on a index of this table.
- getIndexClassName() - Method in class com.datastax.driver.core.IndexMetadata
-
The name of the class used to implement the custom index, if it is one.
- getIndexes() - Method in class com.datastax.driver.core.TableMetadata
-
Returns all indexes based on this table.
- getIndexInterval() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the index interval option for this table.
- getIndexOf(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the index corresponding to a given name.
- getIndexOf(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
The first index in this metadata of the provided name, if present.
- getInet(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as an InetAddress.
- getInet(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as an InetAddress.
- getInet(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as an InetAddress.
- getInet(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as an InetAddress.
- getInet(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as an InetAddress.
- getInFlightQueries(Host) - Method in interface com.datastax.driver.core.Session.State
-
The number of queries that are currently being executed through a given host.
- getInFlightRequests() - Method in class com.datastax.driver.core.Metrics
-
Returns the total number of in flight requests to Cassandra hosts.
- getInitCond() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the initial state value of this aggregate.
- getInitializationExecutor() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the executor to use for connection initialization.
- getInitialListeners() - Method in class com.datastax.driver.core.Cluster.Builder
-
- getInitialListeners() - Method in interface com.datastax.driver.core.Cluster.Initializer
-
Optional listeners to register against the newly created cluster.
- getInt(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as an integer.
- getInt(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as an integer.
- getInt(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as an integer.
- getInt(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as an integer.
- getInt(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as an integer.
- getInteriorRings() - Method in class com.datastax.driver.dse.geometry.Polygon
-
Returns the internal rings of the polygon, i.e.
- getInV() - Method in interface com.datastax.driver.dse.graph.Edge
-
Returns the identifier of this edge's incoming/head vertex.
- getInVLabel() - Method in interface com.datastax.driver.dse.graph.Edge
-
Returns the label of this edge's incoming/head vertex.
- 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.
- getJmxPort() - Method in class com.datastax.driver.core.Host
-
Returns the JMX port used by this node.
- getKeepAlive() - Method in class com.datastax.driver.core.SocketOptions
-
Returns whether TCP keepalive is enabled.
- getKeyspace() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the keyspace this table belong to.
- getKeyspace() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the keyspace this aggregate belongs to.
- getKeyspace() - Method in class com.datastax.driver.core.BatchStatement
-
- getKeyspace() - Method in class com.datastax.driver.core.BoundStatement
-
Returns the keyspace this query operates on.
- getKeyspace() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
-
The name of the keyspace this column is part of.
- getKeyspace(int) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the keyspace of the i
th column in this metadata.
- getKeyspace(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the keyspace of the first occurrence of name
in this metadata.
- getKeyspace() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
The name of keyspace that either already exists or is home to the table that already exists.
- getKeyspace() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the keyspace this function belongs to.
- getKeyspace(String) - Method in class com.datastax.driver.core.Metadata
-
Returns the metadata of a keyspace given its name.
- getKeyspace() - Method in class com.datastax.driver.core.querybuilder.Batch
-
Returns the keyspace of the first statement in this batch.
- getKeyspace() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getKeyspace() - Method in class com.datastax.driver.core.RegularStatement
-
Returns the keyspace this query operates on.
- getKeyspace() - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- getKeyspace() - Method in class com.datastax.driver.core.SimpleStatement
-
- getKeyspace() - Method in class com.datastax.driver.core.Statement
-
Returns the keyspace this query operates on.
- getKeyspace() - Method in class com.datastax.driver.core.StatementWrapper
-
- getKeyspace() - Method in class com.datastax.driver.core.UserType
-
The name of the keyspace this UDT is part of.
- getKeyspaceName() - Method in exception com.datastax.driver.core.exceptions.UnresolvedUserTypeException
-
- getKeyspaces() - Method in class com.datastax.driver.core.Metadata
-
Returns a list of all the defined keyspaces.
- getKind() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns the index kind.
- getKnownHosts() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of Cassandra hosts currently known by the driver (that is whether they are
currently considered up or down).
- getLabel() - Method in interface com.datastax.driver.dse.graph.Element
-
Returns the element's label.
- getLabels() - Method in interface com.datastax.driver.dse.graph.Path
-
Returns the sets of labels of the steps traversed by this path, or an empty list, if this path
is empty.
- getLanguage() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the programming language in which this function's body is written.
- getLatencyAtPercentile(Host, Statement, Exception, double) - Method in class com.datastax.driver.core.PercentileTracker
-
Returns the request latency at a given percentile.
- getLatencyScore() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
-
The latency score for the host this is the stats of at the time of the snapshot.
- getList(String, Class<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a list.
- getList(String, TypeToken<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a list.
- getList(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a list.
- getList(int, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a list.
- getList(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a list.
- getList(String, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a list.
- getList(int, Class<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a list.
- getList(int, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a list.
- getList(String, Class<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a list.
- getList(String, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a list.
- getListenAddress() - Method in class com.datastax.driver.core.Host
-
Returns the node listen address, if known.
- getListenSocketAddress() - Method in class com.datastax.driver.core.Host
-
Returns the node listen address (that is, the address the node uses to contact other peers in
the cluster), if known.
- getLoadBalancingPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The load balancing policy in use.
- getLocalReadRepairChance() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the cluster local read repair chance set for this table.
- getLoggedKeyspace() - Method in interface com.datastax.driver.core.Session
-
The keyspace to which this Session is currently logged in, if any.
- getLoggedKeyspace() - Method in interface com.datastax.driver.dse.DseSession
-
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.
- getLowerBound() - Method in class com.datastax.driver.dse.search.DateRange
-
Returns the lower
bound
of this range (inclusive).
- getLowerSupported() - Method in enum com.datastax.driver.core.ProtocolVersion
-
Returns the highest supported version that is lower than this version.
- 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.
- getMappedName() - Method in interface com.datastax.driver.mapping.MappedProperty
-
Returns the name of the table column or UDT field that this property maps to.
- getMaterializedView(String) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the metadata for a materialized view contained in this keyspace.
- getMaterializedViews() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the materialized views defined in this keyspace.
- getMaxAttempts() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
- 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.
- getMaxEnqueuedPages() - Method in class com.datastax.driver.core.ContinuousPagingOptions
-
Returns the maximum number of pages that can be stored in the local queue.
- getMaxIndexInterval() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the maximum index interval option for this table.
- getMaxLoggedParameters() - Method in class com.datastax.driver.core.QueryLogger
-
Return the maximum number of query parameters that can be logged by the driver.
- getMaxPages() - Method in class com.datastax.driver.core.ContinuousPagingOptions
-
Returns the maximum number of pages.
- getMaxPagesPerSecond() - Method in class com.datastax.driver.core.ContinuousPagingOptions
-
Returns the maximum pages per second.
- getMaxParameterValueLength() - Method in class com.datastax.driver.core.QueryLogger
-
Return the maximum length of a query parameter value that can be logged verbatim by the driver.
- getMaxPendingRefreshNodeListRequests() - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of node list refresh requests that the control connection can
accumulate before executing them.
- getMaxPendingRefreshNodeRequests() - Method in class com.datastax.driver.core.QueryOptions
-
The maximum number of node refresh requests that the control connection can accumulate before
executing them.
- getMaxPendingRefreshSchemaRequests() - Method in class com.datastax.driver.core.QueryOptions
-
The maximum number of schema refresh requests that the control connection can accumulate before
executing them.
- getMaxQueryStringLength() - Method in class com.datastax.driver.core.QueryLogger
-
Return the maximum length of a CQL query string that can be logged verbatim by the driver.
- getMaxQueueSize() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the maximum number of requests that get enqueued if no connection is available.
- getMaxRequestsPerConnection(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the maximum number of requests per connection.
- getMaxSchemaAgreementWaitSeconds() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the maximum time to wait for schema agreement before returning from a DDL query.
- getMaxSpeculativeExecutions() - Method in class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
-
- getMaxSpeculativeExecutions() - Method in class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
-
- getMeasurementsCount() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
-
The number of recorded latency measurements for the host this is the stats of.
- getMemtableFlushPeriodInMs() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
- getMessage() - Method in exception com.datastax.driver.core.exceptions.ConnectionException
-
- getMetadata() - Method in class com.datastax.driver.core.Cluster
-
Returns read-only metadata on the connected cluster.
- getMetadata() - Method in class com.datastax.driver.core.DelegatingCluster
-
- getMetrics() - Method in class com.datastax.driver.core.Cluster
-
The cluster metrics.
- getMetrics() - Method in class com.datastax.driver.core.DelegatingCluster
-
- getMetricsOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the metrics configuration, if metrics are enabled.
- getMillisSinceEpoch() - Method in class com.datastax.driver.core.LocalDate
-
Returns the number of milliseconds since January 1st, 1970 GMT.
- getMinIndexInterval() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the minimum index interval option for this table.
- getMinor() - Method in class com.datastax.driver.core.VersionNumber
-
The minor version number.
- getMonotonicOn() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the argument names that the function is monotonic on.
- getMonth() - Method in class com.datastax.driver.core.LocalDate
-
Returns the month.
- getMonths() - Method in class com.datastax.driver.core.Duration
-
Returns the number of months in this duration.
- getName() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the name of this table.
- getName() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
-
Returns the name of the column.
- getName(int) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the name of the i
th column in this metadata.
- getName() - Method in class com.datastax.driver.core.ColumnMetadata
-
Returns the name of the column.
- getName() - Method in class com.datastax.driver.core.DataType
-
Returns the name of that type.
- getName() - Method in exception com.datastax.driver.core.exceptions.UnresolvedUserTypeException
-
- getName() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns the index name.
- getName() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the name of this keyspace.
- getName(int) - Method in class com.datastax.driver.core.TupleValue
-
- getName(int) - Method in class com.datastax.driver.core.UDTValue
-
- getName() - Method in class com.datastax.driver.core.UserType.Field
-
Returns the name of the field.
- getName() - Method in interface com.datastax.driver.dse.graph.Property
-
Returns the property name.
- getNamedValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getNamedValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.RegularStatement
-
The named values to use for this statement.
- getNamedValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- getNamedValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.SimpleStatement
-
- getNanoseconds() - Method in class com.datastax.driver.core.Duration
-
Returns the number of nanoseconds in this duration.
- getNativeTransportPort() - Method in class com.datastax.driver.core.Host
-
Returns the port for the native transport connections on the DSE node.
- getNativeTransportPortSsl() - Method in class com.datastax.driver.core.Host
-
Returns the port for the encrypted native transport connections on the DSE node.
- 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.
- getNodeSync() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the options associated with nodesync.
- getObject(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as the Java type matching its CQL type.
- getObject(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as the Java type matching its CQL type.
- getObject(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as the Java type matching its CQL type.
- getObject(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as the Java type matching its CQL type.
- getObject(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as the Java type matching its CQL type.
- getObject(int, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
Returns the i
th value as the Java type matching its CQL type.
- getObject(int) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
Returns the i
th value as the Java type matching its CQL type.
- getObject(int) - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the i
th positional value as the Java type matching its CQL type.
- getObject(String) - Method in class com.datastax.driver.core.SimpleStatement
-
Returns a named value as the Java type matching its CQL type.
- getObject(int) - Method in interface com.datastax.driver.dse.graph.Path
-
Returns the object associated with the given step of this path.
- getObject(String) - Method in interface com.datastax.driver.dse.graph.Path
-
Returns the first object with the given label in this path.
- getObjects() - Method in interface com.datastax.driver.dse.graph.Path
-
Returns the objects traversed by this path, or an empty list, if this path is empty.
- getObjects(String) - Method in interface com.datastax.driver.dse.graph.Path
-
Returns the objects with the given label in this path.
- 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.
- getOptimalStringAlignmentDistance(String, String) - Static method in class com.datastax.dse.graph.internal.utils.StringUtils
-
- getOption(String) - Method in class com.datastax.driver.core.IndexMetadata
-
Return the value for the given option name.
- getOptions() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the options for this table.
- getOthers() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of requests that returned errors not accounted for by another metric.
- getOutgoingPayload() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getOutgoingPayload() - Method in interface com.datastax.driver.core.PreparedStatement
-
Return the outgoing payload currently associated with this statement.
- getOutgoingPayload() - Method in class com.datastax.driver.core.Statement
-
Returns this statement's outgoing payload.
- getOutgoingPayload() - Method in class com.datastax.driver.core.StatementWrapper
-
- getOutV() - Method in interface com.datastax.driver.dse.graph.Edge
-
Returns the identifier of this edge's outgoing/tail vertex.
- getOutVLabel() - Method in interface com.datastax.driver.dse.graph.Edge
-
Returns the label of this edge's outgoing/tail vertex.
- getPageSize() - Method in class com.datastax.driver.core.ContinuousPagingOptions
-
Returns the page size.
- getPageUnit() - Method in class com.datastax.driver.core.ContinuousPagingOptions
-
Returns the page unit.
- getPagingState() - Method in class com.datastax.driver.core.ExecutionInfo
-
The paging state of the query.
- getPagingState() - Method in class com.datastax.driver.core.StatementWrapper
-
- getPagingStateUnsafe() - Method in class com.datastax.driver.core.ExecutionInfo
-
Returns the "raw" paging state of the query.
- getParameters() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the parameters attached to this trace.
- getParent() - Method in class com.datastax.driver.core.ColumnMetadata
-
Returns the parent object of this column.
- getParent() - Method in interface com.datastax.driver.dse.graph.Property
-
Returns the property's parent
Element
.
- getPartitioner() - Method in class com.datastax.driver.core.Metadata
-
The partitioner in use as reported by the Cassandra nodes.
- getPartitionKey() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the list of columns composing the partition key for this table.
- getPartitionKeyToken() - Method in interface com.datastax.driver.core.Row
-
Returns the value of the first column containing a
Token
.
- getPatch() - Method in class com.datastax.driver.core.VersionNumber
-
The patch version number.
- getPercentile() - Method in class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
-
- getPercentileLatencyTracker() - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
Return the percentile tracker to use for recording per-host latency histograms.
- getPoints() - Method in class com.datastax.driver.dse.geometry.LineString
-
Returns the points composing this line string.
- getPolicies() - Method in class com.datastax.driver.core.Configuration
-
Returns the policies set for the cluster.
- getPoolingOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the connection pooling configuration.
- getPoolTimeoutMillis() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the timeout when trying to acquire a connection from a host's pool.
- getPopulateIOCacheOnFlush() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Whether the populate I/O cache on flush is set on this table.
- getPort() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the port used to connect to the Cassandra hosts.
- getPosition() - Method in interface com.datastax.driver.mapping.MappedProperty
-
Returns this property's zero-based position among partition key columns or clustering columns.
- getPrecision() - Method in class com.datastax.driver.dse.search.DateRange.DateRangeBound
-
Returns the precision of this bound.
- getPreparedId() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getPreparedId() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the prepared Id for this statement.
- getPreReleaseLabels() - Method in class com.datastax.driver.core.VersionNumber
-
The pre-release labels if relevant, i.e.
- getPrimaryKey() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the list of columns composing the primary key for this table.
- getProperties(String) - Method in interface com.datastax.driver.dse.graph.Element
-
Returns all the properties of this element that have the given name
, or an empty
iterator, if such a property name does not exist.
- getProperties() - Method in interface com.datastax.driver.dse.graph.Element
-
Returns an iterator over the element's properties, or an empty iterator, if the element does
not have any property.
- getProperties(String) - Method in interface com.datastax.driver.dse.graph.Vertex
-
Returns all the properties of this element that have the given name
, or an empty
iterator, if such a property name does not exist.
- getProperties() - Method in interface com.datastax.driver.dse.graph.Vertex
-
Returns an iterator over the element's properties, or an empty iterator, if the element does
not have any property.
- getProperty(String) - Method in interface com.datastax.driver.dse.graph.Element
-
Returns the first property of this element that has the given name
, or null
, if
such a property name does not exist.
- getProperty(String) - Method in interface com.datastax.driver.dse.graph.Vertex
-
Returns the first property of this element that has the given name
, or null
, if
such a property name does not exist.
- getPropertyMapper() - Method in class com.datastax.driver.mapping.MappingConfiguration
-
- getPropertyName() - Method in interface com.datastax.driver.mapping.MappedProperty
-
Returns this property's name.
- getPropertyNames() - Method in interface com.datastax.driver.dse.graph.Element
-
Returns the set of property names for this element, or an empty set, if this element has no
properties.
- getPropertyType() - Method in interface com.datastax.driver.mapping.MappedProperty
-
Returns this property's type.
- getProtocolOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the Cassandra binary protocol level configuration (compression).
- getProtocolReference() - Method in enum com.datastax.driver.dse.graph.GraphProtocol
-
- getProtocolVersion() - Method in class com.datastax.driver.core.ProtocolOptions
-
The protocol version used by the Cluster instance.
- getQueriedHost() - Method in class com.datastax.driver.core.ExecutionInfo
-
Return the Cassandra host that coordinated this query.
- getQuery(Object...) - Method in class com.datastax.driver.mapping.Mapper
-
Creates a query to fetch entity given its PRIMARY KEY.
- getQueryKeyspace() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getQueryKeyspace() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the keyspace at the time that this prepared statement was prepared, (that is the one on
which this statement applies unless it specified a keyspace explicitly).
- getQueryOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the queries configuration.
- getQueryString() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getQueryString() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the string of the query that was prepared to yield this PreparedStatement
.
- getQueryString(CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getQueryString(CodecRegistry) - Method in class com.datastax.driver.core.RegularStatement
-
Returns the query string for this statement.
- getQueryString() - Method in class com.datastax.driver.core.RegularStatement
-
Returns the query string for this statement.
- getQueryString(CodecRegistry) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- getQueryString(CodecRegistry) - Method in class com.datastax.driver.core.SimpleStatement
-
- getQueryString() - Method in class com.datastax.driver.dse.graph.RegularGraphStatement
-
Returns the graph query string for this statement.
- getQueryString() - Method in class com.datastax.driver.dse.graph.SimpleGraphStatement
-
- getQueryTrace() - Method in class com.datastax.driver.core.ExecutionInfo
-
Return the query trace if tracing was enabled on this query.
- getQueryTraceAsync() - Method in class com.datastax.driver.core.ExecutionInfo
-
Placeholder for async query trace retrieval (not implemented yet).
- getRack() - Method in class com.datastax.driver.core.Host
-
Returns the name of the rack this host is part of.
- getRadius() - Method in class com.datastax.driver.dse.geometry.Distance
-
- getReadRepairChance() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the chance with which a read repair is triggered for this table.
- getReadTimeoutMillis() - Method in class com.datastax.driver.core.SocketOptions
-
The per-host read timeout in milliseconds.
- getReadTimeoutMillis() - Method in class com.datastax.driver.core.Statement
-
Return the per-host read timeout that was set for this statement.
- getReadTimeoutMillis() - Method in class com.datastax.driver.core.StatementWrapper
-
- getReadTimeoutMillis() - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Return the per-host socket read timeout that is set for all graph queries.
- getReadTimeoutMillis() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Return the per-host socket read timeout that was set for this statement.
- getReadTimeoutMillis() - Method in class com.datastax.driver.dse.graph.SimpleGraphStatement
-
- getReadTimeoutMillis() - Method in class com.datastax.dse.graph.internal.RemoteSourceSimpleGraphStatement
-
- 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 replicas that had acknowledged/responded to the operation before it failed.
- getReconnectionAttemptFuture() - Method in class com.datastax.driver.core.Host
-
Returns a ListenableFuture
representing the completion of the reconnection attempts
scheduled after a host is marked DOWN
.
- getReconnectionPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The reconnection policy in use.
- getReconnectionSchedulerQueueSize() - Method in class com.datastax.driver.core.Metrics
-
- getRefreshNodeIntervalMillis() - Method in class com.datastax.driver.core.QueryOptions
-
The default window size in milliseconds used to debounce node refresh requests.
- getRefreshNodeListIntervalMillis() - Method in class com.datastax.driver.core.QueryOptions
-
The default window size in milliseconds used to debounce node list refresh requests.
- getRefreshSchemaIntervalMillis() - Method in class com.datastax.driver.core.QueryOptions
-
The default window size in milliseconds used to debounce schema refresh requests.
- getRegistry() - Method in class com.datastax.driver.core.Metrics
-
Returns the registry containing all metrics.
- getReplicas(String, ByteBuffer) - Method in class com.datastax.driver.core.Metadata
-
Returns the set of hosts that are replica for a given partition key.
- getReplicas(String, TokenRange) - Method in class com.datastax.driver.core.Metadata
-
Returns the set of hosts that are replica for a given token range.
- getReplicas(String, Token) - Method in class com.datastax.driver.core.Metadata
-
Returns the set of hosts that are replica for a given token.
- getReplicateOnWrite() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns whether replicateOnWrite is set for this table.
- getReplication() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the replication options for this keyspace.
- getRequestQueueDepth() - Method in class com.datastax.driver.core.Metrics
-
Returns the total number of enqueued requests on all Cassandra hosts.
- 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).
- getResolvedContactPoints() - Method in class com.datastax.driver.core.Cluster.Builder
-
- getResolvedContactPoints() - Method in interface com.datastax.driver.core.Cluster.EnhancedInitializer
-
This method returns a List of resolved InetSocketAddress contact points grouped by hostname.
- getRetries() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
.
- getRetriesOnClientTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after a client timeout.
- getRetriesOnConnectionError() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after a connection error.
- getRetriesOnOtherErrors() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after an unexpected error.
- getRetriesOnReadTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after a read timed out.
- getRetriesOnUnavailable() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after an unavailable exception.
- getRetriesOnWriteTimeout() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a request was retried due to the
RetryPolicy
, after a write timed out.
- getRetryConsistencyLevel() - Method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
-
The consistency level for this retry decision.
- getRetryPolicy() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getRetryPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The retry policy in use.
- getRetryPolicy() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the retry policy sets for this prepared statement, if any.
- getRetryPolicy() - Method in class com.datastax.driver.core.Statement
-
Returns the retry policy sets for this query, if any.
- getRetryPolicy() - Method in class com.datastax.driver.core.StatementWrapper
-
- getReturnType() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the return type of this aggregate.
- getReturnType() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the return type of this function.
- getReuseAddress() - Method in class com.datastax.driver.core.SocketOptions
-
Returns whether reuse-address is enabled.
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.BatchStatement
-
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.BoundStatement
-
The routing key for this bound query.
- getRoutingKey() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getRoutingKey() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the routing key set for this query.
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.Batch
-
Returns the first non-null routing key of the statements in this batch or null otherwise.
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
Returns the routing key (in binary raw form) to use for token aware routing of this query.
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the routing key for the query.
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.Statement
-
Returns the routing key (in binary raw form) to use for token aware routing of this query.
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.StatementWrapper
-
- getRoutingToken() - Method in class com.datastax.driver.core.BoundStatement
-
- getRoutingToken() - Method in class com.datastax.driver.core.RegularStatement
-
- getRoutingToken() - Method in class com.datastax.driver.core.Statement
-
Returns the routing token to use for token aware routing of this query.
- getSchemaVersion() - Method in class com.datastax.driver.core.Host
-
Return the current schema version for the host.
- getScoresSnapshot() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
-
Returns a snapshot of the scores (latency averages) maintained by this policy.
- getSendBufferSize() - Method in class com.datastax.driver.core.SocketOptions
-
Returns the hint to the size of the underlying buffers for outgoing network I/O.
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getSerialConsistencyLevel() - Method in interface com.datastax.driver.core.PreparedStatement
-
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.QueryOptions
-
The default serial consistency level used by queries.
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.Statement
-
The serial consistency level for this query.
- getSerialConsistencyLevel() - Method in class com.datastax.driver.core.StatementWrapper
-
- getServerVersion() - Method in exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
-
The version with which the server replied.
- getSession() - Method in interface com.datastax.driver.core.Session.State
-
The Session to which this State corresponds to.
- getSession() - Method in class com.datastax.driver.mapping.MappingManager
-
The underlying
Session
used by this manager.
- getSet(String, Class<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a set.
- getSet(String, TypeToken<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a set.
- getSet(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a set.
- getSet(int, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a set.
- getSet(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a set.
- getSet(String, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a set.
- getSet(int, Class<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a set.
- getSet(int, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a set.
- getSet(String, Class<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a set.
- getSet(String, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a set.
- getShort(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a short.
- getShort(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a short.
- getShort(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a short.
- getShort(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a short.
- getShort(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a short.
- getSignature() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the CQL signature of this aggregate.
- getSignature() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the CQL signature of this function.
- getSimpleName() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the simple name of this aggregate.
- getSimpleName() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the simple name of this function.
- getSlowQueryLatencyThresholdMillis() - Method in class com.datastax.driver.core.QueryLogger.ConstantThresholdQueryLogger
-
Return the threshold in milliseconds beyond which queries are considered 'slow' and logged as
such by the driver.
- getSlowQueryLatencyThresholdPercentile() - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
Return the threshold percentile beyond which queries are considered 'slow' and logged as such
by the driver.
- getSocketAddress() - Method in class com.datastax.driver.core.Host
-
- 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.ExecutionInfo
-
The number of speculative executions that were started for this query.
- getSpeculativeExecutions() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of times a speculative execution was started because a previous execution
did not complete within the delay specified by
SpeculativeExecutionPolicy
.
- getSpeculativeRetry() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the speculative retry option for this table.
- getSSLOptions() - Method in class com.datastax.driver.core.ProtocolOptions
-
The SSLOptions
used by this cluster.
- getStart() - Method in class com.datastax.driver.core.TokenRange
-
Return the start of the range.
- getStartedAt() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the server-side timestamp of the start of this query.
- getState() - Method in class com.datastax.driver.core.Host
-
Returns a description of the host's state, as seen by the driver.
- getState() - Method in interface com.datastax.driver.core.Session
-
Return a snapshot of the state of this Session.
- getStateFunc() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the state function of this aggregate.
- getStatement() - Method in class com.datastax.driver.core.ExecutionInfo
-
Get the statement that has been executed.
- getStatementFromBytecode(Bytecode) - Static method in class com.datastax.dse.graph.internal.utils.GraphSONUtils
-
- getStatementFromBytecodeRemoteSource(Bytecode) - Static method in class com.datastax.dse.graph.internal.utils.GraphSONUtils
-
- getStatementFromBytecodes(Collection<GraphTraversal>) - Static method in class com.datastax.dse.graph.internal.utils.GraphSONUtils
-
- 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.
- getStoragePort() - Method in class com.datastax.driver.core.Host
-
Returns the storage port used by the DSE node.
- getStoragePortSsl() - Method in class com.datastax.driver.core.Host
-
Returns the encrypted storage port used by the DSE node.
- getStreamId() - Method in exception com.datastax.driver.core.exceptions.FrameTooLongException
-
- getString(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a string.
- getString(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a string.
- getString(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a string.
- getString(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a string.
- getString(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a string.
- getSuccessfulExecutionIndex() - Method in class com.datastax.driver.core.ExecutionInfo
-
The index of the execution that completed this query.
- getTable() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
-
Returns the name of the table this column is part of.
- getTable(int) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the table of the i
th column in this metadata.
- getTable(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the table of first occurrence of name
in this metadata.
- getTable() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
If the failed creation was a table creation, the name of the table that already exists.
- getTable() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns the metadata of the table this index is part of.
- getTable(String) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the metadata for a table contained in this keyspace.
- GettableByIndexData - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be retrieved by index (starting at zero).
- GettableByNameData - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be retrieved by name.
- GettableData - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be retrieved either by index (starting at zero) or by
name.
- getTableMetadata() - Method in class com.datastax.driver.mapping.Mapper
-
The TableMetadata
for this mapper.
- getTables() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the tables defined in this keyspace.
- getTarget() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns the index target.
- getTaskSchedulerQueueSize() - Method in class com.datastax.driver.core.Metrics
-
- getTcpNoDelay() - Method in class com.datastax.driver.core.SocketOptions
-
Returns whether Nagle's algorithm is disabled.
- getThreadingOptions() - Method in class com.datastax.driver.core.Configuration
-
- getThreadName() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the name of the thread on which this event occurred.
- getTime(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a long in nanoseconds since midnight.
- getTime(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a long in nanoseconds since midnight.
- getTime(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a long in nanoseconds since midnight.
- getTime(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a long in nanoseconds since midnight.
- getTime(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a long in nanoseconds since midnight.
- getTimestamp(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a date.
- getTimestamp(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a date.
- getTimestamp(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a date.
- getTimestamp(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a date.
- getTimestamp(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a date.
- getTimestamp() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the server side timestamp of the event.
- getTimestamp() - Method in class com.datastax.driver.dse.search.DateRange.DateRangeBound
-
Returns the timestamp of this bound.
- 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.
- getTransformResultFunction() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Allows users to input their own implementations of
GraphNode
directly into the DSE Driver's workflow.
- 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.
- getTypeDefinitions() - Method in class com.datastax.dse.graph.internal.serde.DseGraphModule
-
- getTypeName() - Method in class com.datastax.driver.core.UserType
-
The name of this user type.
- getTypeNamespace() - Method in class com.datastax.dse.graph.internal.serde.DseGraphModule
-
- getUDTValue(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Return the value for name
as a UDT value.
- getUDTValue(int) - Method in class com.datastax.driver.core.BoundStatement
-
Return the i
th value as a UDT value.
- getUDTValue(String) - Method in class com.datastax.driver.core.BoundStatement
-
Return the value for name
as a UDT value.
- getUDTValue(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Return the i
th value as a UDT value.
- getUDTValue(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Return the value for name
as a UDT value.
- getUnavailables() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of requests that returned an unavailable exception (independently of the
final decision taken by the
RetryPolicy
).
- getUninterruptibly() - Method in interface com.datastax.driver.core.ResultSetFuture
-
Waits for the query to return and return its result.
- getUninterruptibly(long, TimeUnit) - Method in interface com.datastax.driver.core.ResultSetFuture
-
Waits for the provided time for the query to return and return its result if available.
- getUnsupportedVersion() - Method in exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
-
The version with which the client sent its request.
- getUpperBound() - Method in class com.datastax.driver.dse.search.DateRange
-
Returns the upper
bound
of this range (inclusive).
- getUserType(String) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition for a user defined type (UDT) in this keyspace.
- getUserTypes() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the user types defined in this keyspace.
- getUUID(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a UUID.
- getUUID(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a UUID.
- getUUID(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a UUID.
- getUUID(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a UUID.
- getUUID(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a UUID.
- getValue() - Method in class com.datastax.driver.core.Token
-
Returns the raw value of this token.
- getValue() - Method in interface com.datastax.driver.dse.graph.Property
-
Returns the property value.
- getValue(Object) - Method in interface com.datastax.driver.mapping.MappedProperty
-
Reads the current value of this property in the given entity
.
- getValue() - Method in class com.datastax.driver.mapping.Word
-
- getValueNames() - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the names of the named values of this statement.
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.Batch
-
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.RegularStatement
-
The positional values to use for this statement.
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.SimpleStatement
-
- getVariables() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- getVariables() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns metadata on the bounded variables of this prepared statement.
- getVarint(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for name
as a variable length integer.
- getVarint(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the i
th value as a variable length integer.
- getVarint(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for name
as a variable length integer.
- getVarint(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the i
th value as a variable length integer.
- getVarint(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for name
as a variable length integer.
- getView(String) - Method in class com.datastax.driver.core.TableMetadata
-
Returns metadata on a view of this table.
- getViews() - Method in class com.datastax.driver.core.TableMetadata
-
Returns all views based on this table.
- getWarnings() - Method in class com.datastax.driver.core.ExecutionInfo
-
Returns the server-side warnings for this query.
- getWriteTimeouts() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of write requests that returned a timeout (independently of the final
decision taken by the
RetryPolicy
).
- getWriteType() - Method in exception com.datastax.driver.core.exceptions.WriteFailureException
-
The type of the write for which a timeout was raised.
- getWriteType() - Method in exception com.datastax.driver.core.exceptions.WriteTimeoutException
-
The type of the write for which a timeout was raised.
- getYear() - Method in class com.datastax.driver.core.LocalDate
-
Returns the year.
- GraphJsonUtils - Class in com.datastax.driver.dse.graph
-
Utility static methods and objects useful in the DSE Driver's execution chain.
- GraphJsonUtils() - Constructor for class com.datastax.driver.dse.graph.GraphJsonUtils
-
- GraphNode - Interface in com.datastax.driver.dse.graph
-
A node in a tree-like structure representing a Graph or a Graph component.
- GraphOptions - Class in com.datastax.driver.dse.graph
-
The default graph options to use for a DSE cluster.
- GraphOptions() - Constructor for class com.datastax.driver.dse.graph.GraphOptions
-
- GraphProtocol - Enum in com.datastax.driver.dse.graph
-
Defines a subprotocol to be used by the Java driver to communicate with DSE Graph.
- GraphResultSet - Class in com.datastax.driver.dse.graph
-
The result of a graph query.
- GraphResultSet(ResultSet) - Constructor for class com.datastax.driver.dse.graph.GraphResultSet
-
- GraphResultSet(ResultSet, Function<Row, GraphNode>) - Constructor for class com.datastax.driver.dse.graph.GraphResultSet
-
- GraphSONUtils - Class in com.datastax.dse.graph.internal.utils
-
- GraphSONUtils() - Constructor for class com.datastax.dse.graph.internal.utils.GraphSONUtils
-
- GraphStatement - Class in com.datastax.driver.dse.graph
-
An executable graph query.
- GraphStatement() - Constructor for class com.datastax.driver.dse.graph.GraphStatement
-
- groupBy(Object...) - Method in class com.datastax.driver.core.querybuilder.Select
-
Adds a GROUP BY
clause to this statement.
- groupBy(Object...) - Method in class com.datastax.driver.core.querybuilder.Select.Where
-
Adds a GROUP BY
clause to this statement.
- 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(Iterable<String>, Iterable<?>) - 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(Iterable<String>, Iterable<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "greater than or equal" WHERE
clause for a group of clustering columns.
- GuavaCompatibility - Class in com.datastax.driver.core
-
A compatibility layer to support a wide range of Guava versions.
- GuavaCompatibility() - Constructor for class com.datastax.driver.core.GuavaCompatibility
-
- id - Variable in class com.datastax.driver.core.AbstractTableMetadata
-
- id - Variable in enum com.datastax.driver.core.ContinuousPagingOptions.PageUnit
-
- IdempotenceAwareRetryPolicy - Class in com.datastax.driver.core.policies
-
- IdempotenceAwareRetryPolicy(RetryPolicy) - Constructor for class com.datastax.driver.core.policies.IdempotenceAwareRetryPolicy
-
Deprecated.
Creates a new instance.
- idempotent - Variable in class com.datastax.driver.core.Statement
-
- IdentityTranslator - Class in com.datastax.driver.core.policies
-
- IdentityTranslator() - Constructor for class com.datastax.driver.core.policies.IdentityTranslator
-
- ifExists() - Method in class com.datastax.driver.core.querybuilder.Delete
-
Sets the 'IF EXISTS' option for this DELETE statement.
- ifExists() - Method in class com.datastax.driver.core.querybuilder.Delete.Where
-
Sets the 'IF EXISTS' option for the DELETE statement this WHERE clause is part of.
- ifExists() - Method in class com.datastax.driver.core.querybuilder.Update.Where
-
Sets the 'IF EXISTS' option for the UPDATE statement this WHERE clause is part of.
- ifExists() - Method in class com.datastax.driver.core.schemabuilder.Drop
-
Add the 'IF EXISTS' condition to this DROP statement.
- ifExists() - Method in class com.datastax.driver.core.schemabuilder.DropKeyspace
-
Add the 'IF EXISTS' condition to this DROP statement.
- ifNotExists() - Method in class com.datastax.driver.core.querybuilder.Insert
-
Sets the 'IF NOT EXISTS' option for this INSERT
statement.
- ifNotExists - Variable in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
- ifNotExists() - Method in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
Add the 'IF NOT EXISTS' condition to this CREATE statement.
- ifNotExists() - Method in class com.datastax.driver.core.schemabuilder.CreateIndex
-
Add the 'IF NOT EXISTS' condition to this CREATE INDEX statement.
- ifNotExists() - Method in class com.datastax.driver.core.schemabuilder.CreateKeyspace
-
- ifNotExists(boolean) - Static method in class com.datastax.driver.mapping.Mapper.Option
-
Creates a new Option object to specify whether an IF NOT EXISTS clause should be included in
insert queries.
- ignore() - Static method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
-
- IgnoreJDK6Requirement - Annotation Type in com.datastax.driver.core
-
Annotation used to mark classes in this project as excluded from JDK 6 signature check performed
by
animal-sniffer
Maven plugin as they require JDK 8 or higher.
- in(String, Object...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Create an "in" WHERE
clause stating the provided column must be equal to one of the
provided values.
- in(String, Iterable<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Create an "in" WHERE
clause stating the provided column must be equal to one of the
provided values.
- in(Iterable<String>, Iterable<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates an "in" WHERE
clause for a group of clustering columns (a.k.a.
- include(Host, Statement, Exception) - Method in class com.datastax.driver.core.PercentileTracker
-
Determines whether a particular measurement should be included.
- incr(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Incrementation of a counter column.
- incr(String, long) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Incrementation of a counter column by a provided value.
- incr(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Incrementation of a counter column by a provided value.
- INDEX_ENTRIES_OPTION_NAME - Static variable in class com.datastax.driver.core.IndexMetadata
-
The name of the option used to specify that the index is on the collection (map) entries.
- INDEX_KEYS_OPTION_NAME - Static variable in class com.datastax.driver.core.IndexMetadata
-
The name of the option used to specify that the index is on the collection (map) keys.
- indexInterval(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the index interval for Cassandra 2.0.
- IndexMetadata - Class in com.datastax.driver.core
-
An immutable representation of secondary index metadata.
- IndexMetadata.Kind - Enum in com.datastax.driver.core
-
- inet() - Static method in class com.datastax.driver.core.DataType
-
Returns the INET type.
- inet() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type inet
.
- inferMappedName(Class<?>, String, Map<Class<? extends Annotation>, Annotation>) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
-
Infers the Cassandra object name corresponding to given the property name.
- init() - Method in class com.datastax.driver.core.Cluster
-
Initialize this Cluster instance.
- init(Cluster) - Method in class com.datastax.driver.core.DefaultEndPointFactory
-
- init() - Method in class com.datastax.driver.core.DelegatingCluster
-
- init(Cluster) - Method in interface com.datastax.driver.core.EndPointFactory
-
- init() - Static method in class com.datastax.driver.core.GuavaCompatibility
-
Force the initialization of the class.
- init(Cluster) - Method in interface com.datastax.driver.core.policies.AddressTranslator
-
Initializes this address translator.
- init(Cluster) - Method in class com.datastax.driver.core.policies.ConstantReconnectionPolicy
-
- init(Cluster) - Method in class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
-
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
-
- init(Cluster) - Method in class com.datastax.driver.core.policies.DefaultRetryPolicy
-
- init(Cluster) - Method in class com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy
-
Deprecated.
- init(Cluster) - Method in class com.datastax.driver.core.policies.EC2MultiRegionAddressTranslator
-
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy
-
- init(Cluster) - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
- init(Cluster) - Method in class com.datastax.driver.core.policies.FallthroughRetryPolicy
-
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
-
Initialize this load balancing policy.
- init(Cluster) - Method in class com.datastax.driver.core.policies.IdempotenceAwareRetryPolicy
-
Deprecated.
- init(Cluster) - Method in class com.datastax.driver.core.policies.IdentityTranslator
-
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
-
- init(Cluster, Collection<Host>) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
-
Initialize this load balancing policy.
- init(Cluster) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
-
- init(Cluster) - Method in class com.datastax.driver.core.policies.NoSpeculativeExecutionPolicy
-
- init(Cluster) - Method in class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
-
- init(Cluster) - Method in interface com.datastax.driver.core.policies.ReconnectionPolicy
-
Gets invoked at cluster startup.
- init(Cluster) - Method in interface com.datastax.driver.core.policies.RetryPolicy
-
Gets invoked at cluster startup.
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
-
- init(Cluster) - Method in interface com.datastax.driver.core.policies.SpeculativeExecutionPolicy
-
Gets invoked at cluster startup.
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
-
- init() - Method in interface com.datastax.driver.core.Session
-
Force the initialization of this Session instance if it hasn't been initialized yet.
- init(Cluster) - Method in class com.datastax.driver.core.SniEndPointFactory
-
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.dse.DseLoadBalancingPolicy
-
- init() - Method in interface com.datastax.driver.dse.DseSession
-
Forces the initialization of this instance if it hasn't been initialized yet.
- init(Cluster) - Method in class com.datastax.driver.dse.LoggingIdempotenceAwareRetryPolicy
-
Deprecated.
- initAsync() - Method in interface com.datastax.driver.core.Session
-
Initialize this session asynchronously.
- initAsync() - Method in interface com.datastax.driver.dse.DseSession
-
Initialize this session asynchronously.
- initialResponse() - Method in interface com.datastax.driver.core.Authenticator
-
Obtain an initial response token for initializing the SASL handshake
- innerCodec - Variable in class com.datastax.driver.extras.codecs.MappingCodec
-
- Insert - Class in com.datastax.driver.core.querybuilder
-
A built INSERT
statement.
- Insert.Options - Class in com.datastax.driver.core.querybuilder
-
The options of an INSERT
statement.
- insertInto(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new INSERT
query.
- insertInto(String, String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new INSERT
query.
- insertInto(TableMetadata) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new INSERT
query.
- inside(Point, double, Geo.Unit) - Static method in class com.datastax.dse.graph.api.predicates.Geo
-
Graph predicate to find whether an entity is inside a defined area using a geo coordinate
system.
- inside(Point, double) - Static method in class com.datastax.dse.graph.api.predicates.Geo
-
Graph predicate to find whether an entity is inside a defined area using a cartesian coordinate
system.
- inside(Polygon) - Static method in class com.datastax.dse.graph.api.predicates.Geo
-
Graph predicate to find whether an entity is inside a defined
Polygon
.
- InsightEventFormatException - Exception in com.datastax.driver.core.exceptions
-
- InsightEventFormatException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.InsightEventFormatException
-
- InsightsOptions - Class in com.datastax.driver.core
-
- INSTANCE - Static variable in class com.datastax.driver.core.GuavaCompatibility
-
The unique instance of this class, that is compatible with the Guava version found in the
classpath.
- INSTANCE - Static variable in class com.datastax.driver.core.policies.DefaultRetryPolicy
-
- INSTANCE - Static variable in class com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy
-
Deprecated.
- INSTANCE - Static variable in class com.datastax.driver.core.policies.FallthroughRetryPolicy
-
- INSTANCE - Static variable in class com.datastax.driver.core.policies.NoSpeculativeExecutionPolicy
-
The single instance (this class is stateless).
- INSTANCE - Static variable in class com.datastax.driver.core.ServerSideTimestampGenerator
-
The unique instance of this generator.
- INSTANCE - Static variable in class com.datastax.driver.dse.geometry.codecs.LineStringCodec
-
The unique (stateless and thread-safe) instance of this codec.
- INSTANCE - Static variable in class com.datastax.driver.dse.geometry.codecs.PointCodec
-
The unique (stateless and thread-safe) instance of this codec.
- INSTANCE - Static variable in class com.datastax.driver.dse.geometry.codecs.PolygonCodec
-
The unique (stateless and thread-safe) instance of this codec.
- INSTANCE - Static variable in class com.datastax.driver.dse.search.DateRangeCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.arrays.DoubleArrayCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.arrays.FloatArrayCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.arrays.IntArrayCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.arrays.LongArrayCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.date.SimpleDateCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.date.SimpleTimestampCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.jdk8.InstantCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.jdk8.LocalDateCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.jdk8.LocalDateTimeCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.jdk8.LocalTimeCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.jdk8.ZoneIdCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.joda.InstantCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.joda.LocalDateCodec
-
- instance - Static variable in class com.datastax.driver.extras.codecs.joda.LocalTimeCodec
-
- InstantCodec - Class in com.datastax.driver.extras.codecs.jdk8
-
TypeCodec
that maps
Instant
to CQL
timestamp
allowing the
setting and retrieval of
timestamp
columns as
Instant
instances.
- InstantCodec - Class in com.datastax.driver.extras.codecs.joda
-
TypeCodec
that maps
Instant
to CQL
timestamp
allowing the setting and
retrieval of
timestamp
columns as
Instant
instances.
- IntArrayCodec - Class in com.datastax.driver.extras.codecs.arrays
-
A codec that maps the CQL type list<int>
to the Java type int[]
.
- IntArrayCodec() - Constructor for class com.datastax.driver.extras.codecs.arrays.IntArrayCodec
-
- intersects(TokenRange) - Method in class com.datastax.driver.core.TokenRange
-
Returns whether this range intersects another one.
- intersectWith(TokenRange) - Method in class com.datastax.driver.core.TokenRange
-
Computes the intersection of this range with another one.
- intervalMs - Variable in class com.datastax.driver.core.PercentileTracker.Builder
-
- InvalidConfigurationInQueryException - Exception in com.datastax.driver.core.exceptions
-
A specific invalid query exception that indicates that the query is invalid because of some
configuration problem.
- InvalidConfigurationInQueryException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidConfigurationInQueryException
-
- InvalidQueryException - Exception in com.datastax.driver.core.exceptions
-
Indicates a syntactically correct but invalid query.
- InvalidQueryException(String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
-
- InvalidQueryException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
-
- InvalidQueryException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
-
- InvalidQueryException(EndPoint, String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
-
- InvalidTypeException - Exception in com.datastax.driver.core.exceptions
-
Thrown when a
TypeCodec
is unable to perform the requested
operation (serialization, deserialization, parsing or formatting) because the object or the byte
buffer content being processed does not comply with the expected Java and/or CQL type.
- InvalidTypeException(String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidTypeException
-
- InvalidTypeException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.InvalidTypeException
-
- isAbbreviation() - Method in class com.datastax.driver.mapping.Word
-
- isAbsent(T) - Method in class com.datastax.driver.extras.codecs.guava.OptionalCodec
-
- isAbsent(T) - Method in class com.datastax.driver.extras.codecs.jdk8.OptionalCodec
-
- isArray() - Method in class com.datastax.driver.dse.graph.ObjectGraphNode
-
- isArray() - Method in interface com.datastax.driver.dse.serde.Node
-
Returns whether this node is an array.
- isBatchIdempotent(Collection<? extends Statement>) - Static method in class com.datastax.driver.core.Statement
-
- isBlank(int) - Static method in class com.datastax.driver.core.ParseUtils
-
Return true
if the given character is a valid whitespace character in CQL, that is, if
it is a regular space, a tabulation sign, or a new line sign.
- isCalledOnNullInput() - Method in class com.datastax.driver.core.FunctionMetadata
-
Indicates whether this function's body gets called on null input.
- isCDC() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns whether or not change data capture is enabled for this table.
- isClosed() - Method in class com.datastax.driver.core.Cluster
-
Whether this Cluster instance has been closed.
- isClosed() - Method in class com.datastax.driver.core.DelegatingCluster
-
- isClosed() - Method in interface com.datastax.driver.core.Session
-
Whether this Session instance has been closed.
- isClusteringColumn() - Method in interface com.datastax.driver.mapping.MappedProperty
-
Returns true
if this property is a clustering column, false
otherwise.
- isCollection() - Method in class com.datastax.driver.core.DataType
-
Returns whether this data type represent a CQL
collection type
, that is, a list, set or map.
- isCompactStorage() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns whether the table uses the COMPACT STORAGE
option.
- isCompatibleWith(DataType.Name) - Method in enum com.datastax.driver.core.DataType.Name
-
Return true
if the provided Name is equal to this one, or if they are aliases for
each other, and false
otherwise.
- isComputed() - Method in interface com.datastax.driver.mapping.MappedProperty
-
Returns true
if this property is computed, i.e.
- isConsistencySet() - Method in class com.datastax.driver.core.QueryOptions
-
- isContactPointsMultipleDCs() - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
-
- isCustomIndex() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns whether this index is a custom one.
- isDCLocal() - Method in enum com.datastax.driver.core.ConsistencyLevel
-
Whether or not this consistency level applies to the local data-center only.
- isDeterministic() - Method in class com.datastax.driver.core.AggregateMetadata
-
- isDeterministic() - Method in class com.datastax.driver.core.FunctionMetadata
-
- isDoubleQuoted(String) - Static method in class com.datastax.driver.core.ParseUtils
-
Return true
if the given string is surrounded by double quotes, and false
otherwise.
- isDseGraphEnabled() - Method in class com.datastax.driver.core.Host
-
- isDurableWrites() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns whether durable writes are set on this keyspace.
- isEdge() - Method in interface com.datastax.driver.dse.graph.GraphNode
-
Returns true
if this node is an edge.
- isEdge() - Method in class com.datastax.driver.dse.graph.ObjectGraphNode
-
- isEmpty() - Method in class com.datastax.driver.core.TokenRange
-
Returns whether this range is empty.
- isEnabled() - Method in class com.datastax.driver.core.MetricsOptions
-
Returns whether metrics are enabled.
- isExhausted() - Method in interface com.datastax.driver.core.PagingIterable
-
Returns whether this result set has more results.
- isExhausted() - Method in class com.datastax.driver.dse.graph.GraphResultSet
-
Returns whether there are more results.
- isExhausted() - Method in class com.datastax.driver.mapping.Result
-
- isFieldScanAllowed() - Method in enum com.datastax.driver.mapping.PropertyAccessStrategy
-
Returns true
if field scan is allowed, false
otherwise.
- isFrozen() - Method in class com.datastax.driver.core.DataType.CollectionType
-
- isFrozen() - Method in class com.datastax.driver.core.DataType.CustomType
-
- isFrozen() - Method in class com.datastax.driver.core.DataType
-
Returns whether this data type is frozen.
- isFrozen() - Method in class com.datastax.driver.core.DataType.NativeType
-
- isFrozen() - Method in class com.datastax.driver.core.TupleType
-
- isFrozen() - Method in class com.datastax.driver.core.UserType
-
- isFullyFetched() - Method in interface com.datastax.driver.core.PagingIterable
-
Whether all results from this result set have been fetched from the database.
- isFullyFetched() - Method in class com.datastax.driver.dse.graph.GraphResultSet
-
Deprecated.
- isFullyFetched() - Method in class com.datastax.driver.mapping.Result
-
- isGetpidAvailable() - Static method in class com.datastax.driver.core.Native
-
Returns true
if JNR POSIX library is loaded and a call to getpid
is possible
through this library on this system, and false
otherwise.
- isGetterSetterScanAllowed() - Method in enum com.datastax.driver.mapping.PropertyAccessStrategy
-
Returns true
if getter and setter scan is allowed, false
otherwise.
- isGettimeofdayAvailable() - Static method in class com.datastax.driver.core.Native
-
Returns true
if JNR C library is loaded and a call to gettimeofday
is possible
through this library on this system, and false
otherwise.
- isIdempotent() - Method in class com.datastax.driver.core.BatchStatement
-
- isIdempotent() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
Whether this statement is idempotent, i.e.
- isIdempotent(Statement) - Method in class com.datastax.driver.core.policies.IdempotenceAwareRetryPolicy
-
Deprecated.
Determines whether the given statement is idempotent or not.
- isIdempotent() - Method in interface com.datastax.driver.core.PreparedStatement
-
Whether this statement is idempotent, i.e.
- isIdempotent() - Method in class com.datastax.driver.core.querybuilder.Batch
-
- isIdempotent() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
- isIdempotent() - Method in class com.datastax.driver.core.Statement
-
Whether this statement is idempotent, i.e.
- isIdempotent() - Method in class com.datastax.driver.core.StatementWrapper
-
- isIdempotent() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Whether this statement is idempotent, i.e.
- isIdempotent(Statement) - Method in class com.datastax.driver.dse.LoggingIdempotenceAwareRetryPolicy
-
Deprecated.
- isIdempotentWithDefault(QueryOptions) - Method in class com.datastax.driver.core.StatementWrapper
-
- isIdentifierChar(int) - Static method in class com.datastax.driver.core.ParseUtils
-
Return true
if the given character is allowed in a CQL identifier, that is, if it is in
the range: [0..9a..zA..Z-+._&]
.
- isJavaTimeAvailable() - Static method in class com.datastax.driver.core.ClasspathUtil
-
Returns true
if java.time
API (JSR-310) is available on the classpath, false
otherwise.
- isJMXReportingEnabled() - Method in class com.datastax.driver.core.MetricsOptions
-
Returns whether JMX reporting is enabled.
- isLast() - Method in interface com.datastax.driver.core.AsyncContinuousPagingResult
-
Indicates if this is the last page in the stream of results.
- isLongLiteral(String) - Static method in class com.datastax.driver.core.ParseUtils
-
Check whether the given string corresponds to a valid CQL long literal.
- isMetadataEnabled() - Method in class com.datastax.driver.core.QueryOptions
-
Whether client-side token and schema metadata is enabled.
- isMonitorReportingEnabled() - Method in class com.datastax.driver.core.InsightsOptions
-
Returns whether Insights monitoring is enabled.
- isMonotonic() - Method in class com.datastax.driver.core.FunctionMetadata
-
Indicates whether or not this function is monotonic on all of its arguments.
- isNoCompact() - Method in class com.datastax.driver.core.ProtocolOptions
-
- isNull(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns whether the value for name
is NULL.
- isNull(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns whether the i
th value is NULL.
- isNull(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns whether the value for name
is NULL.
- isNull(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns whether the i
th value is NULL.
- isNull(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns whether the value for name
is NULL.
- isNull() - Method in class com.datastax.driver.dse.graph.ObjectGraphNode
-
- isNull() - Method in interface com.datastax.driver.dse.serde.Node
-
Returns whether this node is null
.
- isObject() - Method in class com.datastax.driver.dse.graph.ObjectGraphNode
-
- isObject() - Method in interface com.datastax.driver.dse.serde.Node
-
Returns whether this node is an object.
- isPartitionKey() - Method in interface com.datastax.driver.mapping.MappedProperty
-
Returns true
if this property is part of the table's partition key, false
otherwise.
- isPlatformAvailable() - Static method in class com.datastax.driver.core.Native
-
Returns true
if JNR Platform
class is loaded, and false
otherwise.
- isPrepareOnAllHosts() - Method in class com.datastax.driver.core.QueryOptions
-
Returns whether the driver should prepare statements on all hosts in the cluster.
- isQuoted(String) - Static method in class com.datastax.driver.core.ParseUtils
-
Return true
if the given string is surrounded by single quotes, and false
otherwise.
- isReprepareOnUp() - Method in class com.datastax.driver.core.QueryOptions
-
Whether the driver should re-prepare all cached prepared statements on a host when its marks
that host back up.
- isReservedCqlKeyword(String) - Static method in class com.datastax.driver.core.Metadata
-
Checks whether an identifier is a known reserved CQL keyword or not.
- isRetryCurrent() - Method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
-
Whether this decision is to retry the same host.
- isSchemaInAgreement() - Method in class com.datastax.driver.core.ExecutionInfo
-
Whether the cluster had reached schema agreement after the execution of this query.
- isSerial() - Method in enum com.datastax.driver.core.ConsistencyLevel
-
Whether or not this consistency level is serial, that is, applies only to the "paxos" phase of
a
Lightweight
transaction.
- isSet(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns whether the i
th variable has been bound.
- isSet(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns whether the first occurrence of variable name
has been bound.
- isSingleBounded() - Method in class com.datastax.driver.dse.search.DateRange
-
- isStatic() - Method in class com.datastax.driver.core.ColumnMetadata
-
Whether this column is a static column.
- isSupertypeOf(TypeToken<?>, TypeToken<?>) - Method in class com.datastax.driver.core.GuavaCompatibility
-
Returns true if target
is a supertype of argument
.
- isSystemQuery() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Returns whether this statement is marked as a system query.
- isTracing() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- isTracing() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns whether tracing is enabled for this prepared statement, i.e.
- isTracing() - Method in class com.datastax.driver.core.Statement
-
Returns whether tracing is enabled for this query or not.
- isTracing() - Method in class com.datastax.driver.core.StatementWrapper
-
- isTransient(String, Field, Method, Method, Map<Class<? extends Annotation>, Annotation>) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
-
Returns true
if the given property is transient, false
otherwise.
- isUnbounded() - Method in class com.datastax.driver.dse.search.DateRange.DateRangeBound
-
Whether this bound is an unbounded bound.
- isUp() - Method in class com.datastax.driver.core.Host
-
Returns whether the host is considered up by the driver.
- isUseRemoteHostsForFailover() - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
-
- isValidCondition(Object) - Method in interface com.datastax.dse.graph.internal.DsePredicate
-
- isValidCondition(Object) - Method in enum com.datastax.dse.graph.internal.GeoPredicate
-
- isValue() - Method in class com.datastax.driver.dse.graph.ObjectGraphNode
-
- isValue() - Method in interface com.datastax.driver.dse.serde.Node
-
Returns whether this node is a simple value, i.e.
- isVertex() - Method in interface com.datastax.driver.dse.graph.GraphNode
-
Returns true
if this node is a vertex.
- isVertex() - Method in class com.datastax.driver.dse.graph.ObjectGraphNode
-
- isVirtual() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns whether or not this table is a virtual table
- isVirtual() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns whether or not this keyspace is a virtual keyspace
- isWrappedAround() - Method in class com.datastax.driver.core.TokenRange
-
Returns whether this range wraps around the end of the ring.
- iterator() - Method in class com.datastax.driver.core.ColumnDefinitions
-
- iterator() - Method in interface com.datastax.driver.core.PagingIterable
-
Returns an iterator over the rows contained in this result set.
- iterator() - Method in class com.datastax.driver.core.UserType
-
Returns an iterator over the fields of this UDT.
- iterator() - Method in class com.datastax.driver.dse.graph.GraphResultSet
-
Returns an iterator over the results.
- iterator() - Method in class com.datastax.driver.mapping.Result
-
- iterator() - Method in class com.datastax.dse.graph.internal.DefaultTraversalBatch
-
- sameThreadExecutor() - Method in class com.datastax.driver.core.GuavaCompatibility
-
- SASL_PROTOCOL_NAME_PROPERTY - Static variable in class com.datastax.driver.dse.auth.DseGSSAPIAuthProvider
-
The name of the system property to use to specify the SASL protocol name.
- save(T) - Method in class com.datastax.driver.mapping.Mapper
-
Saves an entity mapped by this mapper.
- save(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Saves an entity mapped by this mapper and using special options for save.
- saveAsync(T) - Method in class com.datastax.driver.mapping.Mapper
-
Saves an entity mapped by this mapper asynchronously.
- saveAsync(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Save an entity mapped by this mapper asynchronously using special options for save.
- saveNullFields(boolean) - Static method in class com.datastax.driver.mapping.Mapper.Option
-
Creates a new Option object to specify whether null entity fields should be included in
insert queries.
- saveQuery(T) - Method in class com.datastax.driver.mapping.Mapper
-
Creates a query that can be used to save the provided entity.
- saveQuery(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Creates a query that can be used to save the provided entity.
- SchemaBuilder - Class in com.datastax.driver.core.schemabuilder
-
Static methods to build a CQL3 DDL statement.
- SchemaBuilder.Caching - Enum in com.datastax.driver.core.schemabuilder
-
Caching strategies, for use in a CREATE or ALTER TABLE statement.
- SchemaBuilder.Direction - Enum in com.datastax.driver.core.schemabuilder
-
The direction used in clustering order declarations.
- SchemaBuilder.KeyCaching - Enum in com.datastax.driver.core.schemabuilder
-
Key caching strategies for Cassandra 2.1, for use in a CREATE or ALTER TABLE statement.
- SchemaChangeListener - Interface in com.datastax.driver.core
-
Interface for objects that are interested in tracking schema change events in the cluster.
- SchemaChangeListenerBase - Class in com.datastax.driver.core
-
- SchemaChangeListenerBase() - Constructor for class com.datastax.driver.core.SchemaChangeListenerBase
-
- SchemaStatement - Class in com.datastax.driver.core.schemabuilder
-
- SchemaStatement() - Constructor for class com.datastax.driver.core.schemabuilder.SchemaStatement
-
- Search - Class in com.datastax.dse.graph.api.predicates
-
- Search() - Constructor for class com.datastax.dse.graph.api.predicates.Search
-
- SearchPredicate - Enum in com.datastax.dse.graph.internal
-
List of predicates for geolocation usage with DseGraph and Search indexes.
- select(String...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new SELECT
query that selects the provided names.
- select(Object...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new SELECT
query that selects the provided names.
- select() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new SELECT
query.
- Select - Class in com.datastax.driver.core.querybuilder
-
A built SELECT statement.
- Select.Builder - Class in com.datastax.driver.core.querybuilder
-
An in-construction SELECT statement.
- Select.Selection - Class in com.datastax.driver.core.querybuilder
-
An Selection clause for an in-construction SELECT statement.
- Select.SelectionOrAlias - Class in com.datastax.driver.core.querybuilder
-
An Selection clause for an in-construction SELECT statement.
- Select.Where - Class in com.datastax.driver.core.querybuilder
-
The WHERE
clause of a SELECT
statement.
- Selection() - Constructor for class com.datastax.driver.core.querybuilder.Delete.Selection
-
- Selection() - Constructor for class com.datastax.driver.core.querybuilder.Select.Selection
-
- SelectionOrAlias() - Constructor for class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
-
- self() - Method in class com.datastax.driver.core.ClusterWidePercentileTracker.Builder
-
- self() - Method in class com.datastax.driver.core.PercentileTracker.Builder
-
- self() - Method in class com.datastax.driver.core.PerHostPercentileTracker.Builder
-
- serialize(ProtocolVersion) - Method in class com.datastax.driver.core.Token
-
Returns the serialized form of the current token, using the appropriate codec depending on the
partitioner in use and the CQL datatype for the token.
- serialize(C, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractCollectionCodec
-
- serialize(Map<K, V>, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractMapCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
-
- serialize(Boolean, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveBooleanCodec
-
- serialize(Byte, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveByteCodec
-
- serialize(Double, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveDoubleCodec
-
- serialize(Float, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveFloatCodec
-
- serialize(Integer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveIntCodec
-
- serialize(Long, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveLongCodec
-
- serialize(Short, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveShortCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec
-
Serialize the given value according to the CQL type handled by this codec.
- serialize(DateRange, ProtocolVersion) - Method in class com.datastax.driver.dse.search.DateRangeCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.AbstractPrimitiveArrayCodec
-
- serialize(E[], ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.ObjectArrayCodec
-
- serialize(E, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.enums.EnumOrdinalCodec
-
- serialize(Optional<T>) - Method in class com.datastax.driver.extras.codecs.guava.OptionalCodec
-
- serialize(Instant, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.jdk8.InstantCodec
-
- serialize(LocalDate, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.jdk8.LocalDateCodec
-
- serialize(LocalDateTime, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.jdk8.LocalDateTimeCodec
-
- serialize(LocalTime, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.jdk8.LocalTimeCodec
-
- serialize(Optional<T>) - Method in class com.datastax.driver.extras.codecs.jdk8.OptionalCodec
-
- serialize(ZoneId, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.jdk8.ZoneIdCodec
-
- serialize(Instant, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.joda.InstantCodec
-
- serialize(LocalDate, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.joda.LocalDateCodec
-
- serialize(LocalTime, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.joda.LocalTimeCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.json.JacksonJsonCodec
-
- serialize(JsonStructure, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.json.Jsr353JsonCodec
-
- serialize(O, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.MappingCodec
-
- serialize(O) - Method in class com.datastax.driver.extras.codecs.MappingCodec
-
- serialize(T, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.ParsingCodec
-
- serialize(EditDistance, JsonGenerator, SerializerProvider) - Method in class com.datastax.dse.graph.internal.serde.DseGraphModule.EditDistanceSerializer
-
- serializeElement(ByteBuffer, T, int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.AbstractPrimitiveArrayCodec
-
Write the index
th element of array
to output
.
- serializeElement(ByteBuffer, double[], int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.DoubleArrayCodec
-
- serializeElement(ByteBuffer, float[], int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.FloatArrayCodec
-
- serializeElement(ByteBuffer, int[], int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.IntArrayCodec
-
- serializeElement(ByteBuffer, long[], int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.arrays.LongArrayCodec
-
- serializeField(T, int, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
-
- serializeField(T, String, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
-
- serializeField(ZonedDateTime, int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.jdk8.ZonedDateTimeCodec
-
- serializeField(DateTime, int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.joda.DateTimeCodec
-
- serializeNoBoxing(boolean, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveBooleanCodec
-
- serializeNoBoxing(byte, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveByteCodec
-
- serializeNoBoxing(double, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveDoubleCodec
-
- serializeNoBoxing(float, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveFloatCodec
-
- serializeNoBoxing(int, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveIntCodec
-
- serializeNoBoxing(long, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveLongCodec
-
- serializeNoBoxing(short, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveShortCodec
-
- serializeNoBoxing(int, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.date.SimpleDateCodec
-
- serializeNoBoxing(long, ProtocolVersion) - Method in class com.datastax.driver.extras.codecs.date.SimpleTimestampCodec
-
- serializeWithType(EditDistance, JsonGenerator, SerializerProvider, TypeSerializer) - Method in class com.datastax.dse.graph.internal.serde.DseGraphModule.EditDistanceSerializer
-
- ServerError - Exception in com.datastax.driver.core.exceptions
-
Indicates that the contacted host reported an internal error.
- ServerError(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.ServerError
-
- ServerSideTimestampGenerator - Class in com.datastax.driver.core
-
A timestamp generator that always returns
Long.MIN_VALUE
, in order to let Cassandra
assign server-side timestamps.
- Session - Interface in com.datastax.driver.core
-
A session holds connections to a Cassandra cluster, allowing it to be queried.
- Session.State - Interface in com.datastax.driver.core
-
The state of a Session.
- set(int, V, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided value of the provided Java class.
- set(String, V, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided value of the
provided Java class.
- set(int, V, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided value of the provided Java type.
- set(String, V, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided value of the
provided Java type.
- set(int, V, TypeCodec<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
i
th value to the provided value, converted using the given
TypeCodec
.
- set(String, V, TypeCodec<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
name
to the provided value, converted
using the given
TypeCodec
.
- set(DataType, boolean) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of sets of elementType
elements.
- set(DataType) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of "not frozen" sets of elementType
elements.
- set(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Simple "set" assignment of a value to a column.
- set(Object, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Advanced "set" assignment of a value to a column or a
UDT
field.
- set(int, V, Class<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided value of the provided Java class.
- set(int, V, TypeToken<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided value of the provided Java type.
- set(int, V, TypeCodec<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
i
th value to the provided value, converted using the given
TypeCodec
.
- set(String, V, Class<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided value of the
provided Java class.
- set(String, V, TypeToken<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided value of the
provided Java type.
- set(String, V, TypeCodec<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
name
to the provided value, converted
using the given
TypeCodec
.
- set(TypeCodec<T>) - Static method in class com.datastax.driver.core.TypeCodec
-
Return a newly-created codec for the CQL type set
whose element type is determined by
the given element codec.
- set(String, Object) - Method in class com.datastax.driver.dse.graph.SimpleGraphStatement
-
Sets a parameter on this statement.
- setBool(int, boolean) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided boolean.
- setBool(String, boolean) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided boolean.
- setBool(int, boolean) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided boolean.
- setBool(String, boolean) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided boolean.
- setByte(int, byte) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided byte.
- setByte(String, byte) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided byte.
- setByte(int, byte) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the i
th value to the provided byte.
- setByte(String, byte) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided byte.
- setBytes(int, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided byte buffer.
- setBytes(String, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided byte buffer.
- setBytes(int, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided byte buffer.
- setBytes(String, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided byte buffer.
- setBytesUnsafe(int, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided byte buffer.
- setBytesUnsafe(String, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided byte buffer.
- setBytesUnsafe(int, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided byte buffer.
- setBytesUnsafe(String, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided byte buffer.
- setCompression(ProtocolOptions.Compression) - Method in class com.datastax.driver.core.ProtocolOptions
-
Sets the compression to use.
- setConnectionsPerHost(HostDistance, int, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the core and maximum number of connections per host in one call.
- setConnectTimeoutMillis(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets the connection timeout in milliseconds.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setConsistencyLevel(ConsistencyLevel) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets a default consistency level for all bound statements created from this prepared statement.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default consistency level to use for queries.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.Statement
-
Sets the consistency level for the query.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.StatementWrapper
-
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Sets the consistency level to use for this statement.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.dse.graph.SimpleGraphStatement
-
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.dse.graph.internal.RemoteSourceSimpleGraphStatement
-
- setCoreConnectionsPerHost(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the core number of connections per host.
- setDate(int, LocalDate) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided date (without time).
- setDate(String, LocalDate) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided date (without
time).
- setDate(int, LocalDate) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the i
th value to the provided date (without time).
- setDate(String, LocalDate) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided date (without
time).
- setDecimal(int, BigDecimal) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided big decimal.
- setDecimal(String, BigDecimal) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided big decimal.
- setDecimal(int, BigDecimal) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided big decimal.
- setDecimal(String, BigDecimal) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided big decimal.
- setDefaultDeleteOptions(Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Set the default delete
Mapper.Option
for this object mapper, that will be used in all delete
operations unless overridden.
- setDefaultGetOptions(Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Set the default get
Mapper.Option
for this object mapper, that will be used in all get
operations unless overridden.
- setDefaultIdempotence(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default idempotence for queries.
- setDefaultSaveOptions(Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
-
Set the default save
Mapper.Option
for this object mapper, that will be used in all save
operations unless overridden.
- setDefaultTimestamp(long) - Method in class com.datastax.driver.core.Statement
-
Sets the default timestamp for this query (in microseconds since the epoch).
- setDefaultTimestamp(long) - Method in class com.datastax.driver.core.StatementWrapper
-
- setDefaultTimestamp(long) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Sets the default timestamp for this query (in microseconds since the epoch).
- setDefaultTimestamp(long) - Method in class com.datastax.driver.dse.graph.SimpleGraphStatement
-
- setDefaultTimestamp(long) - Method in class com.datastax.dse.graph.internal.RemoteSourceSimpleGraphStatement
-
- 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).
- setGraphInternalOption(String, String) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Sets additional graph option.
- setGraphLanguage(String) - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Sets the graph language to use in graph queries.
- setGraphLanguage(String) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Sets the graph language to use with this statement.
- setGraphName(String) - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Sets the graph name to use in graph queries.
- setGraphName(String) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Sets the graph name to use with this statement.
- setGraphReadConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Sets the read consistency level to use for graph queries.
- setGraphReadConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Sets the read consistency level to use for this statement.
- setGraphSource(String) - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Sets the graph traversal source name to use in graph queries.
- setGraphSource(String) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Sets the graph traversal source name to use with this statement.
- setGraphSubProtocol(GraphProtocol) - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Set the sub protocol to use with DSE Graph.
- setGraphWriteConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Sets the write consistency level to use for graph queries.
- setGraphWriteConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
Sets the write consistency level to use for this statement.
- 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.
- setHierarchyScanStrategy(HierarchyScanStrategy) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
-
- setHost(Host) - Method in class com.datastax.driver.core.Statement
-
Sets the
Host
that should handle this query.
- setHost(Host) - Method in class com.datastax.driver.core.StatementWrapper
-
- setIdempotent(Boolean) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
Sets whether this statement is idempotent.
- setIdempotent(Boolean) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets whether this statement is idempotent.
- setIdempotent(boolean) - Method in class com.datastax.driver.core.Statement
-
Sets whether this statement is idempotent.
- setIdempotent(boolean) - Method in class com.datastax.driver.core.StatementWrapper
-
- setIdempotent(boolean) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
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.BatchStatement
-
Sets the keyspace the queries in this batch statement operate on.
- setKeyspace(String) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
Sets the keyspace this query operates on.
- setKeyspace(String) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
-
Sets the keyspace this query operates on.
- setKeyspace(String) - Method in class com.datastax.driver.core.SimpleStatement
-
Sets the keyspace this query operates on.
- setList(int, List<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided list.
- setList(int, List<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided list, which elements are of the provided Java class.
- setList(int, List<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided list, which elements are of the provided Java type.
- setList(String, List<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided list.
- setList(String, List<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided list, which
elements are of the provided Java class.
- setList(String, List<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided list, which
elements are of the provided Java type.
- setList(int, List<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided list.
- setList(int, List<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided list, which elements are of the provided Java class.
- setList(int, List<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided list, which elements are of the provided Java type.
- setList(String, List<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided list.
- setList(String, List<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided list, which
elements are of the provided Java class.
- setList(String, List<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided list, which
elements are of the provided Java type.
- setLong(int, long) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided long.
- setLong(String, long) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided long.
- setLong(int, long) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided long.
- setLong(String, long) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided long.
- setMap(int, Map<K, V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided map.
- setMap(int, Map<K, V>, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided map, which keys and values are of the provided Java
classes.
- setMap(int, Map<K, V>, TypeToken<K>, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided map, which keys and values are of the provided Java
types.
- setMap(String, Map<K, V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided map.
- setMap(String, Map<K, V>, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided map, which keys
and values are of the provided Java classes.
- setMap(String, Map<K, V>, TypeToken<K>, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided map, which keys
and values are of the provided Java types.
- setMap(int, Map<K, V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided map.
- setMap(int, Map<K, V>, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided map, which keys and values are of the provided Java
classes.
- setMap(int, Map<K, V>, TypeToken<K>, TypeToken<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided map, which keys and values are of the provided Java
types.
- setMap(String, Map<K, V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided map.
- setMap(String, Map<K, V>, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided map, which keys
and values are of the provided Java classes.
- setMap(String, Map<K, V>, TypeToken<K>, TypeToken<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided map, which keys
and values are of the provided Java types.
- setMaxConnectionsPerHost(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the maximum number of connections per host.
- setMaxLoggedParameters(int) - Method in class com.datastax.driver.core.QueryLogger
-
Set the maximum number of query parameters that can be logged by the driver.
- setMaxParameterValueLength(int) - Method in class com.datastax.driver.core.QueryLogger
-
Set the maximum length of a query parameter value that can be logged verbatim by the driver.
- setMaxPendingRefreshNodeListRequests(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of node list refresh requests that the control connection can
accumulate before executing them.
- setMaxPendingRefreshNodeRequests(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of node refresh requests that the control connection can accumulate
before executing them.
- setMaxPendingRefreshSchemaRequests(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of schema refresh requests that the control connection can accumulate
before executing them.
- setMaxQueryStringLength(int) - Method in class com.datastax.driver.core.QueryLogger
-
Set the maximum length of a CQL query string that can be logged verbatim by the driver.
- setMaxQueueSize(int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the maximum number of requests that get enqueued if no connection is available.
- setMaxRequestsPerConnection(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the maximum number of requests per connection.
- setMetadataEnabled(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Toggle client-side token and schema metadata.
- setNamingStrategy(NamingStrategy) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
-
- setNewConnectionThreshold(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the threshold that triggers the creation of a new connection to a host.
- setOf(Class<T>) - Static method in class com.datastax.driver.core.TypeTokens
-
Create a
TypeToken
that represents a
Set
whose elements are of the given type.
- setOf(TypeToken<T>) - Static method in class com.datastax.driver.core.TypeTokens
-
Create a
TypeToken
that represents a
Set
whose elements are of the given type.
- setOutgoingPayload(Map<String, ByteBuffer>) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setOutgoingPayload(Map<String, ByteBuffer>) - Method in interface com.datastax.driver.core.PreparedStatement
-
Associate the given payload with this prepared statement.
- setOutgoingPayload(Map<String, ByteBuffer>) - Method in class com.datastax.driver.core.Statement
-
Set the given outgoing payload on this statement.
- setOutgoingPayload(Map<String, ByteBuffer>) - Method in class com.datastax.driver.core.StatementWrapper
-
- setPagingState(PagingState, CodecRegistry) - Method in class com.datastax.driver.core.Statement
-
Sets the paging state.
- setPagingState(PagingState) - Method in class com.datastax.driver.core.Statement
-
Sets the paging state.
- setPagingState(PagingState, CodecRegistry) - Method in class com.datastax.driver.core.StatementWrapper
-
- setPagingState(PagingState) - Method in class com.datastax.driver.core.StatementWrapper
-
- setPagingStateUnsafe(byte[]) - Method in class com.datastax.driver.core.Statement
-
Sets the paging state.
- setPagingStateUnsafe(byte[]) - Method in class com.datastax.driver.core.StatementWrapper
-
- setPartitionKeyToken(Token) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable "partition key token
" to the provided
token (this is the name generated by Cassandra for markers corresponding to a token(...)
call).
- setPassword(String) - Method in class com.datastax.driver.core.PlainTextAuthProvider
-
Changes the password.
- setPercentileLatencyTracker(PercentileTracker) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
Set the percentile tracker to use for recording per-host latency histograms.
- setPoolTimeoutMillis(int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the timeout when trying to acquire a connection from a host's pool.
- setPrepareOnAllHosts(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Set whether the driver should prepare statements on all hosts in the cluster.
- setPropertyAccessStrategy(PropertyAccessStrategy) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
-
- setPropertyTransienceStrategy(PropertyTransienceStrategy) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
-
- setReadTimeoutMillis(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets the per-host read timeout in milliseconds.
- setReadTimeoutMillis(int) - Method in class com.datastax.driver.core.Statement
-
- setReadTimeoutMillis(int) - Method in class com.datastax.driver.core.StatementWrapper
-
- setReadTimeoutMillis(int) - Method in class com.datastax.driver.dse.graph.GraphOptions
-
Sets the per-host read timeout in milliseconds for graph queries.
- setReadTimeoutMillis(int) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
- setReadTimeoutMillis(int) - Method in class com.datastax.driver.dse.graph.SimpleGraphStatement
-
- setReadTimeoutMillis(int) - Method in class com.datastax.dse.graph.internal.RemoteSourceSimpleGraphStatement
-
- setReceiveBufferSize(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets a hint to the size of the underlying buffers for incoming network I/O.
- setRefreshNodeIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default window size in milliseconds used to debounce node refresh requests.
- setRefreshNodeListIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default window size in milliseconds used to debounce node list refresh requests.
- setRefreshSchemaIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default window size in milliseconds used to debounce node list refresh requests.
- setReprepareOnUp(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Set whether the driver should re-prepare all cached prepared statements on a host when it marks
it back up.
- setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setRetryPolicy(RetryPolicy) - Method in interface com.datastax.driver.core.PreparedStatement
-
Convenience method to set a default retry policy for the BoundStatement
created from
this prepared statement.
- setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.Statement
-
Sets the retry policy to use for this query.
- setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.StatementWrapper
-
- setReuseAddress(boolean) - Method in class com.datastax.driver.core.SocketOptions
-
Sets whether to enable reuse-address.
- setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the routing key for this bound statement.
- setRoutingKey(ByteBuffer...) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the routing key for this bound statement, when the query partition key is composite and
the routing key must be built from multiple values.
- setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setRoutingKey(ByteBuffer...) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setRoutingKey(ByteBuffer) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets the routing key for this prepared statement.
- setRoutingKey(ByteBuffer...) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets the routing key for this query.
- setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.SimpleStatement
-
Sets the routing key for this query.
- setRoutingKey(ByteBuffer...) - Method in class com.datastax.driver.core.SimpleStatement
-
Sets the routing key for this query.
- setRoutingToken(Token) - Method in class com.datastax.driver.core.BoundStatement
-
Sets a routing token for this statement.
- setRoutingToken(Token) - Method in class com.datastax.driver.core.RegularStatement
-
Sets a routing token for this statement.
- setSendBufferSize(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets a hint to the size of the underlying buffers for outgoing network I/O.
- setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.BatchStatement
-
Sets the serial consistency level for the query.
- setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
- setSerialConsistencyLevel(ConsistencyLevel) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets a default serial consistency level for all bound statements created from this prepared
statement.
- setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default serial consistency level to use for queries.
- setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.Statement
-
Sets the serial consistency level for the query.
- setSerialConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.StatementWrapper
-
- setSet(int, Set<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided set.
- setSet(int, Set<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided set, which elements are of the provided Java class.
- setSet(int, Set<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided set, which elements are of the provided Java type.
- setSet(String, Set<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided set.
- setSet(String, Set<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided set, which
elements are of the provided Java class.
- setSet(String, Set<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided set, which
elements are of the provided Java type.
- setSet(int, Set<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided set.
- setSet(int, Set<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided set, which elements are of the provided Java class.
- setSet(int, Set<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided set, which elements are of the provided Java type.
- setSet(String, Set<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided set.
- setSet(String, Set<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided set, which
elements are of the provided Java class.
- setSet(String, Set<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided set, which
elements are of the provided Java type.
- setShort(int, short) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided short.
- setShort(String, short) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided short.
- setShort(int, short) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the i
th value to the provided short.
- setShort(String, short) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided short.
- setSlowQueryLatencyThresholdMillis(long) - Method in class com.datastax.driver.core.QueryLogger.ConstantThresholdQueryLogger
-
Set the threshold in milliseconds beyond which queries are considered 'slow' and logged as
such by the driver.
- setSlowQueryLatencyThresholdPercentile(double) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
Set the threshold percentile beyond which queries are considered 'slow' and logged as such by
the driver.
- setSoLinger(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets the linger-on-close timeout.
- setString(int, String) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided string.
- setString(String, String) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided string.
- setString(int, String) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided string.
- setString(String, String) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided string.
- setSystemQuery() - Method in class com.datastax.driver.dse.graph.GraphStatement
-
- SettableByIndexData<T extends SettableByIndexData<T>> - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be set by index (starting at zero).
- SettableByNameData<T extends SettableData<T>> - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can set by name.
- SettableData<T extends SettableData<T>> - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be set either by index (starting at zero) or by name.
- setTcpNoDelay(boolean) - Method in class com.datastax.driver.core.SocketOptions
-
Sets whether to disable Nagle's algorithm.
- setTime(int, long) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided time as a long in nanoseconds since midnight.
- setTime(String, long) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided time as a long in
nanoseconds since midnight.
- setTime(int, long) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the i
th value to the provided time as a long in nanoseconds since midnight.
- setTime(String, long) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided time as a long in
nanoseconds since midnight.
- setTimestamp(int, Date) - Method in class com.datastax.driver.core.BoundStatement
-
Set the i
th value to the provided date.
- setTimestamp(String, Date) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided date.
- setTimestamp(int, Date) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the i
th value to the provided date.
- setTimestamp(String, Date) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided date.
- setToken(int, Token) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
i
th value to the provided
Token
.
- setToken(String, Token) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided token.
- setToNull(int) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to null
.
- setToNull(String) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to null
.
- setToNull(int) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to null
.
- setToNull(String) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to null
.
- setTransformResultFunction(Function<Row, GraphNode>) - Method in class com.datastax.driver.dse.graph.GraphStatement
-
- setTransientPropertyNames(Set<String>) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
-
Sets transient property names.
- setTupleValue(int, TupleValue) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided tuple value.
- setTupleValue(String, TupleValue) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided tuple value.
- setTupleValue(int, TupleValue) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided tuple value.
- setTupleValue(String, TupleValue) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided tuple value.
- setUDTValue(int, UDTValue) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided UDT value.
- setUDTValue(String, UDTValue) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided UDT value.
- setUDTValue(int, UDTValue) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided UDT value.
- setUDTValue(String, UDTValue) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided UDT value.
- setUsername(String) - Method in class com.datastax.driver.core.PlainTextAuthProvider
-
Changes the user name.
- setUUID(int, UUID) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided UUID.
- setUUID(String, UUID) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided UUID.
- setUUID(int, UUID) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided UUID.
- setUUID(String, UUID) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided UUID.
- setValue(Object, T) - Method in interface com.datastax.driver.mapping.MappedProperty
-
Writes the given value to this property in the given entity
.
- setVarint(int, BigInteger) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the i
th value to the provided big integer.
- setVarint(String, BigInteger) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable name
to the provided big integer.
- setVarint(int, BigInteger) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the i
th value to the provided big integer.
- setVarint(String, BigInteger) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable name
to the provided big integer.
- shouldConsiderError(Exception, Host, Statement) - Method in interface com.datastax.driver.core.policies.ErrorAwarePolicy.ErrorFilter
-
Whether an error should be counted in the host's error rate.
- simpleColumns - Variable in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
- SimpleDateCodec - Class in com.datastax.driver.extras.codecs.date
-
A
TypeCodec
that maps CQL dates to Java primitive ints, representing the number of days
since the Epoch.
- SimpleDateCodec() - Constructor for class com.datastax.driver.extras.codecs.date.SimpleDateCodec
-
- SimpleGraphStatement - Class in com.datastax.driver.dse.graph
-
A simple graph statement implementation.
- SimpleGraphStatement(String) - Constructor for class com.datastax.driver.dse.graph.SimpleGraphStatement
-
- SimpleGraphStatement(String, Map<String, Object>) - Constructor for class com.datastax.driver.dse.graph.SimpleGraphStatement
-
- SimpleStatement - Class in com.datastax.driver.core
-
A simple RegularStatement
implementation built directly from a query string.
- SimpleStatement(String) - Constructor for class com.datastax.driver.core.SimpleStatement
-
Creates a new SimpleStatement
with the provided query string (and no values).
- SimpleStatement(String, Object...) - Constructor for class com.datastax.driver.core.SimpleStatement
-
Creates a new SimpleStatement
with the provided query string and values.
- SimpleStatement(String, Map<String, Object>) - Constructor for class com.datastax.driver.core.SimpleStatement
-
Creates a new SimpleStatement
with the provided query string and named values.
- SimpleTimestampCodec - Class in com.datastax.driver.extras.codecs.date
-
A
TypeCodec
that maps CQL timestamps to Java primitive longs, representing the number of
milliseconds since the Epoch.
- SimpleTimestampCodec() - Constructor for class com.datastax.driver.extras.codecs.date.SimpleTimestampCodec
-
- SingleWordNamingConvention(boolean) - Constructor for class com.datastax.driver.mapping.NamingConventions.SingleWordNamingConvention
-
- 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.
- size() - Method in class com.datastax.driver.dse.graph.ObjectGraphNode
-
- size() - Method in interface com.datastax.driver.dse.graph.Path
-
Returns the size of this path, that is, the number of steps this path traversed.
- size() - Method in interface com.datastax.driver.dse.serde.Node
-
Returns the size of the current node, if it is an array, or 0
otherwise.
- size() - Method in class com.datastax.dse.graph.api.TraversalBatch
-
Return the number of operations currently contained in the
TraversalBatch
.
- size() - Method in class com.datastax.dse.graph.internal.DefaultTraversalBatch
-
- sizedTieredStategy() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create options for the size-tiered compaction strategy, for use in a CREATE or ALTER TABLE
statement.
- sizeOfComponentType() - Method in class com.datastax.driver.extras.codecs.arrays.AbstractPrimitiveArrayCodec
-
Return the size in bytes of the array component type.
- sizeOfComponentType() - Method in class com.datastax.driver.extras.codecs.arrays.DoubleArrayCodec
-
- sizeOfComponentType() - Method in class com.datastax.driver.extras.codecs.arrays.FloatArrayCodec
-
- sizeOfComponentType() - Method in class com.datastax.driver.extras.codecs.arrays.IntArrayCodec
-
- sizeOfComponentType() - Method in class com.datastax.driver.extras.codecs.arrays.LongArrayCodec
-
- skipCQLId(String, int) - Static method in class com.datastax.driver.core.ParseUtils
-
Assuming that idx points to the beginning of a CQL identifier in toParse, returns the index of
the first character after this identifier.
- skipCQLValue(String, int) - Static method in class com.datastax.driver.core.ParseUtils
-
Assuming that idx points to the beginning of a CQL value in toParse, returns the index of the
first character after this value.
- skipSpaces(String, int) - Static method in class com.datastax.driver.core.ParseUtils
-
Returns the index of the first character in toParse from idx that is not a "space".
- SLOW_LOGGER - Static variable in class com.datastax.driver.core.QueryLogger
-
The logger used to log slow queries, i.e., queries that completed successfully but whose
execution time exceeded a configurable threshold in milliseconds.
- smallint() - Static method in class com.datastax.driver.core.DataType
-
Returns the SMALLINT type.
- smallInt() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type smallint
.
- snappy() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create options for the Snappy compression strategy, to use in a CREATE or ALTER TABLE
statement.
- SniEndPoint - Class in com.datastax.driver.core
-
An endpoint to access nodes through a proxy that uses SNI routing.
- SniEndPoint(InetSocketAddress, String) - Constructor for class com.datastax.driver.core.SniEndPoint
-
- SniEndPointFactory - Class in com.datastax.driver.core
-
- SniEndPointFactory(InetSocketAddress) - Constructor for class com.datastax.driver.core.SniEndPointFactory
-
- SniSSLOptions - Class in com.datastax.driver.core
-
- SniSSLOptions(SSLContext, String[]) - Constructor for class com.datastax.driver.core.SniSSLOptions
-
Creates a new instance.
- SniSSLOptions.Builder - Class in com.datastax.driver.core
-
- 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.
- split(String) - Method in interface com.datastax.driver.mapping.NamingConvention
-
Receive a property name value and returns an ordered list of Word objects.
- split(String) - Method in class com.datastax.driver.mapping.NamingConventions.CamelCase
-
- split(String) - Method in class com.datastax.driver.mapping.NamingConventions.CharDelimitedNamingConvention
-
- split(String) - Method in class com.datastax.driver.mapping.NamingConventions.SingleWordNamingConvention
-
- splitEvenly(int) - Method in class com.datastax.driver.core.TokenRange
-
Splits this range into a number of smaller ranges of equal "size" (referring to the number of
tokens, not the actual amount of data).
- SSLOptions - Interface in com.datastax.driver.core
-
Defines how the driver configures SSL connections.
- ssTableSizeInMB(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.LeveledCompactionStrategyOptions
-
The target size for SSTables that use the leveled compaction strategy.
- startOf(long) - Static method in class com.datastax.driver.core.utils.UUIDs
-
Creates a "fake" time-based UUID that sorts as the smallest possible version 1 UUID generated
at the provided timestamp.
- Statement - Class in com.datastax.driver.core
-
An executable query.
- statement - Variable in class com.datastax.driver.dse.graph.SimpleGraphStatement
-
- statementAsString(Statement) - Method in class com.datastax.driver.core.QueryLogger
-
- statementFromTraversal(GraphTraversal<S, E>) - Static method in class com.datastax.dse.graph.api.DseGraph
-
- 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
-
- StringUtils - Class in com.datastax.dse.graph.internal.utils
-
Utilities for string manipulation.
- StringUtils() - Constructor for class com.datastax.dse.graph.internal.utils.StringUtils
-
- submitAsync(Bytecode) - Method in class com.datastax.dse.graph.internal.DseRemoteConnection
-
- SuccessCallback() - Constructor for class com.datastax.driver.core.utils.MoreFutures.SuccessCallback
-
- sum(Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a sum(x)
built-in function call.
- sum(Object) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Creates a sum(x)
built-in function call.
- sum(Object) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
-
- SyntaxError - Exception in com.datastax.driver.core.exceptions
-
Indicates a syntax error in a query.
- SyntaxError(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.SyntaxError
-