A B C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCollectionCodec(DataType.CollectionType, TypeToken<C>, TypeCodec<E>) - Constructor for class com.datastax.driver.core.TypeCodec.AbstractCollectionCodec
- AbstractCreateStatement<T extends AbstractCreateStatement<T>> - Class in com.datastax.driver.core.schemabuilder
- AbstractCreateStatement() - Constructor for class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
- AbstractGettableData - Class in com.datastax.driver.core
- AbstractGettableData(ProtocolVersion) - Constructor for class com.datastax.driver.core.AbstractGettableData
-
Creates a new AbstractGettableData object.
- AbstractMapCodec(TypeCodec<K>, TypeCodec<V>) - Constructor for class com.datastax.driver.core.TypeCodec.AbstractMapCodec
- AbstractMonotonicTimestampGenerator - Class in com.datastax.driver.core
-
Base implementation for monotonic timestamp generators.
- AbstractMonotonicTimestampGenerator() - Constructor for class com.datastax.driver.core.AbstractMonotonicTimestampGenerator
- AbstractSession - Class in com.datastax.driver.core
-
Abstract implementation of the Session interface.
- AbstractSession() - Constructor for class com.datastax.driver.core.AbstractSession
- AbstractTableMetadata - Class in com.datastax.driver.core
-
Base class for Tables and Materialized Views metadata.
- AbstractTableMetadata(KeyspaceMetadata, String, UUID, List<ColumnMetadata>, List<ColumnMetadata>, Map<String, ColumnMetadata>, TableOptionsMetadata, List<ClusteringOrder>, VersionNumber) - Constructor for class com.datastax.driver.core.AbstractTableMetadata
- AbstractTupleCodec(TupleType, TypeToken<T>) - Constructor for class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
- AbstractTupleCodec(TupleType, Class<T>) - Constructor for class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
- AbstractUDTCodec(UserType, TypeToken<T>) - Constructor for class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
- AbstractUDTCodec(UserType, Class<T>) - Constructor for class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
- accepts(DataType) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
- accepts(DataType) - Method in class com.datastax.driver.core.TypeCodec
-
Return
trueif this codec is capable of deserializing the givencqlType. - accepts(TypeToken<?>) - Method in class com.datastax.driver.core.TypeCodec
-
Return
trueif this codec is capable of serializing the givenjavaType. - accepts(Class<?>) - Method in class com.datastax.driver.core.TypeCodec
-
Return
trueif this codec is capable of serializing the givenjavaType. - accepts(Object) - Method in class com.datastax.driver.core.TypeCodec.AbstractCollectionCodec
- accepts(Object) - Method in class com.datastax.driver.core.TypeCodec.AbstractMapCodec
- accepts(Object) - Method in class com.datastax.driver.core.TypeCodec
-
Return
trueif this codec is capable of serializing the given object. - add(int, int) - Method in class com.datastax.driver.core.LocalDate
- add(RegularStatement) - Method in class com.datastax.driver.core.querybuilder.Batch
-
Adds a new statement to this batch.
- add(RegularStatement) - Method in class com.datastax.driver.core.querybuilder.Batch.Options
-
Adds a new statement to the BATCH statement these options are part of.
- add(Statement) - Method in class com.datastax.driver.core.BatchStatement
-
Adds a new statement to this batch.
- add(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Adds a value to a set column.
- addAll(Iterable<? extends Statement>) - Method in class com.datastax.driver.core.BatchStatement
-
Adds multiple statements to this batch.
- addAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Adds a set of values to a set column.
- addAll(String, Set<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Adds a set of values to a set column.
- addClusteringColumn(String, DataType) - Method in class com.datastax.driver.core.schemabuilder.Create
-
Add a clustering column definition to this CREATE TABLE statement.
- addColumn(String) - Method in class com.datastax.driver.core.schemabuilder.Alter
-
Add a new ADD column clause to this ALTER TABLE statement.
- addColumn(String, DataType) - Method in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
Add a column definition to this CREATE statement.
- addContactPoint(EndPoint) - Method in class com.datastax.driver.core.Cluster.Builder
-
Adds a contact point using the given connection information.
- addContactPoint(String) - Method in class com.datastax.driver.core.Cluster.Builder
-
Adds a contact point - or many if the given address resolves to multiple
InetAddresss (A records). - addContactPoints(String...) - Method in class com.datastax.driver.core.Cluster.Builder
-
Adds contact points.
- addContactPoints(InetAddress...) - Method in class com.datastax.driver.core.Cluster.Builder
-
Adds contact points.
- addContactPoints(Collection<InetAddress>) - Method in class com.datastax.driver.core.Cluster.Builder
-
Adds contact points.
- addContactPointsWithPorts(InetSocketAddress...) - Method in class com.datastax.driver.core.Cluster.Builder
-
Adds contact points.
- addContactPointsWithPorts(Collection<InetSocketAddress>) - Method in class com.datastax.driver.core.Cluster.Builder
-
Adds contact points.
- additionalWritePolicy(TableOptions.AdditionalWritePolicyValue) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the additional_write_policy for this table.
- additionalWritePolicyAlways() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
- additionalWritePolicyMillisecs(int) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
- additionalWritePolicyNever() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
- additionalWritePolicyPercentile(int) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
- AdditionalWritePolicyValue(String) - Constructor for class com.datastax.driver.core.schemabuilder.TableOptions.AdditionalWritePolicyValue
- addOption(Map<String, String>) - Method in interface com.datastax.driver.core.ApplicationInfo
-
Adds application information to startup options.
- addOption(Map<String, String>) - Method in class com.datastax.driver.core.DefaultApplicationInfo
- addOption(Map<String, String>) - Method in class com.datastax.driver.core.LwtInfo
- addOption(Map<String, String>) - Static method in class com.datastax.driver.core.MetadataIdInfo
- addOption(Map<String, String>) - Static method in class com.datastax.driver.core.TabletInfo
- addPartitionKey(String, DataType) - Method in class com.datastax.driver.core.schemabuilder.Create
-
Add a partition key column definition to this CREATE TABLE statement.
- AddressTranslator - Interface in com.datastax.driver.core.policies
-
Translates IP addresses received from Cassandra nodes into locally queriable addresses.
- addSpecificOptions(List<String>) - Method in class com.datastax.driver.core.schemabuilder.Alter.Options
- addSpecificOptions(List<String>) - Method in class com.datastax.driver.core.schemabuilder.Create.Options
- addSpecificOptions(List<String>) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
- addStaticColumn(String) - Method in class com.datastax.driver.core.schemabuilder.Alter
-
Add a new ADD column clause to this ALTER TABLE statement, to add a static column.
- addStaticColumn(String, DataType) - Method in class com.datastax.driver.core.schemabuilder.Create
-
Add a static column definition to this CREATE TABLE statement.
- addUDTClusteringColumn(String, UDTType) - Method in class com.datastax.driver.core.schemabuilder.Create
-
Add a clustering column definition to this CREATE TABLE statement, when its type contains a UDT.
- addUDTColumn(String, UDTType) - Method in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
Add a column definition to this CREATE statement, when the type contains a UDT.
- addUDTListColumn(String, UDTType) - Method in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
Shorthand to add a column definition to this CREATE statement, when the type is a list of UDT.
- addUDTMapColumn(String, DataType, UDTType) - Method in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
Shorthand to add a column definition to this CREATE statement, when the type is a map with a UDT value type.
- addUDTMapColumn(String, UDTType, DataType) - Method in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
Shorthand to add a column definition to this CREATE statement, when the type is a map with a UDT key type.
- addUDTMapColumn(String, UDTType, UDTType) - Method in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
Shorthand to add a column definition to this CREATE statement, when the type is a map with UDT key and value types.
- addUDTPartitionKey(String, UDTType) - Method in class com.datastax.driver.core.schemabuilder.Create
-
Add a partition key column definition to this CREATE TABLE statement, when its type contains a UDT.
- addUDTSetColumn(String, UDTType) - Method in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
-
Shorthand to add a column definition to this CREATE statement, when the type is a set of UDT.
- addUDTStaticColumn(String, UDTType) - Method in class com.datastax.driver.core.schemabuilder.Create
-
Add a static column definition to this CREATE TABLE statement, when its type contains a UDT.
- afterBootstrapInitialized(Bootstrap) - Method in class com.datastax.driver.core.NettyOptions
-
Hook invoked each time the driver creates a new
Connectionand configures a new instance ofBootstrapfor it. - afterChannelInitialized(SocketChannel) - Method in class com.datastax.driver.core.NettyOptions
-
Hook invoked each time the driver creates a new
Connectionand initializes thechannel. - AggregateMetadata - Class in com.datastax.driver.core
-
Describes a CQL aggregate function (created with
CREATE AGGREGATE...). - alias(Object, String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates an alias for a given column.
- all() - Method in interface com.datastax.driver.core.PagingIterable
-
Returns all the remaining rows in this result set as a list.
- all() - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
-
Deletes all columns (i.e.
- all() - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Selects all columns (i.e.
- all() - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- ALL - com.datastax.driver.core.ConsistencyLevel
- ALL - com.datastax.driver.core.schemabuilder.SchemaBuilder.Caching
- ALL - com.datastax.driver.core.schemabuilder.SchemaBuilder.KeyCaching
- allowBetaProtocolVersion() - Method in class com.datastax.driver.core.Cluster.Builder
-
Create cluster connection using latest development protocol version, which is currently in beta.
- allowFiltering() - Method in class com.datastax.driver.core.querybuilder.Select
-
Adds an
ALLOW FILTERINGdirective to this statement. - allowFiltering() - Method in class com.datastax.driver.core.querybuilder.Select.Where
-
Adds an
ALLOW FILTERINGdirective to theSELECTstatement thisWHEREclause is part of. - allowRemoteDCsForLocalConsistencyLevel() - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy.Builder
-
Deprecated.This functionality will be removed in the next major release of the driver. DC failover shouldn't be done in the driver, which does not have the necessary context to know what makes sense considering application semantics.
- allowRemoteDCsForLocalConsistencyLevel() - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy.Builder
-
Deprecated.This functionality will be removed in the next major release of the driver. DC failover shouldn't be done in the driver, which does not have the necessary context to know what makes sense considering application semantics.
- allPrimitiveTypes() - Static method in class com.datastax.driver.core.DataType
-
Returns a set of all the primitive types, where primitive types are defined as the types that don't have type arguments (that is excluding lists, sets, maps, tuples and udts).
- allRows() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Return the row caching strategy that caches all rows (
all), to use in a CREATE or ALTER TABLE statement. - AlreadyExistsException - Exception in com.datastax.driver.core.exceptions
-
Exception thrown when a query attempts to create a keyspace or table that already exists.
- AlreadyExistsException(EndPoint, String, String) - Constructor for exception com.datastax.driver.core.exceptions.AlreadyExistsException
- AlreadyExistsException(String, String) - Constructor for exception com.datastax.driver.core.exceptions.AlreadyExistsException
- Alter - Class in com.datastax.driver.core.schemabuilder
-
An in-construction ALTER TABLE statement.
- Alter.AddColumn - Class in com.datastax.driver.core.schemabuilder
-
An ADD column clause.
- Alter.AlterColumn - Class in com.datastax.driver.core.schemabuilder
-
An ALTER column clause.
- Alter.Options - Class in com.datastax.driver.core.schemabuilder
-
The table options of an ALTER TABLE statement.
- Alter.RenameColumn - Class in com.datastax.driver.core.schemabuilder
-
A RENAME column clause.
- alterColumn(String) - Method in class com.datastax.driver.core.schemabuilder.Alter
-
Add an ALTER column clause (to change the column type) to this ALTER TABLE statement.
- alterKeyspace(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new ALTER KEYSPACE statement.
- AlterKeyspace - Class in com.datastax.driver.core.schemabuilder
-
A built ALTER KEYSPACE statement.
- AlterKeyspace(String) - Constructor for class com.datastax.driver.core.schemabuilder.AlterKeyspace
- alterTable(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new ALTER TABLE statement.
- alterTable(String, String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new ALTER TABLE statement.
- always() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create the speculative retry strategy that retries reads of all replicas, to use in a CREATE or ALTER TABLE statement.
- and(Assignment) - Method in class com.datastax.driver.core.querybuilder.Update.Assignments
-
Adds a new assignment for this UPDATE statement.
- and(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete.Conditions
-
Adds the provided condition for the deletion.
- and(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete.Where
-
Adds the provided clause to this WHERE clause.
- and(Clause) - Method in class com.datastax.driver.core.querybuilder.Select.Where
-
Adds the provided clause to this
WHEREclause. - and(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Conditions
-
Adds the provided condition for the update.
- and(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Where
-
Adds the provided clause to this WHERE clause.
- and(Using) - Method in class com.datastax.driver.core.querybuilder.Batch.Options
-
Adds the provided option.
- and(Using) - Method in class com.datastax.driver.core.querybuilder.Delete.Options
-
Adds the provided option.
- and(Using) - Method in class com.datastax.driver.core.querybuilder.Insert.Options
-
Adds the provided option.
- and(Using) - Method in class com.datastax.driver.core.querybuilder.Select.Options
-
Adds the provided option.
- and(Using) - Method in class com.datastax.driver.core.querybuilder.Update.Options
-
Adds the provided option.
- andColumn(String) - Method in class com.datastax.driver.core.schemabuilder.CreateIndex.CreateIndexOn
-
Specify the column to create the index on.
- andKeysOfColumn(String) - Method in class com.datastax.driver.core.schemabuilder.CreateIndex.CreateIndexOn
-
Create an index on the keys of the given map column.
- ANY - com.datastax.driver.core.ConsistencyLevel
- append(Statement, StringBuilder, int) - Method in class com.datastax.driver.core.QueryLogger
- append(CharSequence, StringBuilder, int) - Method in class com.datastax.driver.core.QueryLogger
- append(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Append a value to a list column.
- appendAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Append a list of values to a list column.
- appendAll(String, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Append a list of values to a list column.
- appendOptions(StringBuilder, boolean) - Method in class com.datastax.driver.core.AbstractTableMetadata
- appendParameters(BoundStatement, StringBuilder, int) - Method in class com.datastax.driver.core.QueryLogger
- appendParameters(BuiltStatement, StringBuilder, int) - Method in class com.datastax.driver.core.QueryLogger
- appendParameters(SimpleStatement, StringBuilder, int) - Method in class com.datastax.driver.core.QueryLogger
- ApplicationInfo - Interface in com.datastax.driver.core
- as(String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
-
Adds an alias for the just selected item.
- asc(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Ascending ordering for the provided column.
- ASC - com.datastax.driver.core.ClusteringOrder
- ASC - com.datastax.driver.core.schemabuilder.SchemaBuilder.Direction
- ascii() - Static method in class com.datastax.driver.core.DataType
-
Returns the ASCII type.
- ascii() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
ascii. - ASCII - com.datastax.driver.core.DataType.Name
- asCQLQuery() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns a CQL query representing this table.
- asCQLQuery() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns a CQL query representing this function.
- asCQLQuery() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns a CQL query representing this function.
- asCQLQuery() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns a CQL query representing this index.
- asCQLQuery() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns a CQL query representing this keyspace.
- asCQLQuery() - Method in class com.datastax.driver.core.UserType
-
Returns a CQL query representing this user type.
- asCQLQuery(boolean) - Method in class com.datastax.driver.core.AbstractTableMetadata
- asCQLQuery(boolean) - Method in class com.datastax.driver.core.MaterializedViewMetadata
- asCQLQuery(boolean) - Method in class com.datastax.driver.core.TableMetadata
- asCQLString() - Method in class com.datastax.driver.core.schemabuilder.UDTType
- asFunctionParameterString() - Method in class com.datastax.driver.core.DataType
-
Returns a String representation of this data type suitable for inclusion as a parameter type in a function or aggregate signature.
- asFunctionParameterString() - Method in class com.datastax.driver.core.DataType.CollectionType
- asFunctionParameterString() - Method in class com.datastax.driver.core.TupleType
- asFunctionParameterString() - Method in class com.datastax.driver.core.UserType
- asList() - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns a list containing all the definitions of this metadata in order.
- Assignment - Class in com.datastax.driver.core.querybuilder
- AtomicMonotonicTimestampGenerator - Class in com.datastax.driver.core
-
A timestamp generator that guarantees monotonically increasing timestamps among all client threads, and logs warnings when timestamps drift in the future.
- AtomicMonotonicTimestampGenerator() - Constructor for class com.datastax.driver.core.AtomicMonotonicTimestampGenerator
-
Creates a new instance with a warning threshold and warning interval of one second.
- AtomicMonotonicTimestampGenerator(long, TimeUnit, long, TimeUnit) - Constructor for class com.datastax.driver.core.AtomicMonotonicTimestampGenerator
-
Creates a new instance.
- AuthenticationException - Exception in com.datastax.driver.core.exceptions
-
Indicates an error during the authentication phase while connecting to a node.
- AuthenticationException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.AuthenticationException
- AuthenticationException(InetSocketAddress, String) - Constructor for exception com.datastax.driver.core.exceptions.AuthenticationException
- Authenticator - Interface in com.datastax.driver.core
-
Handles SASL authentication with Cassandra servers.
- AuthProvider - Interface in com.datastax.driver.core
-
Provides
Authenticatorinstances for use when connecting to Cassandra nodes. - AuthProvider.TransitionalModePlainTextAuthenticator - Class in com.datastax.driver.core
-
Dummy Authenticator that accounts for DSE authentication configured with transitional mode.
- avg(Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates an
avg(x)built-in function call. - avg(Object) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Creates an
avg(x)built-in function call. - avg(Object) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
B
- baseTimeSeconds(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions
-
Sets the size of the first window.
- batch(RegularStatement...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Builds a new
BATCHquery on the provided statements. - Batch - Class in com.datastax.driver.core.querybuilder
-
A built BATCH statement.
- BATCH - com.datastax.driver.core.WriteType
-
A write to a multiple partition key that used the distributed batch log to ensure atomicity (atomicity meaning that if any statement in the batch succeeds, all will eventually succeed).
- BATCH_LOG - com.datastax.driver.core.WriteType
-
The initial write to the distributed batch log that Cassandra performs internally before a BATCH write.
- Batch.Options - Class in com.datastax.driver.core.querybuilder
-
The options of a BATCH statement.
- BatchStatement - Class in com.datastax.driver.core
-
A statement that groups a number of
Statementso they get executed as a batch. - BatchStatement() - Constructor for class com.datastax.driver.core.BatchStatement
-
Creates a new
LOGGEDbatch statement. - BatchStatement(BatchStatement.Type) - Constructor for class com.datastax.driver.core.BatchStatement
-
Creates a new batch statement of the provided type.
- BatchStatement.Type - Enum in com.datastax.driver.core
-
The type of batch to use.
- bigint() - Static method in class com.datastax.driver.core.DataType
-
Returns the BIGINT type.
- bigint() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
bigint. - BIGINT - com.datastax.driver.core.DataType.Name
- bind() - Method in class com.datastax.driver.core.DefaultPreparedStatement
- bind() - Method in interface com.datastax.driver.core.PreparedStatement
-
Creates a new BoundStatement object for this prepared statement.
- bind(Object...) - Method in class com.datastax.driver.core.BoundStatement
-
Bound values to the variables of this statement.
- bind(Object...) - Method in class com.datastax.driver.core.DefaultPreparedStatement
- bind(Object...) - Method in interface com.datastax.driver.core.PreparedStatement
-
Creates a new BoundStatement object and bind its variables to the provided values.
- bindMarker() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
An object representing an anonymous bind marker (a question mark).
- bindMarker(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
An object representing a named bind marker.
- BindMarker - Class in com.datastax.driver.core.querybuilder
-
A CQL3 bind marker.
- blob() - Static method in class com.datastax.driver.core.DataType
-
Returns the BLOB type.
- blob() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
blob. - BLOB - com.datastax.driver.core.DataType.Name
- BLOCKING - com.datastax.driver.core.schemabuilder.TableOptions.ReadRepairValue
- bloomFilterFPChance(Double) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the desired false-positive probability for SSTable Bloom filters.
- BOOLEAN - com.datastax.driver.core.DataType.Name
- BootstrappingException - Exception in com.datastax.driver.core.exceptions
-
Indicates that the contacted host was bootstrapping when it received a read query.
- BootstrappingException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.BootstrappingException
- BoundStatement - Class in com.datastax.driver.core
-
A prepared statement with values bound to the bind variables.
- BoundStatement(PreparedStatement) - Constructor for class com.datastax.driver.core.BoundStatement
-
Creates a new
BoundStatementfrom the provided prepared statement. - bucketHigh(Double) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions
-
Size-tiered compaction strategy (STCS) considers SSTables to be within the same bucket if the SSTable size diverges by 50% or less from the default bucket_low and default bucket_high values: [average-size × bucket_low, average-size × bucket_high].
- bucketHigh(Double) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions
-
Size-tiered compaction strategy (STCS) is used in the newest window, this method sets the bucketHigh value used in STCS.
- bucketLow(Double) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions
-
Size-tiered compaction strategy (STCS) considers SSTables to be within the same bucket if the SSTable size diverges by 50% or less from the default bucket_low and default bucket_high values: [average-size × bucket_low, average-size × bucket_high].
- bucketLow(Double) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions
-
Size-tiered compaction strategy (STCS) is used in the newest window, this method sets the bucketLow value used in STCS.
- build() - Method in class com.datastax.driver.core.Cluster.Builder
-
Builds the cluster with the configured set of initial contact points and policies.
- build() - Method in class com.datastax.driver.core.ClusterWidePercentileTracker.Builder
- build() - Method in class com.datastax.driver.core.Configuration.Builder
-
Builds the final object from this builder.
- build() - Method in class com.datastax.driver.core.JdkSSLOptions.Builder
-
Deprecated.Builds a new instance based on the parameters provided to this builder.
- build() - Method in class com.datastax.driver.core.PercentileTracker.Builder
-
Builds the
PercentileTrackerinstance configured with this builder. - build() - Method in class com.datastax.driver.core.PerHostPercentileTracker.Builder
- build() - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy.Builder
-
Builds the policy configured by this builder.
- build() - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy.Builder
-
Creates the
ErrorAwarePolicyinstance. - build() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
-
Builds a new latency aware policy using the options set on this builder.
- build() - Method in class com.datastax.driver.core.policies.Policies.Builder
-
Builds the final object from this builder.
- build() - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy.Builder
-
Builds the policy configured by this builder.
- build() - Method in class com.datastax.driver.core.QueryLogger.Builder
-
Build the
QueryLoggerinstance. - build() - Method in class com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions.Builder
- build() - Method in class com.datastax.driver.core.schemabuilder.CreateType
-
Generate the script for custom type creation
- build() - Method in class com.datastax.driver.core.schemabuilder.Drop
-
Generate a DROP TABLE statement
- build() - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions
- build() - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions
- build() - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.LeveledCompactionStrategyOptions
- build() - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions
- build() - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions
- build() - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions
- build() - Method in class com.datastax.driver.core.SniSSLOptions.Builder
- buildColumnType(Map.Entry<String, ColumnType>) - Method in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
- builder() - Static method in class com.datastax.driver.core.Cluster
-
Creates a new
Cluster.Builderinstance. - builder() - Static method in class com.datastax.driver.core.Configuration
-
Returns a builder to create a new
Configurationobject. - builder() - Static method in class com.datastax.driver.core.JdkSSLOptions
-
Deprecated.Creates a builder to create a new instance.
- builder() - Static method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
-
Returns a builder to create a new instance.
- builder() - Static method in class com.datastax.driver.core.policies.Policies
-
Returns a builder to create a new
Policiesobject. - builder() - Static method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
-
Returns a builder to create a new instance.
- builder() - Static method in class com.datastax.driver.core.QueryLogger
-
Creates a new
QueryLogger.Builderinstance. - builder() - Static method in class com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions
-
Creates a builder to create a new instance.
- builder() - Static method in class com.datastax.driver.core.SniSSLOptions
- builder(long) - Static method in class com.datastax.driver.core.ClusterWidePercentileTracker
-
Returns a builder to create a new instance.
- builder(long) - Static method in class com.datastax.driver.core.PerHostPercentileTracker
-
Returns a builder to create a new instance.
- builder(LoadBalancingPolicy) - Static method in class com.datastax.driver.core.policies.ErrorAwarePolicy
-
Creates a new error aware policy builder given the child policy that the resulting policy should wrap.
- builder(LoadBalancingPolicy) - Static method in class com.datastax.driver.core.policies.LatencyAwarePolicy
-
Creates a new latency aware policy builder given the child policy that the resulting policy should wrap.
- Builder() - Constructor for class com.datastax.driver.core.Cluster.Builder
- Builder() - Constructor for class com.datastax.driver.core.Configuration.Builder
- Builder() - Constructor for class com.datastax.driver.core.JdkSSLOptions.Builder
-
Deprecated.
- Builder() - Constructor for class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy.Builder
- Builder() - Constructor for class com.datastax.driver.core.policies.Policies.Builder
- Builder() - Constructor for class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy.Builder
- Builder() - Constructor for class com.datastax.driver.core.QueryLogger.Builder
- Builder() - Constructor for class com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions.Builder
- Builder() - Constructor for class com.datastax.driver.core.SniSSLOptions.Builder
- Builder(LoadBalancingPolicy) - Constructor for class com.datastax.driver.core.policies.ErrorAwarePolicy.Builder
-
Creates a
ErrorAwarePolicy.Builderinstance. - Builder(LoadBalancingPolicy) - Constructor for class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
-
Creates a new latency aware policy builder given the child policy that the resulting policy wraps.
- buildFrom(Cluster.Initializer) - Static method in class com.datastax.driver.core.Cluster
-
Build a new cluster based on the provided initializer.
- buildInternal() - Method in class com.datastax.driver.core.schemabuilder.Alter
- buildInternal() - Method in class com.datastax.driver.core.schemabuilder.Create
- buildInternal() - Method in class com.datastax.driver.core.schemabuilder.CreateIndex
- buildInternal() - Method in class com.datastax.driver.core.schemabuilder.CreateType
- buildInternal() - Method in class com.datastax.driver.core.schemabuilder.Drop
- buildInternal() - Method in class com.datastax.driver.core.schemabuilder.DropKeyspace
- buildInternal() - Method in class com.datastax.driver.core.schemabuilder.TableOptions
- buildJson() - Method in class com.datastax.driver.core.DefaultDriverConfigReporter
-
Builds the compact, single-line JSON configuration report.
- buildQueryString(List<Object>, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.Truncate
- buildReport() - Method in class com.datastax.driver.core.DefaultDriverConfigReporter
- buildReport() - Method in interface com.datastax.driver.core.DriverConfigReporter
-
Builds the configuration report, or returns
nullif it could not be built (in which case noDRIVER_CONFIGoption is sent). - BuiltStatement - Class in com.datastax.driver.core.querybuilder
-
Common ancestor to statements generated with the
QueryBuilder. - BusyConnectionException - Exception in com.datastax.driver.core.exceptions
-
Indicates that a connection has run out of stream IDs.
- BusyConnectionException(EndPoint) - Constructor for exception com.datastax.driver.core.exceptions.BusyConnectionException
- BusyConnectionException(EndPoint, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.BusyConnectionException
- BusyPoolException - Exception in com.datastax.driver.core.exceptions
-
Indicates that a connection pool has run out of available connections.
- BusyPoolException(EndPoint, int) - Constructor for exception com.datastax.driver.core.exceptions.BusyPoolException
- BusyPoolException(EndPoint, long, TimeUnit) - Constructor for exception com.datastax.driver.core.exceptions.BusyPoolException
- bypassCache() - Method in class com.datastax.driver.core.querybuilder.Select
-
Adds on
BYPASS CACHEclause to this statement. - bypassCache() - Method in class com.datastax.driver.core.querybuilder.Select.Where
-
Adds an
BYPASS CACHEclause to theSELECTstatement thisWHEREclause is part of. - Bytes - Class in com.datastax.driver.core.utils
-
Simple utility methods to make working with bytes (blob) easier.
C
- 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.
- cancel(boolean) - Method in interface com.datastax.driver.core.ResultSetFuture
-
Attempts to cancel the execution of the request corresponding to this future.
- CAS - com.datastax.driver.core.WriteType
-
A conditional write.
- 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
- CASWriteUnknownException - Exception in com.datastax.driver.core.exceptions
- CASWriteUnknownException(ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.CASWriteUnknownException
-
This constructor should only be used internally by the driver when decoding error responses.
- CASWriteUnknownException(EndPoint, ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.CASWriteUnknownException
- 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.
- CDC - com.datastax.driver.core.WriteType
-
Indicates that the timeout was related to acquiring space for change data capture logs for cdc tracked tables.
- CDCWriteException - Exception in com.datastax.driver.core.exceptions
-
An error occurred when trying to write a CDC mutation to the commitlog *
- CDCWriteException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.CDCWriteException
- 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.
- CHANNEL_KEY - Static variable in class com.datastax.driver.core.ProtocolFeatureStore
- channelClass() - Method in class com.datastax.driver.core.NettyOptions
-
Return the specific
SocketChannelsubclass to use. - 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.
- 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.
- CLIENT_TIMESTAMPS - Static variable in class com.datastax.driver.core.ProtocolFeatures
-
The capability of assigning client-generated timestamps to write requests.
- 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
-
Called at
Clustershutdown. - 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.PagingOptimizingLoadBalancingPolicy
- close() - Method in class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
- close() - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
- 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.
- 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 - Variable in class com.datastax.driver.core.QueryLogger
- Cluster - Class in com.datastax.driver.core
-
Information and known state of a Cassandra cluster.
- Cluster(Cluster.Initializer) - Constructor for class com.datastax.driver.core.Cluster
-
Constructs a new Cluster instance.
- Cluster(String, List<EndPoint>, Configuration) - Constructor for class com.datastax.driver.core.Cluster
-
Constructs a new Cluster instance.
- Cluster.Builder - Class in com.datastax.driver.core
-
Helper class to build
Clusterinstances. - Cluster.Initializer - Interface in com.datastax.driver.core
-
Initializer for
Clusterinstances. - clusteringColumns - Variable in class com.datastax.driver.core.AbstractTableMetadata
- clusteringOrder - Variable in class com.datastax.driver.core.AbstractTableMetadata
- clusteringOrder(String, SchemaBuilder.Direction) - Method in class com.datastax.driver.core.schemabuilder.Create.Options
-
Add a clustering order for this table.
- ClusteringOrder - Enum in com.datastax.driver.core
-
Clustering orders.
- ClusterWidePercentileTracker - Class in com.datastax.driver.core
-
A
PercentileTrackerthat aggregates all measurements into a single histogram. - ClusterWidePercentileTracker.Builder - Class in com.datastax.driver.core
-
Helper class to build
PerHostPercentileTrackerinstances with a fluent interface. - codecFor(DataType) - Method in class com.datastax.driver.core.CodecRegistry
- codecFor(DataType, TypeToken<T>) - Method in class com.datastax.driver.core.CodecRegistry
- codecFor(DataType, Class<T>) - Method in class com.datastax.driver.core.CodecRegistry
- codecFor(DataType, T) - Method in class com.datastax.driver.core.CodecRegistry
- codecFor(T) - Method in class com.datastax.driver.core.CodecRegistry
-
Returns a
codecthat accepts the given value. - CodecNotFoundException - Exception in com.datastax.driver.core.exceptions
-
Thrown when a suitable
TypeCodeccannot be found byCodecRegistryinstances. - 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
-
A registry for
TypeCodecs. - 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
- ColumnDefinitions - Class in com.datastax.driver.core
-
Metadata describing the columns returned in a
ResultSetor aPreparedStatement. - 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 Java Driver for Cassandra.
- com.datastax.driver.core.exceptions - package com.datastax.driver.core.exceptions
-
Exceptions thrown by the ScyllaDB Java driver.
- com.datastax.driver.core.policies - package com.datastax.driver.core.policies
-
Policies that allow to control some of the behavior of the ScyllaDB Java driver.
- 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
- 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(TabletMap.Tablet) - Method in class com.datastax.driver.core.TabletMap.Tablet
- compareTo(TokenRange) - Method in class com.datastax.driver.core.TokenRange
- compareTo(VersionNumber) - Method in class com.datastax.driver.core.VersionNumber
- COMPOSITES - com.datastax.driver.core.IndexMetadata.Kind
- compressionOptions(TableOptions.CompressionOptions) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the compression options.
- 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 - Variable in class com.datastax.driver.core.DefaultDriverConfigReporter
- 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
Configurationobject. - connect() - Method in class com.datastax.driver.core.Cluster
-
Creates a new session on this cluster and initialize it.
- connect() - Method in class com.datastax.driver.core.DelegatingCluster
- 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(String) - Method in class com.datastax.driver.core.DelegatingCluster
- connectAsync() - Method in class com.datastax.driver.core.Cluster
-
Creates a new session on this cluster and initializes it asynchronously.
- connectAsync() - Method in class com.datastax.driver.core.DelegatingCluster
- 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(String) - Method in class com.datastax.driver.core.DelegatingCluster
- 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) - Constructor for exception com.datastax.driver.core.exceptions.ConnectionException
- ConnectionException(EndPoint, String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.ConnectionException
- ConsistencyLevel - Enum in com.datastax.driver.core
- 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
-
A
SpeculativeExecutionPolicythat schedules a given number of speculative executions, separated by a fixed delay. - ConstantSpeculativeExecutionPolicy(long, int) - Constructor for class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
-
Builds a new instance.
- 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
trueif this tuple type contains the given tuple type, andfalseotherwise. - contains(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns whether this metadata contains a given name.
- contains(String) - Method in class com.datastax.driver.core.UserType
-
Returns whether this UDT contains a given field.
- contains(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "contains"
WHEREclause stating the provided column must contain the value provided. - containsKey(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "contains key"
WHEREclause 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.
- 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() - 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.CASWriteUnknownException
- copy() - Method in exception com.datastax.driver.core.exceptions.CDCWriteException
- 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.CrcMismatchException
- 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() - Method in exception com.datastax.driver.core.exceptions.ReadTimeoutException
- 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() - 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.UnsupportedProtocolVersionException
- copy() - Method in exception com.datastax.driver.core.exceptions.WriteFailureException
- copy() - Method in exception com.datastax.driver.core.exceptions.WriteTimeoutException
- copy(boolean) - Method in class com.datastax.driver.core.UserType
- 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(EndPoint) - Method in exception com.datastax.driver.core.exceptions.CASWriteUnknownException
-
Create a copy of this exception with a nicer stack trace, and including the coordinator address that caused this exception to be raised.
- copy(EndPoint) - Method in exception com.datastax.driver.core.exceptions.ReadFailureException
- 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(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(EndPoint) - Method in exception com.datastax.driver.core.exceptions.WriteFailureException
- 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.
- 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. - COUNTER - com.datastax.driver.core.BatchStatement.Type
-
A counter batch.
- COUNTER - com.datastax.driver.core.DataType.Name
- COUNTER - com.datastax.driver.core.WriteType
-
A counter write (that can be for one or multiple partition key).
- cqlType - Variable in class com.datastax.driver.core.TypeCodec
- CrcMismatchException - Exception in com.datastax.driver.core.exceptions
-
Thrown when the checksums in a server response don't match (protocol v5 or above).
- CrcMismatchException(String) - Constructor for exception com.datastax.driver.core.exceptions.CrcMismatchException
- CrcMismatchException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.CrcMismatchException
- 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 returnsnullif there is no sufficient information. - create(Row) - Method in class com.datastax.driver.core.SniEndPointFactory
- Create - Class in com.datastax.driver.core.schemabuilder
-
A built CREATE TABLE statement.
- Create.Options - Class in com.datastax.driver.core.schemabuilder
-
The table options of a CREATE TABLE statement.
- 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
SchemaChangeListeners, reacting to node state changes, and metadata updates. - createIndex(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new CREATE INDEX statement.
- CreateIndex - Class in com.datastax.driver.core.schemabuilder
-
A built CREATE INDEX statement.
- CreateIndex.CreateIndexOn - Class in com.datastax.driver.core.schemabuilder
- CreateIndexOn() - Constructor for class com.datastax.driver.core.schemabuilder.CreateIndex.CreateIndexOn
- createKeyspace(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new CREATE KEYSPACE statement.
- CreateKeyspace - Class in com.datastax.driver.core.schemabuilder
-
A built CREATE KEYSPACE statement.
- CreateKeyspace(String) - Constructor for class com.datastax.driver.core.schemabuilder.CreateKeyspace
- 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(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.
- CreateType - Class in com.datastax.driver.core.schemabuilder
-
A built CREATE TYPE statement.
- 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(DataType.CustomType) - Static method in class com.datastax.driver.core.TypeCodec
-
Return a newly-created codec for the given CQL custom type.
- custom(String) - Static method in class com.datastax.driver.core.DataType
-
Returns a Custom type.
- CUSTOM - com.datastax.driver.core.DataType.Name
- CUSTOM - com.datastax.driver.core.IndexMetadata.Kind
- 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.
- CUSTOM_PAYLOADS - Static variable in class com.datastax.driver.core.ProtocolFeatures
-
The capability of sending or receiving custom payloads.
D
- DataType - Class in com.datastax.driver.core
-
Data types supported by cassandra.
- DataType(DataType.Name) - Constructor for class com.datastax.driver.core.DataType
- DataType.CollectionType - Class in com.datastax.driver.core
-
Instances of this class represent collection types, that is, lists, sets or maps.
- DataType.CustomType - Class in com.datastax.driver.core
-
A "custom" type is a type that cannot be expressed as a CQL type.
- DataType.Name - Enum in com.datastax.driver.core
-
The CQL type name.
- DataType.NativeType - Class in com.datastax.driver.core
-
Instances of this class represent CQL native types, also known as CQL primitive types.
- date() - Static method in class com.datastax.driver.core.DataType
-
Returns the DATE type.
- date() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
date. - DATE - com.datastax.driver.core.DataType.Name
- DATE_TIERED - com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.Strategy
- dateTieredStrategy() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create options for the date-tiered compaction strategy, to use in a CREATE or ALTER TABLE statement.
- DAYS - com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.CompactionWindowUnit
- DCAwareRoundRobinPolicy - Class in com.datastax.driver.core.policies
-
A data-center aware Round-robin load balancing policy.
- DCAwareRoundRobinPolicy.Builder - Class in com.datastax.driver.core.policies
-
Helper class to build the policy.
- dcLocalReadRepairChance(Double) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the probability of read repairs being invoked over all replicas in the current data center.
- decimal() - Static method in class com.datastax.driver.core.DataType
-
Returns the DECIMAL type.
- decimal() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
decimal. - DECIMAL - com.datastax.driver.core.DataType.Name
- decode(ChannelHandlerContext, Frame, List<Object>) - Method in class com.datastax.driver.core.FramingFormatHandler
- decr(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Decrementation of a counter column.
- decr(String, long) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Decrementation of a counter column by a provided value.
- decr(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Decrementation of a counter column by a provided value.
- DEFAULT - Static variable in enum com.datastax.driver.core.ProtocolVersion
-
The default protocol version used by the driver to connect to the cluster if no specific protocol version was set.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.datastax.driver.core.SocketOptions
-
The default connection timeout in milliseconds if none is set explicitly using
SocketOptions.setConnectTimeoutMillis(int). - DEFAULT_CONSISTENCY_LEVEL - Static variable in class com.datastax.driver.core.QueryOptions
-
The default consistency level for queries:
ConsistencyLevel.LOCAL_ONE. - DEFAULT_EXCLUSION_THRESHOLD - Static variable in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
- DEFAULT_FETCH_SIZE - Static variable in class com.datastax.driver.core.QueryOptions
-
The default fetch size for SELECT queries: 5000.
- DEFAULT_HEARTBEAT_INTERVAL_SECONDS - Static variable in class com.datastax.driver.core.PoolingOptions
-
The default value for
PoolingOptions.getHeartbeatIntervalSeconds()(30). - DEFAULT_IDEMPOTENCE - Static variable in class com.datastax.driver.core.QueryOptions
-
The default value for
QueryOptions.getDefaultIdempotence():false. - DEFAULT_IDLE_TIMEOUT_SECONDS - Static variable in class com.datastax.driver.core.PoolingOptions
-
The default value for
PoolingOptions.getIdleTimeoutSeconds()(120). - DEFAULT_INSTANCE - Static variable in class com.datastax.driver.core.CodecRegistry
-
The default
CodecRegistryinstance. - DEFAULT_INSTANCE - Static variable in class com.datastax.driver.core.NettyOptions
-
The default instance of
NettyOptionsto use. - DEFAULT_LOAD_BALANCING_LWT_REQUEST_ROUTING_METHOD - Static variable in class com.datastax.driver.core.QueryOptions
- DEFAULT_LOCAL_PORT_HIGH - Static variable in class com.datastax.driver.core.ProtocolOptions
- DEFAULT_LOCAL_PORT_LOW - Static variable in class com.datastax.driver.core.ProtocolOptions
- DEFAULT_MAX_LOGGED_PARAMETERS - Static variable in class com.datastax.driver.core.QueryLogger
-
The default maximum number of query parameters that can be logged by the driver.
- DEFAULT_MAX_PARAMETER_VALUE_LENGTH - Static variable in class com.datastax.driver.core.QueryLogger
-
The default maximum length of a query parameter value that can be logged verbatim by the driver.
- DEFAULT_MAX_PENDING_REFRESH_NODE_LIST_REQUESTS - Static variable in class com.datastax.driver.core.QueryOptions
- DEFAULT_MAX_PENDING_REFRESH_NODE_REQUESTS - Static variable in class com.datastax.driver.core.QueryOptions
- DEFAULT_MAX_PENDING_REFRESH_SCHEMA_REQUESTS - Static variable in class com.datastax.driver.core.QueryOptions
- DEFAULT_MAX_QUERY_STRING_LENGTH - Static variable in class com.datastax.driver.core.QueryLogger
-
The default maximum length of a CQL query string that can be logged verbatim by the driver.
- DEFAULT_MAX_QUEUE_SIZE - Static variable in class com.datastax.driver.core.PoolingOptions
-
The default value for
PoolingOptions.getMaxQueueSize()(256). - DEFAULT_MAX_SCHEMA_AGREEMENT_WAIT_SECONDS - Static variable in class com.datastax.driver.core.ProtocolOptions
-
The default value for
ProtocolOptions.getMaxSchemaAgreementWaitSeconds(): 10. - DEFAULT_MIN_MEASURE - Static variable in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
- DEFAULT_POOL_TIMEOUT_MILLIS - Static variable in class com.datastax.driver.core.PoolingOptions
-
The default value for
PoolingOptions.getPoolTimeoutMillis()(5000). - DEFAULT_PORT - Static variable in class com.datastax.driver.core.ProtocolOptions
-
The default port for Cassandra native binary protocol: 9042.
- DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.datastax.driver.core.SocketOptions
-
The default read timeout in milliseconds if none is set explicitly using
SocketOptions.setReadTimeoutMillis(int). - DEFAULT_REFRESH_NODE_INTERVAL_MILLIS - Static variable in class com.datastax.driver.core.QueryOptions
- DEFAULT_REFRESH_NODE_LIST_INTERVAL_MILLIS - Static variable in class com.datastax.driver.core.QueryOptions
- DEFAULT_REFRESH_SCHEMA_INTERVAL_MILLIS - Static variable in class com.datastax.driver.core.QueryOptions
- DEFAULT_RETRY_PERIOD_NANOS - Static variable in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
- DEFAULT_SCALE_NANOS - Static variable in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
- DEFAULT_SERIAL_CONSISTENCY_LEVEL - Static variable in class com.datastax.driver.core.QueryOptions
-
The default serial consistency level for conditional updates:
ConsistencyLevel.SERIAL. - DEFAULT_SLOW_QUERY_THRESHOLD_MS - Static variable in class com.datastax.driver.core.QueryLogger
-
The default latency threshold in milliseconds beyond which queries are considered 'slow' and logged as such by the driver.
- DEFAULT_SLOW_QUERY_THRESHOLD_PERCENTILE - Static variable in class com.datastax.driver.core.QueryLogger
-
The default latency percentile beyond which queries are considered 'slow' and logged as such by the driver.
- DEFAULT_UPDATE_RATE_NANOS - Static variable in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
- defaultAddressTranslator() - Static method in class com.datastax.driver.core.policies.Policies
-
The default address translator.
- DefaultApplicationInfo - Class in com.datastax.driver.core
- DefaultApplicationInfo(String, String, String) - Constructor for class com.datastax.driver.core.DefaultApplicationInfo
- DefaultDriverConfigReporter - Class in com.datastax.driver.core
-
Default
DriverConfigReporter: serializes the driver configuration to the cross-driverDRIVER_CONFIGJSON shape, whichConnection.Factorythen sends in the control connection'sSTARTUPoptions. - DefaultDriverConfigReporter(Configuration) - Constructor for class com.datastax.driver.core.DefaultDriverConfigReporter
- defaultEndPointFactory() - Static method in class com.datastax.driver.core.policies.Policies
- DefaultEndPointFactory - Class in com.datastax.driver.core
- DefaultEndPointFactory() - Constructor for class com.datastax.driver.core.DefaultEndPointFactory
- defaultLoadBalancingPolicy() - Static method in class com.datastax.driver.core.policies.Policies
-
The default load balancing policy.
- defaultNull() - Method in class com.datastax.driver.core.querybuilder.Insert
-
Appends a
DEFAULT NULLclause to thisINSERT INTO ... JSONstatement. - DefaultPreparedStatement - Class in com.datastax.driver.core
- defaultReconnectionPolicy() - Static method in class com.datastax.driver.core.policies.Policies
-
The default reconnection policy.
- defaultRetryPolicy() - Static method in class com.datastax.driver.core.policies.Policies
-
The default retry policy.
- DefaultRetryPolicy - Class in com.datastax.driver.core.policies
-
The default retry policy.
- DEFAULTS - Static variable in class com.datastax.driver.core.PoolingOptions
-
The default values for connection options, that depend on the native protocol version.
- defaultSpeculativeExecutionPolicy() - Static method in class com.datastax.driver.core.policies.Policies
-
The default speculative retry policy.
- defaultTimestampGenerator() - Static method in class com.datastax.driver.core.policies.Policies
-
The default timestamp generator.
- defaultTimeToLive(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the default expiration time in seconds for a table.
- defaultUnset() - Method in class com.datastax.driver.core.querybuilder.Insert
-
Appends a
DEFAULT UNSETclause to thisINSERT INTO ... JSONstatement. - definition - Variable in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
- definition - Variable in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
- deflate() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create options for the Deflate compression strategy, to use in a CREATE or ALTER TABLE statement.
- DEFLATE - com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions.Algorithm
- delegate() - Method in class com.datastax.driver.core.DelegatingCluster
-
Returns the delegate instance where all calls will be forwarded.
- DelegatingCluster - Class in com.datastax.driver.core
-
Base class for custom
Clusterimplementations that wrap another instance (delegate / decorator pattern). - DelegatingCluster() - Constructor for class com.datastax.driver.core.DelegatingCluster
-
Builds a new instance.
- delete() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new
DELETEquery. - delete(String...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new
DELETEquery that deletes the provided names. - Delete - Class in com.datastax.driver.core.querybuilder
-
A built DELETE statement.
- Delete.Builder - Class in com.datastax.driver.core.querybuilder
-
An in-construction DELETE statement.
- Delete.Conditions - Class in com.datastax.driver.core.querybuilder
-
Conditions for a DELETE statement.
- Delete.Options - Class in com.datastax.driver.core.querybuilder
-
The options of a DELETE statement.
- Delete.Selection - Class in com.datastax.driver.core.querybuilder
-
An column selection clause for an in-construction DELETE statement.
- Delete.Where - Class in com.datastax.driver.core.querybuilder
-
The WHERE clause of a DELETE statement.
- desc(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Descending ordering for the provided column.
- DESC - com.datastax.driver.core.ClusteringOrder
- DESC - com.datastax.driver.core.schemabuilder.SchemaBuilder.Direction
- deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractCollectionCodec
- deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractMapCodec
- deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
- deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
- deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec
-
Deserialize the given
ByteBufferinstance according to the CQL type handled by this codec. - deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveBooleanCodec
- deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveByteCodec
- deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveDoubleCodec
- deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveFloatCodec
- deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveIntCodec
- deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveLongCodec
- deserialize(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveShortCodec
- deserializeAndSetField(ByteBuffer, T, int, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
-
Deserialize an individual field and set it on an object, as part of deserializing the whole object from a CQL tuple (see
TypeCodec.AbstractTupleCodec.deserialize(ByteBuffer, ProtocolVersion)). - deserializeAndSetField(ByteBuffer, T, String, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
-
Deserialize an individual field and set it on an object, as part of deserializing the whole object from a CQL UDT (see
TypeCodec.AbstractUDTCodec.deserialize(ByteBuffer, ProtocolVersion)). - deserializeNoBoxing(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveBooleanCodec
- deserializeNoBoxing(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveByteCodec
- deserializeNoBoxing(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveDoubleCodec
- deserializeNoBoxing(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveFloatCodec
- deserializeNoBoxing(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveIntCodec
- deserializeNoBoxing(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveLongCodec
- deserializeNoBoxing(ByteBuffer, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.PrimitiveShortCodec
- DISABLED - com.datastax.driver.core.QueryOptions.CQL4SkipMetadataResolveMethod
- disableTracing() - Method in class com.datastax.driver.core.DefaultPreparedStatement
- disableTracing() - Method in interface com.datastax.driver.core.PreparedStatement
-
Convenience method to disable tracing for all bound statements created from this prepared statement.
- disableTracing() - Method in class com.datastax.driver.core.Statement
-
Disables tracing for this query.
- disableTracing() - Method in class com.datastax.driver.core.StatementWrapper
- discard(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Discard a value from a list column.
- discardAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Discard a list of values to a list column.
- discardAll(String, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Discard a list of values to a list column.
- distance(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
-
Return the HostDistance for the provided host.
- distance(Host) - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy
- distance(Host) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
-
Returns the distance assigned by this policy to the provided host.
- distance(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
-
Returns the HostDistance for the provided host.
- distance(Host) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
-
Returns the distance assigned by this policy to the provided host.
- distance(Host) - Method in class com.datastax.driver.core.policies.PagingOptimizingLoadBalancingPolicy
- distance(Host) - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
-
Return the HostDistance for the provided host.
- distance(Host) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
-
Return the HostDistance for the provided host.
- distance(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
-
Returns the distance assigned by this policy to the provided host.
- distinct() - Method in class com.datastax.driver.core.querybuilder.Select.Builder
-
Uses DISTINCT selection.
- distinct() - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Uses DISTINCT selection.
- DOUBLE - com.datastax.driver.core.DataType.Name
- doubleQuote(String) - Static method in class com.datastax.driver.core.ParseUtils
-
Double quote the given string; double quotes are escaped.
- DowngradingConsistencyRetryPolicy - Class in com.datastax.driver.core.policies
-
Deprecated.as of version 3.5.0, this retry policy has been deprecated, and it will be removed in 4.0.0. See our upgrade guide to understand how to migrate existing applications that rely on this policy.
- DRIVER_CONFIG_KEY - Static variable in class com.datastax.driver.core.DefaultDriverConfigReporter
-
STARTUP option key under which the config JSON is sent.
- DriverConfigReporter - Interface in com.datastax.driver.core
-
Builds the
DRIVER_CONFIGpayload that the control connection sends in its CQLSTARTUPoptions, so ScyllaDB can store it insystem.clients.client_optionsand operators can inspect a client's effective driver settings while investigating incidents. - DriverException - Exception in com.datastax.driver.core.exceptions
-
Top level class for exceptions thrown by the driver.
- DriverException(String) - Constructor for exception com.datastax.driver.core.exceptions.DriverException
- DriverException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.DriverException
- DriverException(Throwable) - Constructor for exception com.datastax.driver.core.exceptions.DriverException
- DriverInternalError - Exception in com.datastax.driver.core.exceptions
-
An unexpected error happened internally.
- DriverInternalError(String) - Constructor for exception com.datastax.driver.core.exceptions.DriverInternalError
- DriverInternalError(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.DriverInternalError
- DriverInternalError(Throwable) - Constructor for exception com.datastax.driver.core.exceptions.DriverInternalError
- Drop - Class in com.datastax.driver.core.schemabuilder
-
A built DROP statement.
- dropColumn(String) - Method in class com.datastax.driver.core.schemabuilder.Alter
-
Add a new DROP column clause to this ALTER TABLE statement.
- dropIndex(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new DROP INDEX statement.
- dropIndex(String, String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new DROP INDEX statement.
- dropKeyspace(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new DROP KEYSPACE statement.
- DropKeyspace - Class in com.datastax.driver.core.schemabuilder
-
A built DROP KEYSPACE statement.
- DropKeyspace(String) - Constructor for class com.datastax.driver.core.schemabuilder.DropKeyspace
- dropTable(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new DROP TABLE statement.
- dropTable(String, String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new DROP TABLE statement.
- dropType(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new DROP TYPE statement.
- dropType(String, String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Start building a new DROP TYPE statement.
- durableWrites(Boolean) - Method in class com.datastax.driver.core.schemabuilder.KeyspaceOptions
-
Define the durable writes option for the statement.
- duration() - Static method in class com.datastax.driver.core.DataType
-
Returns the Duration type, introduced in Cassandra 3.10.
- duration() - Static method in class com.datastax.driver.core.TypeCodec
-
Returns the default codec for the
Duration type. - Duration - Class in com.datastax.driver.core
-
Represents a duration.
- DURATION - com.datastax.driver.core.DataType.Name
E
- EACH_QUORUM - com.datastax.driver.core.ConsistencyLevel
- EC2MultiRegionAddressTranslator - Class in com.datastax.driver.core.policies
-
AddressTranslatorimplementation for a multi-region EC2 deployment where clients are also deployed in EC2. - EC2MultiRegionAddressTranslator() - Constructor for class com.datastax.driver.core.policies.EC2MultiRegionAddressTranslator
- eltCodec - Variable in class com.datastax.driver.core.TypeCodec.AbstractCollectionCodec
- EMPTY - Static variable in class com.datastax.driver.core.ProtocolFeatureStore
-
Instance of
ProtocolFeatureStoreinitialized with default values. - emptyMap(Cluster.Manager) - Static method in class com.datastax.driver.core.TabletMap
- enabled(Boolean) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions
-
Enable or disable background compaction.
- ENABLED - com.datastax.driver.core.QueryOptions.CQL4SkipMetadataResolveMethod
- enableTracing() - Method in class com.datastax.driver.core.DefaultPreparedStatement
- enableTracing() - Method in interface com.datastax.driver.core.PreparedStatement
-
Convenience method to enables tracing for all bound statements created from this prepared statement.
- enableTracing() - Method in class com.datastax.driver.core.Statement
-
Enables tracing for this query.
- enableTracing() - Method in class com.datastax.driver.core.StatementWrapper
- endOf(long) - Static method in class com.datastax.driver.core.utils.UUIDs
-
Creates a "fake" time-based UUID that sorts as the biggest possible version 1 UUID generated at the provided timestamp.
- EndPoint - Interface in com.datastax.driver.core
-
Encapsulates the information needed by the driver to open connections to a node.
- EndPointFactory - Interface in com.datastax.driver.core
-
Produces
EndPointinstances representing the connection information to every node. - eq(Iterable<String>, Iterable<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates an "equal"
WHEREclause for a group of clustering columns. - eq(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates an "equal"
WHEREclause stating the provided column must be equal to the provided value. - equal(Object, Object) - Static method in class com.datastax.driver.core.utils.MoreObjects
- equals(Object) - Method in class com.datastax.driver.core.AggregateMetadata
- equals(Object) - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
- equals(Object) - Method in class com.datastax.driver.core.ColumnMetadata
- equals(Object) - Method in class com.datastax.driver.core.DataType.CollectionType
- equals(Object) - Method in class com.datastax.driver.core.DataType.CustomType
- equals(Object) - Method in class com.datastax.driver.core.DataType.NativeType
- equals(Object) - Method in class com.datastax.driver.core.Duration
- equals(Object) - Method in class com.datastax.driver.core.FunctionMetadata
- equals(Object) - Method in class com.datastax.driver.core.Host
- equals(Object) - Method in class com.datastax.driver.core.IndexMetadata
- equals(Object) - Method in class com.datastax.driver.core.KeyspaceMetadata
- equals(Object) - Method in class com.datastax.driver.core.LocalDate
- equals(Object) - Method in class com.datastax.driver.core.MaterializedViewMetadata
- equals(Object) - Method in class com.datastax.driver.core.QueryOptions
- equals(Object) - Method in class com.datastax.driver.core.SniEndPoint
- equals(Object) - Method in class com.datastax.driver.core.TableMetadata
- equals(Object) - Method in class com.datastax.driver.core.TableOptionsMetadata
- equals(Object) - Method in class com.datastax.driver.core.TabletMap.KeyspaceTableNamePair
- equals(Object) - Method in class com.datastax.driver.core.TabletMap.Tablet
- equals(Object) - Method in class com.datastax.driver.core.TokenRange
- equals(Object) - Method in class com.datastax.driver.core.TupleType
- equals(Object) - Method in class com.datastax.driver.core.TupleValue
- equals(Object) - Method in class com.datastax.driver.core.UDTValue
- equals(Object) - Method in class com.datastax.driver.core.UserType
- equals(Object) - Method in class com.datastax.driver.core.UserType.Field
- equals(Object) - Method in class com.datastax.driver.core.VersionNumber
- ERROR_LOGGER - Static variable in class com.datastax.driver.core.QueryLogger
-
The logger used to log unsuccessful queries, i.e., queries that did not complete normally and threw an exception.
- ErrorAwarePolicy - Class in com.datastax.driver.core.policies
-
Chainable load balancing policy that filters out hosts based on their error rates.
- ErrorAwarePolicy.Builder - Class in com.datastax.driver.core.policies
-
Utility class to create a
ErrorAwarePolicy. - ErrorAwarePolicy.ErrorFilter - Interface in com.datastax.driver.core.policies
-
A filter for the errors considered by
ErrorAwarePolicy. - Errors() - Constructor for class com.datastax.driver.core.Metrics.Errors
- escapeId(String) - Static method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
Deprecated.preserved for backward compatibility, use
Metadata.quoteIfNecessary(String)instead. - evaluateChallenge(byte[]) - Method in interface com.datastax.driver.core.Authenticator
-
Evaluate a challenge received from the Server.
- eventLoopGroup(ThreadFactory) - Method in class com.datastax.driver.core.NettyOptions
-
Return the
EventLoopGroupinstance to use. - execute(Statement) - Method in class com.datastax.driver.core.AbstractSession
-
Executes the provided query.
- execute(Statement) - Method in interface com.datastax.driver.core.Session
-
Executes the provided query.
- execute(String) - Method in class com.datastax.driver.core.AbstractSession
-
Executes the provided query.
- execute(String) - Method in interface com.datastax.driver.core.Session
-
Executes the provided query.
- execute(String, Object...) - Method in class com.datastax.driver.core.AbstractSession
-
Executes the provided query using the provided values.
- execute(String, Object...) - Method in interface com.datastax.driver.core.Session
-
Executes the provided query using the provided values.
- execute(String, Map<String, Object>) - Method in class com.datastax.driver.core.AbstractSession
-
Executes the provided query using the provided named values.
- execute(String, Map<String, Object>) - Method in interface com.datastax.driver.core.Session
-
Executes the provided query using the provided named values.
- executeAsync(Statement) - Method in interface com.datastax.driver.core.Session
-
Executes the provided query asynchronously.
- executeAsync(String) - Method in class com.datastax.driver.core.AbstractSession
-
Executes the provided query asynchronously.
- executeAsync(String) - Method in interface com.datastax.driver.core.Session
-
Executes the provided query asynchronously.
- executeAsync(String, Object...) - Method in class com.datastax.driver.core.AbstractSession
-
Executes the provided query asynchronously using the provided values.
- executeAsync(String, Object...) - Method in interface com.datastax.driver.core.Session
-
Executes the provided query asynchronously using the provided values.
- executeAsync(String, Map<String, Object>) - Method in class com.datastax.driver.core.AbstractSession
-
Executes the provided query asynchronously using the provided values.
- executeAsync(String, Map<String, Object>) - Method in interface com.datastax.driver.core.Session
-
Executes the provided query asynchronously using the provided values.
- ExecutionInfo - Class in com.datastax.driver.core
-
Basic information on the execution of a query.
- ExecutionInfo(int, int, List<Host>, ConsistencyLevel, Map<String, ByteBuffer>) - Constructor for class com.datastax.driver.core.ExecutionInfo
- ExponentialReconnectionPolicy - Class in com.datastax.driver.core.policies
-
A reconnection policy that waits exponentially longer between each reconnection attempt (but keeps a constant delay once a maximum delay is reached).
- ExponentialReconnectionPolicy(long, long) - Constructor for class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
Creates a reconnection policy waiting exponentially longer for each new attempt.
- exportAsString() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns a
Stringcontaining CQL queries representing this table and the index on it. - exportAsString() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns a CQL query representing this function in human readable form.
- exportAsString() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns a CQL query representing this function in human readable form.
- exportAsString() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns a
Stringcontaining CQL queries representing this keyspace and the user types and tables it contains. - exportAsString() - Method in class com.datastax.driver.core.TableMetadata
-
Returns a
Stringcontaining CQL queries representing this table and the index on it. - exportAsString() - Method in class com.datastax.driver.core.UserType
-
Returns a CQL query representing this user type in human readable form.
- exportSchemaAsString() - Method in class com.datastax.driver.core.Metadata
-
Returns a
Stringcontaining CQL queries representing the schema of this cluster. - ExtendedAuthProvider - Interface in com.datastax.driver.core
-
An auth provider that represents the host as an
EndPointinstead of a rawInetSocketAddress. - ExtendedAuthProvider.NoAuthProvider - Class in com.datastax.driver.core
- ExtendedRemoteEndpointAwareSslOptions - Interface in com.datastax.driver.core
F
- FailureCallback() - Constructor for class com.datastax.driver.core.utils.MoreFutures.FailureCallback
- FallthroughRetryPolicy - Class in com.datastax.driver.core.policies
-
A retry policy that never retries (nor ignores).
- fcall(String, Object...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a function call.
- fcall(String, Object...) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Creates a function call.
- fcall(String, Object...) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- fetchMoreResults() - Method in interface com.datastax.driver.core.PagingIterable
-
Force fetching the next page of results for this result set, if any.
- FLOAT - com.datastax.driver.core.DataType.Name
- force() - Method in class com.datastax.driver.core.CloseFuture
-
Try to force the completion of the shutdown this is a future of.
- format(C) - Method in class com.datastax.driver.core.TypeCodec.AbstractCollectionCodec
- format(Map<K, V>) - Method in class com.datastax.driver.core.TypeCodec.AbstractMapCodec
- format(T) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
- format(T) - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
- format(T) - Method in class com.datastax.driver.core.TypeCodec
-
Format the given value as a valid CQL literal according to the CQL type handled by this codec.
- formatField(T, int) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
-
Format an individual field in an object as a CQL literal, as part of formatting the whole object (see
TypeCodec.AbstractTupleCodec.format(Object)). - formatField(T, String) - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
-
Format an individual field in an object as a CQL literal, as part of formatting the whole object (see
TypeCodec.AbstractUDTCodec.format(Object)). - formatTime(long) - Static method in class com.datastax.driver.core.ParseUtils
-
Format the given long value as a CQL time literal, using the following time pattern:
hh:mm:ss[.fffffffff]. - FrameTooLongException - Exception in com.datastax.driver.core.exceptions
-
Indicates that the response frame for a request exceeded
Frame.Decoder.DecoderForStreamIdSize.MAX_FRAME_LENGTH(default: 256MB, configurable via com.datastax.driver.NATIVE_TRANSPORT_MAX_FRAME_SIZE_IN_MB system property) and thus was not parsed. - FrameTooLongException(int) - Constructor for exception com.datastax.driver.core.exceptions.FrameTooLongException
- FramingFormatHandler - Class in com.datastax.driver.core
-
A handler to deal with different protocol framing formats.
- freeformOption(String, Object) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions
-
Define a free-form option as a key/value pair.
- freeformOption(String, Object) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define a free-form option as a key/value pair.
- from(MaterializedViewMetadata) - Method in class com.datastax.driver.core.querybuilder.Select.Builder
-
Adds the materialized view to select from.
- from(MaterializedViewMetadata) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- from(TableMetadata) - Method in class com.datastax.driver.core.querybuilder.Delete.Builder
-
Adds the table to delete from.
- from(TableMetadata) - Method in class com.datastax.driver.core.querybuilder.Select.Builder
-
Adds the table to select from.
- from(TableMetadata) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- from(String) - Static method in class com.datastax.driver.core.Duration
-
Converts a
Stringinto a duration. - from(String) - Method in class com.datastax.driver.core.querybuilder.Delete.Builder
-
Adds the table to delete from.
- from(String) - Method in class com.datastax.driver.core.querybuilder.Select.Builder
-
Adds the table to select from.
- from(String, String) - Method in class com.datastax.driver.core.querybuilder.Delete.Builder
-
Adds the table to delete from.
- from(String, String) - Method in class com.datastax.driver.core.querybuilder.Select.Builder
-
Adds the table to select from.
- from(String, String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- fromBytes(byte[]) - Static method in class com.datastax.driver.core.PagingState
-
Create a PagingState object from a byte array previously generated with
PagingState.toBytes(). - fromCqlDateToDaysSinceEpoch(long) - Static method in class com.datastax.driver.core.CodecUtils
-
Convert from a raw CQL long representing a numeric DATE literal to the number of days since the Epoch.
- fromDaysSinceEpoch(int) - Static method in class com.datastax.driver.core.LocalDate
-
Builds a new instance from a number of days since January 1st, 1970 GMT.
- fromDaysSinceEpochToCqlDate(int) - Static method in class com.datastax.driver.core.CodecUtils
-
Convert the number of days since the Epoch into a raw CQL long representing a numeric DATE literal.
- fromDCBlackList(LoadBalancingPolicy, Iterable<String>) - Static method in class com.datastax.driver.core.policies.HostFilterPolicy
-
Create a new policy that wraps the provided child policy but only "forbids" hosts whose DC belongs to the provided list.
- fromDCWhiteList(LoadBalancingPolicy, Iterable<String>) - Static method in class com.datastax.driver.core.policies.HostFilterPolicy
-
Create a new policy that wraps the provided child policy but only "allows" hosts whose DC belongs to the provided list.
- fromHexString(String) - Static method in class com.datastax.driver.core.utils.Bytes
-
Parse an hex string representing a CQL blob.
- fromInt(int) - Static method in enum com.datastax.driver.core.ProtocolVersion
-
Returns the value matching an integer version.
- fromJson(Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a
fromJson()function call. - fromMillisSinceEpoch(long) - Static method in class com.datastax.driver.core.LocalDate
-
Builds a new instance from a number of milliseconds since January 1st, 1970 GMT.
- fromRawHexString(String, int) - Static method in class com.datastax.driver.core.utils.Bytes
-
Converts a CQL hex string representation into a byte array.
- fromSignedToUnsignedInt(int) - Static method in class com.datastax.driver.core.CodecUtils
-
Converts an int into an "unsigned" int suitable to be written as a DATE value.
- fromString(String) - Static method in class com.datastax.driver.core.PagingState
-
Create a PagingState object from a string previously generated with
PagingState.toString(). - fromUnsignedToSignedInt(int) - Static method in class com.datastax.driver.core.CodecUtils
-
Converts an "unsigned" int read from a DATE value into a signed int.
- fromYearMonthDay(int, int, int) - Static method in class com.datastax.driver.core.LocalDate
-
Builds a new instance from a year/month/day specification.
- frozen(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Build the datatype representation of a frozen UDT, to include in a schema builder statement.
- frozenList(DataType) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of frozen lists of
elementTypeelements. - frozenMap(DataType, DataType) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of frozen maps of
keyTypetovalueTypeelements. - frozenSet(DataType) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of frozen sets of
elementTypeelements. - FunctionExecutionException - Exception in com.datastax.driver.core.exceptions
-
Error during the execution of a function.
- FunctionExecutionException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.FunctionExecutionException
- FunctionMetadata - Class in com.datastax.driver.core
-
Describes a CQL function (created with
CREATE FUNCTION...).
G
- gcGraceSeconds(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the time to wait before garbage collecting tombstones (deletion markers).
- get(int, TypeCodec<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value converted using the givenTypeCodec. - get(int, TypeCodec<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value converted using the givenTypeCodec. - get(int, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value converted to the given Java type. - get(int, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value converted to the given Java type. - get(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value converted to the given Java type. - get(int, Class<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value converted to the given Java type. - get(String, TypeCodec<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameconverted using the givenTypeCodec. - get(String, TypeCodec<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameconverted using the givenTypeCodec. - get(String, TypeCodec<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameconverted using the givenTypeCodec. - get(String, TypeToken<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameconverted to the given Java type. - get(String, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameconverted to the given Java type. - get(String, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameconverted to the given Java type. - get(String, Class<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameconverted to the given Java type. - get(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameconverted to the given Java type. - get(String, Class<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameconverted to the given Java type. - 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. - getAdditionalWritePolicy() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
The threshold at which a cheap quorum write will be upgraded to include transient replicas.
- 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.CDCWriteException
-
Deprecated.
- getAddress() - Method in exception com.datastax.driver.core.exceptions.ConnectionException
-
Deprecated.
- getAddress() - Method in interface com.datastax.driver.core.exceptions.CoordinatorException
-
Deprecated.
CoordinatorException.getEndPoint()provides more accurate information if the connection information consists of more than a socket address. This method is a shortcut forgetEndPoint().resolve(). - 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
-
Deprecated.This is exposed mainly for historical reasons. Internally, the driver uses
Host.getEndPoint()to establish connections. This is a shortcut forgetEndPoint().resolve().getAddress(). - getAddressTranslator() - Method in class com.datastax.driver.core.policies.Policies
-
The address translator in use.
- getAggregate(String, DataType...) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition of an aggregate in this keyspace.
- getAggregate(String, Collection<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.
- 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
LatencyAwarePolicyat the time of the snapshot. - getApplicationInfo() - Method in class com.datastax.driver.core.Configuration
- 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
ByteBufferas a byte array. - 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
AuthProviderused 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.
- getBaseDelayMs() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
The base delay in milliseconds for this policy (e.g. the delay before the first reconnection attempt).
- 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
-
Returns the number of queued up tasks in the
blocking executor. - 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(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a boolean. - getBool(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a boolean. - getBool(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a boolean. - getBool(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a boolean. - getBool(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas 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(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a byte. - getByte(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a byte. - getByte(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a byte. - getByte(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a byte. - getByte(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a byte. - getBytes(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a byte array. - getBytes(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a byte array. - getBytes(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a byte array. - getBytes(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a byte array. - getBytes(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas 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(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as aByteBuffer. - getBytesUnsafe(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as aByteBuffer. - getBytesUnsafe(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a ByteBuffer. - getBytesUnsafe(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a ByteBuffer. - getBytesUnsafe(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a ByteBuffer. - getCaching() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the caching options for this table.
- getCassandraVersion() - Method in class com.datastax.driver.core.Host
-
The Cassandra version the host is running.
- getChildPolicy() - Method in interface com.datastax.driver.core.policies.ChainableLoadBalancingPolicy
-
Returns the child policy.
- getChildPolicy() - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy
- getChildPolicy() - Method in class com.datastax.driver.core.policies.HostFilterPolicy
- getChildPolicy() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
- getChildPolicy() - Method in class com.datastax.driver.core.policies.PagingOptimizingLoadBalancingPolicy
- getChildPolicy() - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
- getClientTimeouts() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of requests that timed out before the driver received a response.
- getCluster() - Method in interface com.datastax.driver.core.Session
-
Returns the
Clusterobject this session is part of. - getClusteringColumns() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the list of clustering columns for this table.
- getClusteringOrder() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the clustering order for this table.
- getClusterName() - Method in class com.datastax.driver.core.Cluster.Builder
- getClusterName() - Method in class com.datastax.driver.core.Cluster
-
The name of this cluster object.
- getClusterName() - Method in interface com.datastax.driver.core.Cluster.Initializer
-
An optional name for the created cluster.
- getClusterName() - Method in class com.datastax.driver.core.Metadata
-
The Cassandra name for the cluster connect to.
- getCodecRegistry() - Method in class com.datastax.driver.core.Configuration
-
Returns the
CodecRegistryinstance for this configuration. - getCodecRegistry() - Method in class com.datastax.driver.core.DefaultPreparedStatement
- getCodecRegistry() - Method in interface com.datastax.driver.core.PreparedStatement
-
Return the
CodecRegistryinstance associated with this prepared statement. - getCodecRegistry() - Method in class com.datastax.driver.core.TupleValue
- getCodecRegistry() - Method in class com.datastax.driver.core.UDTValue
- getColumn(String) - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns metadata on a column of this table.
- getColumnDefinitions() - Method in interface com.datastax.driver.core.ResultSet
-
Returns the columns returned in this ResultSet.
- getColumnDefinitions() - Method in interface com.datastax.driver.core.Row
-
Returns the columns contained in this Row.
- getColumnName() - Method in class com.datastax.driver.core.querybuilder.Assignment
-
The name of the column this assignment applies to.
- getColumns() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns a list containing all the columns of this table.
- getComment() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the commentary set for this table.
- getCompaction() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the compaction options for this table.
- getComponentTypes() - Method in class com.datastax.driver.core.TupleType
-
The (immutable) list of types composing this tuple type.
- getCompression() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the compression used by the protocol.
- getCompression() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the compression options for this table.
- getConfiguration() - Method in class com.datastax.driver.core.Cluster.Builder
-
The configuration that will be used for the new cluster.
- getConfiguration() - Method in class com.datastax.driver.core.Cluster
-
The cluster configuration.
- getConfiguration() - Method in interface com.datastax.driver.core.Cluster.Initializer
-
The configuration to use for the new cluster.
- getConfiguration() - Method in class com.datastax.driver.core.DelegatingCluster
- getConfiguredTimeoutMs() - Method in exception com.datastax.driver.core.exceptions.OperationTimedOutException
-
Returns the driver-side read timeout that was configured for the request, in milliseconds, or
OperationTimedOutException.UNAVAILABLEif not available. - 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.
- getConnectionInFlight() - Method in exception com.datastax.driver.core.exceptions.OperationTimedOutException
-
Returns the number of in-flight requests on the connection at the time of the timeout, or
OperationTimedOutException.UNAVAILABLEif not available. - getConnectionShardingInfo() - Method in class com.datastax.driver.core.ProtocolFeatureStore
- 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
-
Returns the default consistency level set through
PreparedStatement.setConsistencyLevel(com.datastax.driver.core.ConsistencyLevel). - 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
- getConstantDelayMillis() - Method in class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
-
The delay between each speculative execution, as specified at instantiation.
- getConstantDelayMs() - Method in class com.datastax.driver.core.policies.ConstantReconnectionPolicy
-
The constant delay used by this reconnection policy.
- getContactPoints() - Method in class com.datastax.driver.core.Cluster.Builder
- getContactPoints() - Method in interface com.datastax.driver.core.Cluster.Initializer
-
Returns the initial Cassandra hosts to connect to.
- getCoordinator() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the coordinator host of the query.
- getCoreConnectionsPerHost(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the core number of connections per host.
- getCqlType() - Method in exception com.datastax.driver.core.exceptions.CodecNotFoundException
- getCqlType() - Method in class com.datastax.driver.core.TypeCodec
-
Return the CQL type that this codec deserializes from and serializes to.
- getCrcCheckChance() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
When compression is enabled, this option defines the probability with which checksums for compressed blocks are checked during reads.
- getCurrentVersion() - Method in exception com.datastax.driver.core.exceptions.UnsupportedFeatureException
- getCustomMessage(int, boolean, boolean) - Method in exception com.datastax.driver.core.exceptions.NoHostAvailableException
-
Builds a custom message for this exception.
- getCustomTypeClassName() - Method in class com.datastax.driver.core.DataType.CustomType
-
Returns the fully qualified name of the subtype of
org.apache.cassandra.db.marshal.AbstractTypethat 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(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a date (without time). - getDate(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a date (without time). - getDate(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a date (without time). - getDate(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a date (without time). - getDate(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas 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(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a variable length decimal. - getDecimal(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a variable length decimal. - getDecimal(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a variable length decimal. - getDecimal(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a variable length decimal. - getDecimal(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas 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
- 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(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a double. - getDouble(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a double. - getDouble(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a double. - getDouble(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a double. - getDouble(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a double. - getDriverVersion() - Static method in class com.datastax.driver.core.Cluster
-
Returns the current version of the driver.
- getDSEPatch() - Method in class com.datastax.driver.core.VersionNumber
-
The DSE patch version number (will only be present for version of Cassandra in DSE).
- getDseVersion() - Method in class com.datastax.driver.core.Host
-
Deprecated.Please use the Java Driver for DSE if you are connecting to a DataStax Enterprise (DSE) cluster. This method might not function properly with future versions of DSE.
- getDseWorkload() - Method in class com.datastax.driver.core.Host
-
Deprecated.Please use the Java Driver for DSE if you are connecting to a DataStax Enterprise (DSE) cluster. This method might not function properly with future versions of DSE.
- getDurationMicros() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the server-side duration of the query in microseconds.
- getEnd() - Method in class com.datastax.driver.core.TokenRange
-
Return the end of the range.
- 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.CDCWriteException
- 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.PagingIterable
-
Returns information on the execution of the last query made for this result set.
- getExecutorQueueDepth() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of queued up tasks in the
main internal executor. - getExtensions() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the extension options for this table.
- getFailures() - Method in exception com.datastax.driver.core.exceptions.ReadFailureException
-
Returns the number of replicas that experienced a failure while executing the request.
- getFailures() - Method in exception com.datastax.driver.core.exceptions.WriteFailureException
-
Returns the number of replicas that experienced a failure while executing the request.
- 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.
- getFirstToken() - Method in class com.datastax.driver.core.TabletMap.Tablet
- getFloat(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a float. - getFloat(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a float. - getFloat(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a float. - getFloat(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a float. - getFloat(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a float. - getFunction(String, DataType...) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition of a function in this keyspace.
- getFunction(String, Collection<DataType>) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the definition of a function in this keyspace.
- getFunctions() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the functions defined in this keyspace.
- getGcGraceInSeconds() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the tombstone garbage collection grace time in seconds for this table.
- getHeartbeatIntervalSeconds() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the heart beat interval, after which a message is sent on an idle connection to make sure it's still alive.
- getHighLocalPort() - Method in class com.datastax.driver.core.ProtocolOptions
- 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.CDCWriteException
-
Deprecated.
- getHost() - Method in exception com.datastax.driver.core.exceptions.ConnectionException
-
Deprecated.
- getHost() - Method in interface com.datastax.driver.core.exceptions.CoordinatorException
-
Deprecated.
CoordinatorException.getEndPoint()provides more accurate information if the connection information consists of more than a socket address. This method is a shortcut forgetEndPoint().resolve().getAddress(). - 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
- getHost() - Method in class com.datastax.driver.core.TabletMap.HostShardPair
- 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.
- 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
PREPAREDresponse, if any, ornull, 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(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as an InetAddress. - getInet(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as an InetAddress. - getInet(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas an InetAddress. - getInet(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas an InetAddress. - getInet(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas 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(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as an integer. - getInt(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as an integer. - getInt(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas an integer. - getInt(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas an integer. - getInt(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas an integer. - getJavaType() - Method in exception com.datastax.driver.core.exceptions.CodecNotFoundException
- getJavaType() - Method in class com.datastax.driver.core.TypeCodec
-
Return the Java type that this codec deserializes to and serializes from.
- getKeepAlive() - Method in class com.datastax.driver.core.SocketOptions
-
Returns whether TCP keepalive is enabled.
- getKeyspace() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the keyspace this table belong to.
- getKeyspace() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the keyspace this aggregate belongs to.
- getKeyspace() - Method in class com.datastax.driver.core.BatchStatement
- getKeyspace() - Method in class com.datastax.driver.core.BoundStatement
-
Returns the keyspace this query operates on.
- getKeyspace() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
-
The name of the keyspace this column is part of.
- getKeyspace() - 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() - Method in class com.datastax.driver.core.querybuilder.Batch
-
Returns the keyspace of the first statement in this batch.
- getKeyspace() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
- getKeyspace() - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
- getKeyspace() - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the keyspace this query operates on.
- getKeyspace() - Method in class com.datastax.driver.core.Statement
-
Returns the keyspace this query operates on.
- getKeyspace() - Method in class com.datastax.driver.core.StatementWrapper
- getKeyspace() - Method in class com.datastax.driver.core.TabletMap.KeyspaceTableNamePair
- getKeyspace() - Method in class com.datastax.driver.core.UserType
-
The name of the keyspace this UDT is part of.
- getKeyspace(int) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the keyspace of the
ith column in this metadata. - getKeyspace(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the keyspace of the first occurrence of
namein this metadata. - getKeyspace(String) - Method in class com.datastax.driver.core.Metadata
-
Returns the metadata of a keyspace given its name.
- getKeyspaceName() - Method in exception com.datastax.driver.core.exceptions.UnresolvedUserTypeException
- getKeyspaces() - Method in class com.datastax.driver.core.Metadata
-
Returns a list of all the defined keyspaces.
- getKind() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns the index kind.
- getKnownHosts() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of Cassandra hosts currently known by the driver (that is whether they are currently considered up or down).
- getLanguage() - Method in class com.datastax.driver.core.FunctionMetadata
-
Returns the programming language in which this function's body is written.
- getLastHost() - Method in class com.datastax.driver.core.Statement
- getLastToken() - Method in class com.datastax.driver.core.TabletMap.Tablet
- 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(int, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a list. - getList(int, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a list. - getList(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a list. - getList(int, Class<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a list. - getList(String, TypeToken<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a list. - getList(String, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a list. - getList(String, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a list. - getList(String, Class<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a list. - getList(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a list. - getList(String, Class<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas 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.
- getLoadBalancingLwtRequestRoutingMethod() - Method in class com.datastax.driver.core.QueryOptions
-
The default request routing method used by LWT queries.
- getLoadBalancingPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The load balancing policy in use.
- getLocalDc() - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
-
The datacenter this policy considers local, or
nullif it has neither been configured explicitly nor inferred yet. - getLocalDc() - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
-
The datacenter this policy considers local, or
nullif it has neither been configured explicitly nor inferred yet. - getLocalRack() - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
-
The rack this policy considers local, or
nullif it has neither been configured explicitly nor inferred yet. - getLocalReadRepairChance() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the cluster local read repair chance set for this table.
- getLoggedKeyspace() - Method in interface com.datastax.driver.core.Session
-
The keyspace to which this Session is currently logged in, if any.
- getLong(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a long. - getLong(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a long. - getLong(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a long. - getLong(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a long. - getLong(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a long. - getLowerSupported() - Method in enum com.datastax.driver.core.ProtocolVersion
-
Returns the highest supported version that is lower than this version.
- getLowLocalPort() - Method in class com.datastax.driver.core.ProtocolOptions
- getLwtInfo() - Method in class com.datastax.driver.core.Host
- getLwtInfo() - Method in class com.datastax.driver.core.ProtocolFeatureStore
- getMajor() - Method in class com.datastax.driver.core.VersionNumber
-
The major version number.
- getMap(int, TypeToken<K>, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a map. - getMap(int, TypeToken<K>, TypeToken<V>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a map. - getMap(int, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a map. - getMap(int, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a map. - getMap(String, TypeToken<K>, TypeToken<V>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a map. - getMap(String, TypeToken<K>, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a map. - getMap(String, TypeToken<K>, TypeToken<V>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a map. - getMap(String, Class<K>, Class<V>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a map. - getMap(String, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a map. - getMap(String, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a map. - getMapExtensions() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the extension options for this table, but only those represented by
Map<String, String>. - getMapping() - Method in class com.datastax.driver.core.TabletMap
-
Returns the mapping of tables to their tablets.
- getMask() - Method in class com.datastax.driver.core.LwtInfo
- getMaterializedView(String) - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the metadata for a materialized view contained in this keyspace.
- getMaterializedViews() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the materialized views defined in this keyspace.
- getMaxConnectionsPerHost(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the maximum number of connections per host.
- getMaxDelayMs() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
The maximum delay in milliseconds between reconnection attempts for this policy.
- getMaxIndexInterval() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the maximum index interval option for this table.
- getMaxLoggedParameters() - Method in class com.datastax.driver.core.QueryLogger
-
Return the maximum number of query parameters that can be logged by the driver.
- getMaxParameterValueLength() - Method in class com.datastax.driver.core.QueryLogger
-
Return the maximum length of a query parameter value that can be logged verbatim by the driver.
- getMaxPendingRefreshNodeListRequests() - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of node list refresh requests that the control connection can accumulate before executing them.
- getMaxPendingRefreshNodeRequests() - Method in class com.datastax.driver.core.QueryOptions
-
The maximum number of node refresh requests that the control connection can accumulate before executing them.
- getMaxPendingRefreshSchemaRequests() - Method in class com.datastax.driver.core.QueryOptions
-
The maximum number of schema refresh requests that the control connection can accumulate before executing them.
- getMaxQueryStringLength() - Method in class com.datastax.driver.core.QueryLogger
-
Return the maximum length of a CQL query string that can be logged verbatim by the driver.
- getMaxQueueSize() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the maximum number of requests that get enqueued if no connection is available.
- getMaxRequestsPerConnection(HostDistance) - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the maximum number of requests per connection.
- getMaxSchemaAgreementWaitSeconds() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the maximum time to wait for schema agreement before returning from a DDL query.
- getMaxSpeculativeExecutions() - Method in class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
-
The number of speculative executions this policy schedules for a request, as specified at instantiation.
- getMaxSpeculativeExecutions() - Method in class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
-
The maximum number of speculative executions this policy triggers for a request, as specified at instantiation.
- getMeasurementsCount() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
-
The number of recorded latency measurements for the host this is the stats of.
- getMemtableFlushPeriodInMs() - Method in class com.datastax.driver.core.TableOptionsMetadata
- getMessage() - Method in exception com.datastax.driver.core.exceptions.ConnectionException
- getMetadata() - Method in class com.datastax.driver.core.Cluster
-
Returns read-only metadata on the connected cluster.
- getMetadata() - Method in class com.datastax.driver.core.DelegatingCluster
- getMetrics() - Method in class com.datastax.driver.core.Cluster
-
The cluster metrics.
- getMetrics() - Method in class com.datastax.driver.core.DelegatingCluster
- getMetricsOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the metrics configuration, if metrics are enabled.
- getMillisSinceEpoch() - Method in class com.datastax.driver.core.LocalDate
-
Returns the number of milliseconds since January 1st, 1970 GMT.
- getMinIndexInterval() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the minimum index interval option for this table.
- getMinor() - Method in class com.datastax.driver.core.VersionNumber
-
The minor version number.
- getMonth() - Method in class com.datastax.driver.core.LocalDate
-
Returns the month.
- 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() - 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() - Method in class com.datastax.driver.core.UserType.Field
-
Returns the name of the field.
- getName(int) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the name of the
ith column in this metadata. - getName(int) - Method in class com.datastax.driver.core.TupleValue
- getName(int) - Method in class com.datastax.driver.core.UDTValue
- 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.
- getNettyOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the
NettyOptionsinstance for this 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.
- getNowInSeconds() - Method in class com.datastax.driver.core.Statement
- getNowInSeconds() - Method in class com.datastax.driver.core.StatementWrapper
- getObject(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as the Java type matching its CQL type. - getObject(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as the Java type matching its CQL type. - getObject(int) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
Returns the
ith value as the Java type matching its CQL type. - getObject(int) - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the
ith positional value as the Java type matching its CQL type. - getObject(int, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
Returns the
ith value as the Java type matching its CQL type. - getObject(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas the Java type matching its CQL type. - getObject(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas the Java type matching its CQL type. - getObject(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas the Java type matching its CQL type. - getObject(String) - Method in class com.datastax.driver.core.SimpleStatement
-
Returns a named value as the Java type matching its CQL type.
- getOpenConnections() - Method in class com.datastax.driver.core.Metrics
-
Returns the total number of currently opened connections to Cassandra hosts.
- getOpenConnections(Host) - Method in interface com.datastax.driver.core.Session.State
-
The number of open connections to a given host.
- getOption(String) - Method in class com.datastax.driver.core.IndexMetadata
-
Return the value for the given option name.
- getOptions() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the options for this table.
- getOthers() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of requests that returned errors not accounted for by another metric.
- getOutgoingPayload() - Method in class com.datastax.driver.core.DefaultPreparedStatement
- getOutgoingPayload() - Method in interface com.datastax.driver.core.PreparedStatement
-
Return the outgoing payload currently associated with this statement.
- getOutgoingPayload() - Method in class com.datastax.driver.core.Statement
-
Returns this statement's outgoing payload.
- getOutgoingPayload() - Method in class com.datastax.driver.core.StatementWrapper
- getPagingState() - Method in class com.datastax.driver.core.ExecutionInfo
-
The paging state of the query.
- getPagingState() - Method in class com.datastax.driver.core.StatementWrapper
- getPagingStateUnsafe() - Method in class com.datastax.driver.core.ExecutionInfo
-
Returns the "raw" paging state of the query.
- getParameters() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the parameters attached to this trace.
- getParent() - Method in class com.datastax.driver.core.ColumnMetadata
-
Returns the parent object of this column.
- getPartitioner() - Method in class com.datastax.driver.core.BoundStatement
- getPartitioner() - Method in class com.datastax.driver.core.DefaultPreparedStatement
- getPartitioner() - Method in class com.datastax.driver.core.Metadata
-
The partitioner in use as reported by the Cassandra nodes.
- getPartitioner() - Method in interface com.datastax.driver.core.PreparedStatement
-
The partitioner for this prepared statement.
- getPartitioner() - Method in class com.datastax.driver.core.Statement
-
The partitioner for this query.
- 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.
- getPayloadInnerTuple() - Method in class com.datastax.driver.core.TabletMap
- getPayloadOuterTuple() - Method in class com.datastax.driver.core.TabletMap
- getPercentile() - Method in class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
-
The latency percentile a request must fall into to be considered slow, as specified at instantiation.
- getPercentileLatencyTracker() - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
-
Return the percentile tracker to use for recording per-host latency histograms.
- getPolicies() - Method in class com.datastax.driver.core.Configuration
-
Returns the policies set for the cluster.
- getPoolingOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the connection pooling configuration.
- getPoolPendingBorrows() - Method in exception com.datastax.driver.core.exceptions.OperationTimedOutException
-
Returns the number of requests waiting to acquire a connection from the pool at the time of the timeout, or
OperationTimedOutException.UNAVAILABLEif not available. - getPoolTimeoutMillis() - Method in class com.datastax.driver.core.PoolingOptions
-
Returns the timeout when trying to acquire a connection from a host's pool.
- getPoolTotalInFlight() - Method in exception com.datastax.driver.core.exceptions.OperationTimedOutException
-
Returns the total number of in-flight requests across all connections to the host at the time of the timeout, or
OperationTimedOutException.UNAVAILABLEif not available. - getPopulateIOCacheOnFlush() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Whether the populate I/O cache on flush is set on this table.
- getPort() - Method in class com.datastax.driver.core.ProtocolOptions
-
Returns the port used to connect to the Cassandra hosts.
- getPreparedId() - Method in class com.datastax.driver.core.DefaultPreparedStatement
- getPreparedId() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the prepared Id for this statement.
- getPreReleaseLabels() - Method in class com.datastax.driver.core.VersionNumber
-
The pre-release labels if relevant, i.e. label1 and label2 in X.Y.Z-label1-lable2.
- getPrimaryKey() - Method in class com.datastax.driver.core.AbstractTableMetadata
-
Returns the list of columns composing the primary key for this table.
- getProtocolFeatureStore() - Method in class com.datastax.driver.core.Host
- getProtocolOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the Cassandra binary protocol level configuration (compression).
- getProtocolVersion() - Method in class com.datastax.driver.core.ProtocolOptions
-
The protocol version used by the Cluster instance.
- getQueriedHost() - Method in class com.datastax.driver.core.ExecutionInfo
-
Return the Cassandra host that coordinated this query.
- getQueryKeyspace() - Method in class com.datastax.driver.core.DefaultPreparedStatement
- getQueryKeyspace() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the keyspace at the time that this prepared statement was prepared, (that is the one on which this statement applies unless it specified a keyspace explicitly).
- getQueryOptions() - Method in class com.datastax.driver.core.Configuration.Builder
- getQueryOptions() - Method in class com.datastax.driver.core.Configuration
-
Returns the queries configuration.
- getQueryString() - Method in class com.datastax.driver.core.DefaultPreparedStatement
- getQueryString() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns the string of the query that was prepared to yield this
PreparedStatement. - getQueryString() - Method in class com.datastax.driver.core.RegularStatement
-
Returns the query string for this statement.
- 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(CodecRegistry) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
- getQueryString(CodecRegistry) - Method in class com.datastax.driver.core.SimpleStatement
- getQueryTrace() - Method in class com.datastax.driver.core.ExecutionInfo
-
Return the query trace if tracing was enabled on this query.
- getQueryTraceAsync() - Method in class com.datastax.driver.core.ExecutionInfo
-
Placeholder for async query trace retrieval (not implemented yet).
- getRack() - Method in class com.datastax.driver.core.Host
-
Returns the name of the rack this host is part of.
- getReadRepair() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the read_repair option for this table.
- getReadRepairChance() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the chance with which a read repair is triggered for this table.
- getReadTimeoutMillis() - Method in class com.datastax.driver.core.SocketOptions
-
The per-host read timeout in milliseconds.
- getReadTimeoutMillis() - Method in class com.datastax.driver.core.Statement
-
Return the per-host read timeout that was set for this statement.
- getReadTimeoutMillis() - Method in class com.datastax.driver.core.StatementWrapper
- getReadTimeouts() - Method in class com.datastax.driver.core.Metrics.Errors
-
Returns the number of read requests that returned a timeout (independently of the final decision taken by the
RetryPolicy). - getReceiveBufferSize() - Method in class com.datastax.driver.core.SocketOptions
-
Returns the hint to the size of the underlying buffers for incoming network I/O.
- getReceivedAcknowledgements() - Method in exception com.datastax.driver.core.exceptions.QueryConsistencyException
-
The number of replicas that had acknowledged/responded to the operation before it failed.
- getReconnectionAttemptFuture() - Method in class com.datastax.driver.core.Host
-
Returns a
ListenableFuturerepresenting the completion of the reconnection attempts scheduled after a host is markedDOWN. - getReconnectionPolicy() - Method in class com.datastax.driver.core.policies.Policies
-
The reconnection policy in use.
- getReconnectionSchedulerQueueSize() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of queued up tasks in the
reconnection executor. - 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.
- getReplicaOrdering() - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
-
The strategy this policy uses to order the replicas of a query's partition, as specified at instantiation.
- getReplicas() - Method in class com.datastax.driver.core.TabletMap.Tablet
- getReplicas(String, Token.Factory, ByteBuffer) - Method in class com.datastax.driver.core.Metadata
-
Deprecated.
- getReplicas(String, TokenRange) - Method in class com.datastax.driver.core.Metadata
-
Deprecated.
- getReplicas(String, String, long) - Method in class com.datastax.driver.core.TabletMap
-
Finds hosts that have replicas for a given table and token combination.
- getReplicas(String, String, Token.Factory, ByteBuffer) - Method in class com.datastax.driver.core.Metadata
- getReplicasList(String, Token.Factory, ByteBuffer) - Method in class com.datastax.driver.core.Metadata
-
Returns the immutable list of hosts that are replica for a given partition key.
- getReplicasList(String, TokenRange) - Method in class com.datastax.driver.core.Metadata
-
Returns the list of hosts that are replica for a given token range.
- getReplicasList(String, String, Token.Factory, ByteBuffer) - Method in class com.datastax.driver.core.Metadata
-
Extension of legacy method
Metadata.getReplicas(String, Token.Factory, ByteBuffer). - 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).
- 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() - 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.BatchStatement
- getRoutingKey(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.BoundStatement
-
The routing key for this bound 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
- getRoutingStatement(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.BatchStatement
-
Returns the first statement in this batch that provides a routing key for the given protocol version and codec registry.
- 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.
- getScyllaAlternatorTags() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the DynamoDB tags associated with this table if this is a valid Scylla Alternator table or @{code null} otherwise.
- getScyllaCDCOptions() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the options of Scylla Change Data Capture (CDC) for this table or @{code null} if CDC is disabled on this table.
- getScyllaEncryptionOptions() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns the options of Scylla Encryption at Rest for this table or @{code null} if Scylla Encryption at Rest is disabled on this table.
- 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
-
Returns the default serial consistency level set through
PreparedStatement.setSerialConsistencyLevel(com.datastax.driver.core.ConsistencyLevel). - 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.
- getSet(int, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a set. - getSet(int, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a set. - getSet(int, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a set. - getSet(int, Class<T>) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a set. - getSet(String, TypeToken<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a set. - getSet(String, TypeToken<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a set. - getSet(String, TypeToken<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a set. - getSet(String, Class<T>) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a set. - getSet(String, Class<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a set. - getSet(String, Class<T>) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a set. - getShard() - Method in class com.datastax.driver.core.TabletMap.HostShardPair
- getShardAwarenessInfo() - Method in class com.datastax.driver.core.Metrics
- getShardAwarePort(boolean) - Method in class com.datastax.driver.core.ShardingInfo
- getShardForTabletToken(String, String, Token.TokenLong64, Host) - Method in class com.datastax.driver.core.Metadata
- getShardingInfo() - Method in class com.datastax.driver.core.Host
- getShardsCount() - Method in class com.datastax.driver.core.ShardingInfo
- getShort(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a short. - getShort(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a short. - getShort(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a short. - getShort(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a short. - getShort(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas 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.
- getSkipCQL4MetadataResolveMethod() - Method in class com.datastax.driver.core.QueryOptions
-
Skip metadata resolve method .
- 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
-
Deprecated.This is exposed mainly for historical reasons. Internally, the driver uses
Host.getEndPoint()to establish connections. This is a shortcut forgetEndPoint().resolve(). - 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
SSLOptionsused by this cluster. - getStart() - Method in class com.datastax.driver.core.TokenRange
-
Return the start of the range.
- getStartedAt() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the server-side timestamp of the start of this query.
- getState() - Method in class com.datastax.driver.core.Host
-
Returns a description of the host's state, as seen by the driver.
- getState() - Method in interface com.datastax.driver.core.Session
-
Return a snapshot of the state of this Session.
- getStateFunc() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the state function of this aggregate.
- getStatement() - Method in class com.datastax.driver.core.ExecutionInfo
-
Get the statement that has been executed.
- getStatements() - Method in class com.datastax.driver.core.BatchStatement
-
The statements that have been added to this batch so far.
- getStateType() - Method in class com.datastax.driver.core.AggregateMetadata
-
Returns the state type of this aggregate.
- getStats(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot
-
The
Statsobject for a given host. - getStreamId() - Method in exception com.datastax.driver.core.exceptions.FrameTooLongException
- getString(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a string. - getString(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a string. - getString(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a string. - getString(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a string. - getString(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas 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() - 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(int) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the table of the
ith column in this metadata. - getTable(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the table of first occurrence of
namein this metadata. - 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.
- getTableName() - Method in class com.datastax.driver.core.TabletMap.KeyspaceTableNamePair
- getTables() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns the tables defined in this keyspace.
- getTabletMap() - Method in class com.datastax.driver.core.Metadata
-
Getter for current
TabletMap. - getTabletPayloadCodec() - Method in class com.datastax.driver.core.TabletMap
- getTarget() - Method in class com.datastax.driver.core.IndexMetadata
-
Returns the index target.
- getTaskSchedulerQueueSize() - Method in class com.datastax.driver.core.Metrics
-
Returns the number of queued up tasks in the
scheduled tasks executor. - 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(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a long in nanoseconds since midnight. - getTime(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a long in nanoseconds since midnight. - getTime(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a long in nanoseconds since midnight. - getTime(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a long in nanoseconds since midnight. - getTime(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a long in nanoseconds since midnight. - getTimestamp() - Method in class com.datastax.driver.core.QueryTrace.Event
-
Returns the server side timestamp of the event.
- getTimestamp(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a date. - getTimestamp(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a date. - getTimestamp(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a date. - getTimestamp(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a date. - getTimestamp(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a date. - getTimestampGenerator() - Method in class com.datastax.driver.core.policies.Policies
-
The timestamp generator to use.
- getToken(int) - Method in interface com.datastax.driver.core.Row
-
Returns the
ith value of this row as aToken. - getToken(String) - Method in interface com.datastax.driver.core.Row
-
Returns the value of column
nameas aToken. - getTokenRanges() - Method in class com.datastax.driver.core.Metadata
-
Returns the token ranges that define data distribution in the ring.
- getTokenRanges(String, Host) - Method in class com.datastax.driver.core.Metadata
-
Returns the token ranges that are replicated on the given host, for the given keyspace.
- getTokens() - Method in class com.datastax.driver.core.Host
-
Returns the tokens that this host owns.
- getTraceId() - Method in class com.datastax.driver.core.QueryTrace
-
Returns the identifier of this trace.
- getTrashedConnections() - Method in class com.datastax.driver.core.Metrics
-
Returns the total number of currently "trashed" connections to Cassandra hosts.
- getTrashedConnections(Host) - Method in interface com.datastax.driver.core.Session.State
-
The number of "trashed" connections to a given host.
- getTriedHosts() - Method in class com.datastax.driver.core.ExecutionInfo
-
The list of tried hosts for this query.
- getTupleValue(int) - Method in class com.datastax.driver.core.BoundStatement
-
Return the
ith value as a tuple value. - getTupleValue(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Return the
ith value as a tuple value. - getTupleValue(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Return the value for
nameas a tuple value. - getTupleValue(String) - Method in class com.datastax.driver.core.BoundStatement
-
Return the value for
nameas a tuple value. - getTupleValue(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Return the value for
nameas a tuple value. - getType() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
-
Returns the type of the column.
- 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() - Method in class com.datastax.driver.core.TupleValue
-
The tuple type this is a value of.
- 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(int) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the type of the
ith column in this metadata. - getType(int) - Method in class com.datastax.driver.core.TupleValue
- getType(int) - Method in class com.datastax.driver.core.UDTValue
- getType(String) - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the type of the first occurrence of
namein this metadata. - getTypeArguments() - Method in class com.datastax.driver.core.DataType.CollectionType
- getTypeArguments() - Method in class com.datastax.driver.core.DataType
-
Returns the type arguments of this type.
- getTypeName() - Method in class com.datastax.driver.core.UserType
-
The name of this user type.
- getUDTValue(int) - Method in class com.datastax.driver.core.BoundStatement
-
Return the
ith value as a UDT value. - getUDTValue(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Return the
ith value as a UDT value. - getUDTValue(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Return the value for
nameas a UDT value. - getUDTValue(String) - Method in class com.datastax.driver.core.BoundStatement
-
Return the value for
nameas a UDT value. - getUDTValue(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Return the value for
nameas 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.
- getUsedHostsPerRemoteDc() - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
-
The number of hosts per remote datacenter that this policy considers for failover (0 means no remote failover).
- 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(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a UUID. - getUUID(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a UUID. - getUUID(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a UUID. - getUUID(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a UUID. - getUUID(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas a UUID. - getValue() - Method in class com.datastax.driver.core.Token
-
Returns the raw value of this token.
- getValueNames() - Method in class com.datastax.driver.core.SimpleStatement
-
Returns the names of the named values of this statement.
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.Batch
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.RegularStatement
-
The positional values to use for this statement.
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
- getValues(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.SimpleStatement
- getVariables() - Method in class com.datastax.driver.core.DefaultPreparedStatement
- getVariables() - Method in interface com.datastax.driver.core.PreparedStatement
-
Returns metadata on the bounded variables of this prepared statement.
- getVarint(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the
ith value as a variable length integer. - getVarint(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns the
ith value as a variable length integer. - getVarint(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns the value for
nameas a variable length integer. - getVarint(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the value for
nameas a variable length integer. - getVarint(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns the value for
nameas 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.
- getWhiteListedDatacenters() - Method in class com.datastax.driver.core.policies.HostFilterPolicy
-
The datacenters this policy restricts the session to, or an empty set if that is not something it can say.
- 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.
- groupBy(Object...) - Method in class com.datastax.driver.core.querybuilder.Select
-
Adds a
GROUP BYclause to this statement. - groupBy(Object...) - Method in class com.datastax.driver.core.querybuilder.Select.Where
-
Adds a
GROUP BYclause to this statement. - gt(Iterable<String>, Iterable<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "greater than"
WHEREclause for a group of clustering columns. - gt(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "greater than"
WHEREclause stating the provided column must be greater to the provided value. - gte(Iterable<String>, Iterable<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "greater than or equal"
WHEREclause 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"
WHEREclause stating the provided column must be greater than or equal to the provided value.
H
- hashCode() - Method in class com.datastax.driver.core.AggregateMetadata
- hashCode() - Method in class com.datastax.driver.core.ColumnDefinitions.Definition
- hashCode() - Method in class com.datastax.driver.core.ColumnMetadata
- hashCode() - Method in class com.datastax.driver.core.DataType.CollectionType
- hashCode() - Method in class com.datastax.driver.core.DataType.CustomType
- hashCode() - Method in class com.datastax.driver.core.DataType.NativeType
- hashCode() - Method in class com.datastax.driver.core.Duration
- hashCode() - Method in class com.datastax.driver.core.FunctionMetadata
- hashCode() - Method in class com.datastax.driver.core.Host
- hashCode() - Method in class com.datastax.driver.core.IndexMetadata
- hashCode() - Method in class com.datastax.driver.core.KeyspaceMetadata
- hashCode() - Method in class com.datastax.driver.core.LocalDate
- hashCode() - Method in class com.datastax.driver.core.MaterializedViewMetadata
- hashCode() - Method in class com.datastax.driver.core.QueryOptions
- hashCode() - Method in class com.datastax.driver.core.SniEndPoint
- hashCode() - Method in class com.datastax.driver.core.TableMetadata
- hashCode() - Method in class com.datastax.driver.core.TableOptionsMetadata
- hashCode() - Method in class com.datastax.driver.core.TabletMap.KeyspaceTableNamePair
- hashCode() - Method in class com.datastax.driver.core.TabletMap.Tablet
- hashCode() - Method in class com.datastax.driver.core.TokenRange
- hashCode() - Method in class com.datastax.driver.core.TupleType
- hashCode() - Method in class com.datastax.driver.core.TupleValue
- hashCode() - Method in class com.datastax.driver.core.UDTValue
- hashCode() - Method in class com.datastax.driver.core.UserType.Field
- hashCode() - Method in class com.datastax.driver.core.UserType
- hashCode() - Method in class com.datastax.driver.core.VersionNumber
- hashCode(Object...) - Static method in class com.datastax.driver.core.utils.MoreObjects
- hasValues() - Method in class com.datastax.driver.core.RegularStatement
-
Whether or not this statement has values, that is if
getValueswill returnnullor not. - hasValues(CodecRegistry) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
- hasValues(CodecRegistry) - Method in class com.datastax.driver.core.RegularStatement
-
Whether or not this statement has values, that is if
getValueswill returnnullor not. - hasValues(CodecRegistry) - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
- hasValues(CodecRegistry) - Method in class com.datastax.driver.core.SimpleStatement
- highestTrackableLatencyMillis - Variable in class com.datastax.driver.core.PercentileTracker.Builder
- Host - Class in com.datastax.driver.core
-
A Cassandra node.
- Host.LifecycleAwareStateListener - Interface in com.datastax.driver.core
-
A
StateListenerthat tracks when it gets registered or unregistered with a cluster. - Host.StateListener - Interface in com.datastax.driver.core
-
Interface for listeners that are interested in hosts added, up, down and removed events.
- HostDistance - Enum in com.datastax.driver.core
-
The distance to a Cassandra node as assigned by a
LoadBalancingPolicy(through itsdistancemethod). - HostFilterPolicy - Class in com.datastax.driver.core.policies
-
A load balancing policy wrapper that ensures that only hosts matching the predicate will ever be returned.
- HostFilterPolicy(LoadBalancingPolicy, Predicate<Host>) - Constructor for class com.datastax.driver.core.policies.HostFilterPolicy
-
Create a new policy that wraps the provided child policy but only "allows" hosts matching the predicate.
- hostMetricName(String, Host) - Static method in class com.datastax.driver.core.MetricsUtil
- HostShardPair(UUID, int) - Constructor for class com.datastax.driver.core.TabletMap.HostShardPair
- HOURS - com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.CompactionWindowUnit
I
- id - Variable in class com.datastax.driver.core.AbstractTableMetadata
- IdempotenceAwareRetryPolicy - Class in com.datastax.driver.core.policies
-
Deprecated.As of version 3.1.0, the driver doesn't retry non-idempotent statements for write timeouts or unexpected errors anymore. It is no longer necessary to wrap your retry policies in this policy.
- 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
-
The default
AddressTranslatorused by the driver that do no translation. - 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 - Variable in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
- ifNotExists() - Method in class com.datastax.driver.core.querybuilder.Insert
-
Sets the 'IF NOT EXISTS' option for this
INSERTstatement. - 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
- ignore() - Static method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
-
Creates an
RetryPolicy.RetryDecision.Type.IGNOREretry decision. - IGNORE - com.datastax.driver.core.policies.RetryPolicy.RetryDecision.Type
- IGNORED - com.datastax.driver.core.HostDistance
- 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(Iterable<String>, Iterable<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates an "in"
WHEREclause for a group of clustering columns (a.k.a. - in(String, Iterable<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Create an "in"
WHEREclause stating the provided column must be equal to one of the provided values. - in(String, Object...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Create an "in"
WHEREclause stating the provided column must be equal to one of the provided values. - 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. - INET - com.datastax.driver.core.DataType.Name
- init() - Method in class com.datastax.driver.core.Cluster
-
Initialize this Cluster instance.
- init() - Method in class com.datastax.driver.core.DelegatingCluster
- 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.DefaultEndPointFactory
- init(Cluster) - Method in interface com.datastax.driver.core.EndPointFactory
- 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) - 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) - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
- init(Cluster) - Method in class com.datastax.driver.core.policies.FallthroughRetryPolicy
- 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) - 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) - Method in interface com.datastax.driver.core.policies.SpeculativeExecutionPolicy
-
Gets invoked at cluster startup.
- init(Cluster) - Method in class com.datastax.driver.core.SniEndPointFactory
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
-
Initialize this load balancing policy.
- 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, Collection<Host>) - Method in class com.datastax.driver.core.policies.PagingOptimizingLoadBalancingPolicy
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
- init(Cluster, Collection<Host>) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
- initAsync() - Method in interface com.datastax.driver.core.Session
-
Initialize this session asynchronously.
- initialResponse() - Method in interface com.datastax.driver.core.Authenticator
-
Obtain an initial response token for initializing the SASL handshake
- Insert - Class in com.datastax.driver.core.querybuilder
-
A built
INSERTstatement. - Insert.Options - Class in com.datastax.driver.core.querybuilder
-
The options of an
INSERTstatement. - insertInto(TableMetadata) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new
INSERTquery. - insertInto(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new
INSERTquery. - insertInto(String, String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new
INSERTquery. - 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.
- INT - com.datastax.driver.core.DataType.Name
- 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(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
- InvalidQueryException(EndPoint, String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
- InvalidQueryException(String) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
- InvalidQueryException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.InvalidQueryException
- InvalidTypeException - Exception in com.datastax.driver.core.exceptions
-
Thrown when a
TypeCodecis 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
- 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
trueif 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.
- 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 STORAGEoption. - isCompatibleWith(DataType.Name) - Method in enum com.datastax.driver.core.DataType.Name
-
Return
trueif the provided Name is equal to this one, or if they are aliases for each other, andfalseotherwise. - isConsistencySet() - Method in class com.datastax.driver.core.QueryOptions
- 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.
- isDoubleQuoted(String) - Static method in class com.datastax.driver.core.ParseUtils
-
Return
trueif the given string is surrounded by double quotes, andfalseotherwise. - isDriverConfigReportingEnabled() - Method in class com.datastax.driver.core.Configuration
-
Whether driver configuration reporting is enabled, i.e. whether the control connection sends a
DRIVER_CONFIGJSON blob describing the effective driver configuration in its startup options. - isDseGraphEnabled() - Method in class com.datastax.driver.core.Host
-
Deprecated.Please use the Java Driver for DSE if you are connecting to a DataStax Enterprise (DSE) cluster. This method might not function properly with future versions of DSE.
- isDurableWrites() - Method in class com.datastax.driver.core.KeyspaceMetadata
-
Returns whether durable writes are set on this keyspace.
- 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.
- isEnabled() - Method in class com.datastax.driver.core.TabletInfo
- isExhausted() - Method in interface com.datastax.driver.core.PagingIterable
-
Returns whether this result set has more results.
- 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.
- isGetpidAvailable() - Static method in class com.datastax.driver.core.Native
-
Returns
trueif JNR POSIX library is loaded and a call togetpidis possible through this library on this system, andfalseotherwise. - isGettimeofdayAvailable() - Static method in class com.datastax.driver.core.Native
-
Returns
trueif JNR C library is loaded and a call togettimeofdayis possible through this library on this system, andfalseotherwise. - 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. whether it can be applied multiple times without changing the result beyond the initial application.
- isIdempotent() - Method in interface com.datastax.driver.core.PreparedStatement
-
Whether this statement is idempotent, i.e. whether it can be applied multiple times without changing the result beyond the initial application.
- 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. whether it can be applied multiple times without changing the result beyond the initial application.
- isIdempotent() - Method in class com.datastax.driver.core.StatementWrapper
- isIdempotent(Statement) - Method in class com.datastax.driver.core.policies.IdempotenceAwareRetryPolicy
-
Deprecated.Determines whether the given statement is idempotent or not.
- isIdempotentWithDefault(QueryOptions) - Method in class com.datastax.driver.core.StatementWrapper
- isIdentifierChar(int) - Static method in class com.datastax.driver.core.ParseUtils
-
Return
trueif the given character is allowed in a CQL identifier, that is, if it is in the range:[0..9a..zA..Z-+._&]. - isJMXReportingEnabled() - Method in class com.datastax.driver.core.MetricsOptions
-
Returns whether JMX reporting is enabled.
- isLocalDcExplicit() - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
-
Whether the local datacenter was configured explicitly (as opposed to being inferred from the first contacted node).
- isLocalDcExplicit() - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
-
Whether the local datacenter was configured explicitly (as opposed to being inferred from the first contacted node).
- isLocalRackExplicit() - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
-
Whether the local rack was configured explicitly (as opposed to being inferred from the first contacted node).
- isLongLiteral(String) - Static method in class com.datastax.driver.core.ParseUtils
-
Check whether the given string corresponds to a valid CQL long literal.
- isLwt(int) - Method in class com.datastax.driver.core.LwtInfo
- isLWT() - Method in class com.datastax.driver.core.BoundStatement
- isLWT() - Method in class com.datastax.driver.core.DefaultPreparedStatement
-
Whether a prepared statement is LWT statement
- isLWT() - Method in interface com.datastax.driver.core.PreparedStatement
-
Whether a prepared statement is LWT statement
- isLWT() - Method in class com.datastax.driver.core.Statement
- isMetadataEnabled() - Method in class com.datastax.driver.core.QueryOptions
-
Whether client-side token and schema metadata is enabled.
- isNoCompact() - Method in class com.datastax.driver.core.ProtocolOptions
- isNull(int) - Method in class com.datastax.driver.core.BoundStatement
-
Returns whether the
ith value is NULL. - isNull(int) - Method in interface com.datastax.driver.core.GettableByIndexData
-
Returns whether the
ith value is NULL. - isNull(String) - Method in class com.datastax.driver.core.AbstractGettableData
-
Returns whether the value for
nameis NULL. - isNull(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns whether the value for
nameis NULL. - isNull(String) - Method in interface com.datastax.driver.core.GettableByNameData
-
Returns whether the value for
nameis NULL. - 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
trueif the given string is surrounded by single quotes, andfalseotherwise. - 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.
- isSchemaQueriesPaged() - Method in class com.datastax.driver.core.QueryOptions
-
Whether schema queries are using paging.
- isScyllaCDC() - Method in class com.datastax.driver.core.TableOptionsMetadata
-
Returns whether or not Scylla change data capture is enabled for this table.
- 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
ith variable has been bound. - isSet(String) - Method in class com.datastax.driver.core.BoundStatement
-
Returns whether the first occurrence of variable
namehas been bound. - isShardingSupported() - Method in enum com.datastax.driver.core.ProtocolVersion
- isSkipMetadata() - Method in class com.datastax.driver.core.DefaultPreparedStatement
- isStatic() - Method in class com.datastax.driver.core.ColumnMetadata
-
Whether this column is a static column.
- isSupportedBy(ProtocolVersion) - Method in class com.datastax.driver.core.ProtocolFeatures.Feature
-
Determines whether the input version supports ths feature.
- isSupportedBy(ProtocolVersion, ProtocolFeatureStore) - Method in class com.datastax.driver.core.ProtocolFeatures.Feature
-
Determines whether the input version supports ths feature.
- 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. if BoundStatement created from it will use tracing by default.
- 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
- isUp() - Method in class com.datastax.driver.core.Host
-
Returns whether the host is considered up by the driver.
- isUseAdvancedShardAwareness() - Method in class com.datastax.driver.core.ProtocolOptions
- isUseMetadataId() - Method in class com.datastax.driver.core.ProtocolFeatureStore
- 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
-
Returns an iterator over the
ColumnDefinitions.Definitioncontained in this metadata. - 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.
J
- javaType - Variable in class com.datastax.driver.core.TypeCodec
- JdkSSLOptions - Class in com.datastax.driver.core
-
Deprecated.Use
RemoteEndpointAwareJdkSSLOptionsinstead. - JdkSSLOptions(SSLContext, String[]) - Constructor for class com.datastax.driver.core.JdkSSLOptions
-
Deprecated.Creates a new instance.
- JdkSSLOptions.Builder - Class in com.datastax.driver.core
-
Deprecated.Helper class to build JDK-based SSL options.
- json() - Method in class com.datastax.driver.core.querybuilder.Select.Builder
-
Uses JSON selection.
- json() - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Uses JSON selection.
- json(Object) - Method in class com.datastax.driver.core.querybuilder.Insert
-
Inserts the provided object, using the
INSERT INTO ... JSONsyntax introduced in Cassandra 2.2.
K
- keyCodec - Variable in class com.datastax.driver.core.TypeCodec.AbstractMapCodec
- KEYS - com.datastax.driver.core.IndexMetadata.Kind
- KEYS_ONLY - com.datastax.driver.core.schemabuilder.SchemaBuilder.Caching
- keyspace - Variable in class com.datastax.driver.core.AbstractTableMetadata
- KeyspaceMetadata - Class in com.datastax.driver.core
-
Describes a keyspace defined in this cluster.
- keyspaceName - Variable in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
- KeyspaceOptions - Class in com.datastax.driver.core.schemabuilder
-
The keyspace options used in CREATE KEYSPACE or ALTER KEYSPACE statements.
- KeyspaceOptions(String, String) - Constructor for class com.datastax.driver.core.schemabuilder.KeyspaceOptions
- KeyspaceTableNamePair(String, String) - Constructor for class com.datastax.driver.core.TabletMap.KeyspaceTableNamePair
- KS_NAME - Static variable in class com.datastax.driver.core.KeyspaceMetadata
L
- lastUpdatedSince() - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
-
The number of nanoseconds since the last latency update was recorded (at the time of the snapshot).
- LatencyAwarePolicy - Class in com.datastax.driver.core.policies
-
A wrapper load balancing policy that adds latency awareness to a child policy.
- LatencyAwarePolicy.Builder - Class in com.datastax.driver.core.policies
-
Helper builder object to create a latency aware policy.
- LatencyAwarePolicy.Snapshot - Class in com.datastax.driver.core.policies
-
An immutable snapshot of the per-host scores (and stats in general) maintained by
LatencyAwarePolicyto base its decision upon. - LatencyAwarePolicy.Snapshot.Stats - Class in com.datastax.driver.core.policies
-
A snapshot of the statistics on a given host kept by
LatencyAwarePolicy. - LatencyTracker - Interface in com.datastax.driver.core
-
Interface for objects that are interested in tracking the latencies of the driver queries to each Cassandra nodes.
- LEVELED - com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.Strategy
- leveledStrategy() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create options for the leveled compaction strategy, to use in a CREATE or ALTER TABLE statement.
- like(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "like"
WHEREclause stating that the provided column must be equal to the provided value. - limit(int) - Method in class com.datastax.driver.core.querybuilder.Select
-
Adds a
LIMITclause to this statement. - limit(int) - Method in class com.datastax.driver.core.querybuilder.Select.Where
-
Adds a
LIMITclause to theSELECTstatement thisWHEREclause is part of. - limit(BindMarker) - Method in class com.datastax.driver.core.querybuilder.Select
-
Adds a prepared
LIMITclause to this statement. - limit(BindMarker) - Method in class com.datastax.driver.core.querybuilder.Select.Where
-
Adds a bind marker for the
LIMITclause to theSELECTstatement thisWHEREclause is part of. - list(DataType) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of "not frozen" lists of
elementTypeelements. - list(DataType, boolean) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of lists of
elementTypeelements. - list(TypeCodec<T>) - Static method in class com.datastax.driver.core.TypeCodec
-
Return a newly-created codec for the CQL type
listwhose element type is determined by the given element codec. - LIST - com.datastax.driver.core.DataType.Name
- listElt(String, int) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
-
Deletes the provided list element.
- listElt(String, BindMarker) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
-
Deletes the provided list element, specified as a bind marker.
- listOf(TypeToken<T>) - Static method in class com.datastax.driver.core.TypeTokens
- listOf(Class<T>) - Static method in class com.datastax.driver.core.TypeTokens
- LoadBalancingPolicy - Interface in com.datastax.driver.core.policies
-
The policy that decides which Cassandra hosts to contact for each new query.
- loadFromChannel(Channel) - Static method in class com.datastax.driver.core.ProtocolFeatureStore
- LOCAL - com.datastax.driver.core.HostDistance
- LOCAL_ONE - com.datastax.driver.core.ConsistencyLevel
- LOCAL_QUORUM - com.datastax.driver.core.ConsistencyLevel
- LOCAL_SERIAL - com.datastax.driver.core.ConsistencyLevel
- LocalDate - Class in com.datastax.driver.core
-
A date with no time components, no time zone, in the ISO 8601 calendar.
- logDecision(String, Object...) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
-
Logs the decision according to the given template and parameters.
- logDriverVersion() - Static method in class com.datastax.driver.core.Cluster
-
Logs the driver version to the console.
- LOGGED - com.datastax.driver.core.BatchStatement.Type
-
A logged batch: Cassandra will first write the batch to its distributed batch log to ensure the atomicity of the batch (atomicity meaning that if any statement in the batch succeeds, all will eventually succeed).
- LoggingMonotonicTimestampGenerator - Class in com.datastax.driver.core
-
A monotonic timestamp generator that logs warnings when timestamps drift in the future (see this class's constructors and
LoggingMonotonicTimestampGenerator.onDrift(long, long)for more information). - LoggingMonotonicTimestampGenerator(long, TimeUnit, long, TimeUnit) - Constructor for class com.datastax.driver.core.LoggingMonotonicTimestampGenerator
-
Creates a new instance.
- LoggingRetryPolicy - Class in com.datastax.driver.core.policies
-
A retry policy that wraps another policy, logging the decision made by its sub-policy.
- LoggingRetryPolicy(RetryPolicy) - Constructor for class com.datastax.driver.core.policies.LoggingRetryPolicy
-
Creates a new
RetryPolicythat logs the decision ofpolicy. - logQuery(Statement, Exception, Logger, String) - Method in class com.datastax.driver.core.QueryLogger
- lt(Iterable<String>, Iterable<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "lesser than"
WHEREclause for a group of clustering columns. - lt(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "lesser than"
WHEREclause stating the provided column must be less than the provided value. - lte(Iterable<String>, Iterable<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "lesser than or equal"
WHEREclause for a group of clustering columns. - lte(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "lesser than or equal"
WHEREclause stating the provided column must be lesser than or equal to the provided value. - LwtInfo - Class in com.datastax.driver.core
- lz4() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create options for the LZ4 compression strategy, to use in a CREATE or ALTER TABLE statement.
- LZ4 - com.datastax.driver.core.ProtocolOptions.Compression
-
LZ4 compression
- LZ4 - com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions.Algorithm
M
- malformedTablet(long) - Static method in class com.datastax.driver.core.TabletMap.Tablet
-
Creates a
TabletMap.Tabletinstance with givenlastToken, identicalfirstTokenand unspecified other fields. - map(DataType, DataType) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of "not frozen" maps of
keyTypetovalueTypeelements. - map(DataType, DataType, boolean) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of maps of
keyTypetovalueTypeelements. - map(TypeCodec<K>, TypeCodec<V>) - Static method in class com.datastax.driver.core.TypeCodec
-
Return a newly-created codec for the CQL type
mapwhose key type and value type are determined by the given codecs. - MAP - com.datastax.driver.core.DataType.Name
- mapElt(String, Object) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
-
Deletes a map element given a key.
- MapExtensionReader - Class in com.datastax.driver.core
- MapExtensionReader(ByteBuffer) - Constructor for class com.datastax.driver.core.MapExtensionReader
- mapOf(TypeToken<K>, TypeToken<V>) - Static method in class com.datastax.driver.core.TypeTokens
- mapOf(Class<K>, Class<V>) - Static method in class com.datastax.driver.core.TypeTokens
- MaterializedViewMetadata - Class in com.datastax.driver.core
-
An immutable representation of a materialized view.
- max(Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a
max(x)built-in function call. - max(Object) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Creates a
max(x)built-in function call. - max(Object) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- MAX_POOL_LOCAL_KEY - Static variable in class com.datastax.driver.core.PoolingOptions
- MAX_POOL_REMOTE_KEY - Static variable in class com.datastax.driver.core.PoolingOptions
- MAX_REQUESTS_PER_CONNECTION_LOCAL_KEY - Static variable in class com.datastax.driver.core.PoolingOptions
- MAX_REQUESTS_PER_CONNECTION_REMOTE_KEY - Static variable in class com.datastax.driver.core.PoolingOptions
- maxIndexInterval(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the maximum index interval for Cassandra 2.1.
- maxLoggedParameters - Variable in class com.datastax.driver.core.QueryLogger
- maxParameterValueLength - Variable in class com.datastax.driver.core.QueryLogger
- maxQueryStringLength - Variable in class com.datastax.driver.core.QueryLogger
- maxReadsPerSecond(int) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Sets rate limit for read operations in table option "per_partition_rate_limit".
- maxSSTableAgeDays(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions
-
Stop compacting SSTables only having data older than these specified days.
- maxThreshold(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions
-
Sets the maximum number of SSTables to allow in a minor compaction.
- maxThreshold(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions
-
Sets the maximum number of SSTables to allow in a minor compaction.
- maxThreshold(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions
-
Sets the maximum number of SSTables to allow in a minor compaction.
- maxWritesPerSecond(int) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Sets rate limit for write operations in table option "per_partition_rate_limit".
- maybeLogErrorQuery(Host, Statement, Exception, long) - Method in class com.datastax.driver.core.QueryLogger
- maybeLogNormalOrSlowQuery(Host, Statement, long) - Method in class com.datastax.driver.core.QueryLogger.ConstantThresholdQueryLogger
- maybeLogNormalOrSlowQuery(Host, Statement, long) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
- maybeLogNormalOrSlowQuery(Host, Statement, long) - Method in class com.datastax.driver.core.QueryLogger
- maybeLogNormalQuery(Host, Statement, long) - Method in class com.datastax.driver.core.QueryLogger
- maybeLogSlowQuery(Host, Statement, long) - Method in class com.datastax.driver.core.QueryLogger.ConstantThresholdQueryLogger
- maybeLogSlowQuery(Host, Statement, long, long) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
- memtableFlushPeriodInMillis(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the memtable flush period.
- mergeWith(TokenRange) - Method in class com.datastax.driver.core.TokenRange
-
Merges this range with another one.
- Metadata - Class in com.datastax.driver.core
-
Keeps metadata on the connected cluster, including known nodes and schema definitions.
- MetadataIdInfo - Class in com.datastax.driver.core
- MetadataIdInfo() - Constructor for class com.datastax.driver.core.MetadataIdInfo
- Metrics - Class in com.datastax.driver.core
-
Metrics exposed by the driver.
- Metrics.Errors - Class in com.datastax.driver.core
-
Metrics on errors encountered.
- MetricsOptions - Class in com.datastax.driver.core
-
Metricsoptions. - MetricsOptions() - Constructor for class com.datastax.driver.core.MetricsOptions
-
Creates a new
MetricsOptionsobject with default values (metrics enabled, JMX reporting enabled). - MetricsOptions(boolean, boolean) - Constructor for class com.datastax.driver.core.MetricsOptions
-
Creates a new
MetricsOptionsobject. - MetricsUtil - Class in com.datastax.driver.core
- MetricsUtil() - Constructor for class com.datastax.driver.core.MetricsUtil
- MICROSECONDS - com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution
- MICROSECONDS - com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.TimeStampResolution
- MILLISECONDS - com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution
- MILLISECONDS - com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.TimeStampResolution
- millisecs(int) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create the speculative retry strategy that retries after a given delay, to use in a CREATE or ALTER TABLE statement.
- min(Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a
min(x)built-in function call. - min(Object) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Creates a
min(x)built-in function call. - min(Object) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- minIndexInterval(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the minimum index interval for Cassandra 2.1.
- minRecordedValues - Variable in class com.datastax.driver.core.PercentileTracker.Builder
- minSSTableSizeInBytes(Long) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions
-
The SizeTieredCompactionStrategy groups SSTables for compaction into buckets.
- minSSTableSizeInBytes(Long) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions
-
Size-tiered compaction strategy (STCS) is used in the newest window, this method sets the minSSTableSize value used in STCS.
- minThreshold(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions
-
Sets the minimum number of SSTables to trigger a minor compaction
- minThreshold(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions
-
Sets the minimum number of SSTables to trigger a minor compaction
- minThreshold(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions
-
Sets the minimum number of SSTables to trigger a minor compaction
- MINUTES - com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.CompactionWindowUnit
- MoreFutures - Class in com.datastax.driver.core.utils
-
Helpers to work with Guava's
ListenableFuture. - MoreFutures() - Constructor for class com.datastax.driver.core.utils.MoreFutures
- MoreFutures.FailureCallback<V> - Class in com.datastax.driver.core.utils
-
A
FutureCallbackthat does nothing on success. - MoreFutures.SuccessCallback<V> - Class in com.datastax.driver.core.utils
-
A
FutureCallbackthat does nothing on failure. - MoreObjects - Class in com.datastax.driver.core.utils
-
Driver-specific implementation of utility object methods.
- MoreObjects() - Constructor for class com.datastax.driver.core.utils.MoreObjects
N
- name - Variable in class com.datastax.driver.core.AbstractTableMetadata
- name - Variable in class com.datastax.driver.core.DataType
- Native - Class in com.datastax.driver.core
-
Helper class to deal with native system calls through the JNR library.
- Native() - Constructor for class com.datastax.driver.core.Native
- ne(Iterable<String>, Iterable<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates an "not equal"
WHEREclause for a group of clustering columns. - ne(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a "not equal"
WHEREclause stating the provided column must be different from the provided value. - NettyOptions - Class in com.datastax.driver.core
-
A set of hooks that allow clients to customize the driver's underlying Netty layer.
- NettyOptions() - Constructor for class com.datastax.driver.core.NettyOptions
- NettySSLOptions - Class in com.datastax.driver.core
-
Deprecated.Use
RemoteEndpointAwareNettySSLOptionsinstead. - NettySSLOptions(SslContext) - Constructor for class com.datastax.driver.core.NettySSLOptions
-
Deprecated.Create a new instance from a given context.
- NEUTRAL - com.datastax.driver.core.policies.TokenAwarePolicy.ReplicaOrdering
-
Return the replicas in the exact same order in which they appear in the child policy's query plan.
- NEW_CONNECTION_THRESHOLD_LOCAL_KEY - Static variable in class com.datastax.driver.core.PoolingOptions
- NEW_CONNECTION_THRESHOLD_REMOTE_KEY - Static variable in class com.datastax.driver.core.PoolingOptions
- newAuthenticator(EndPoint, String) - Method in interface com.datastax.driver.core.ExtendedAuthProvider
-
The
Authenticatorto use when connecting toendpoint. - newAuthenticator(EndPoint, String) - Method in class com.datastax.driver.core.ExtendedAuthProvider.NoAuthProvider
- newAuthenticator(EndPoint, String) - Method in class com.datastax.driver.core.PlainTextAuthProvider
-
Uses the supplied credentials and the SASL PLAIN mechanism to login to the server.
- newAuthenticator(InetSocketAddress, String) - Method in interface com.datastax.driver.core.AuthProvider
-
The
Authenticatorto use when connecting tohost - newAuthenticator(InetSocketAddress, String) - Method in interface com.datastax.driver.core.ExtendedAuthProvider
-
Deprecated.the driver will never call this method on
ExtendedAuthProviderinstances. Implementors should throwAssertionError. - newAuthenticator(InetSocketAddress, String) - Method in class com.datastax.driver.core.ExtendedAuthProvider.NoAuthProvider
- newAuthenticator(InetSocketAddress, String) - Method in class com.datastax.driver.core.PlainTextAuthProvider
- NEWEST_BETA - Static variable in enum com.datastax.driver.core.ProtocolVersion
-
The most recent beta protocol version supported by the driver.
- NEWEST_SUPPORTED - Static variable in enum com.datastax.driver.core.ProtocolVersion
-
The most recent protocol version supported by the driver.
- newInstance() - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
-
Return a new instance of
T. - newInstance() - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
-
Return a new instance of
T. - newInstance(int) - Method in class com.datastax.driver.core.TypeCodec.AbstractCollectionCodec
-
Return a new instance of
Cwith the given estimated size. - newInstance(int) - Method in class com.datastax.driver.core.TypeCodec.AbstractMapCodec
-
Return a new
Mapinstance with the given estimated size. - newInstance(int, int, long) - Static method in class com.datastax.driver.core.Duration
-
Creates a duration with the given number of months, days and nanoseconds.
- newPlan(String, Statement) - Method in class com.datastax.driver.core.policies.ConstantSpeculativeExecutionPolicy
- newPlan(String, Statement) - Method in class com.datastax.driver.core.policies.NoSpeculativeExecutionPolicy
- newPlan(String, Statement) - Method in class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
- newPlan(String, Statement) - Method in interface com.datastax.driver.core.policies.SpeculativeExecutionPolicy
-
Returns the plan to use for a new query.
- newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
-
Returns the hosts to use for a new query.
- newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy
- newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
-
Returns the hosts to use for a new query.
- newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
-
Returns the hosts to use for a new query.
- newQueryPlan(String, Statement) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
-
Returns the hosts to use for a new query.
- newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.PagingOptimizingLoadBalancingPolicy
- newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
-
Returns the hosts to use for a new query.
- newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
-
Returns the hosts to use for a new query.
- newQueryPlan(String, Statement) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
-
Returns the hosts to use for a new query.
- newSchedule() - Method in class com.datastax.driver.core.policies.ConstantReconnectionPolicy
-
A new schedule that uses a constant
getConstantDelayMs()delay between reconnection attempt. - newSchedule() - Method in class com.datastax.driver.core.policies.ExponentialReconnectionPolicy
-
A new schedule that used an exponentially growing delay between reconnection attempts.
- newSchedule() - Method in interface com.datastax.driver.core.policies.ReconnectionPolicy
-
Creates a new schedule for reconnection attempts.
- newSession() - Method in class com.datastax.driver.core.Cluster
-
Creates a new session on this cluster but does not initialize it.
- newSession() - Method in class com.datastax.driver.core.DelegatingCluster
- newSSLEngine(SocketChannel) - Method in class com.datastax.driver.core.JdkSSLOptions
-
Deprecated.Creates an SSL engine each time a connection is established.
- newSSLEngine(SocketChannel, EndPoint) - Method in class com.datastax.driver.core.SniSSLOptions
- newSSLEngine(SocketChannel, InetSocketAddress) - Method in class com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions
-
Creates an SSL engine each time a connection is established.
- newSSLHandler(SocketChannel) - Method in class com.datastax.driver.core.JdkSSLOptions
-
Deprecated.
- newSSLHandler(SocketChannel) - Method in class com.datastax.driver.core.NettySSLOptions
-
Deprecated.
- newSSLHandler(SocketChannel) - Method in class com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions
- newSSLHandler(SocketChannel) - Method in class com.datastax.driver.core.RemoteEndpointAwareNettySSLOptions
- newSSLHandler(SocketChannel) - Method in class com.datastax.driver.core.SniSSLOptions
- newSSLHandler(SocketChannel) - Method in interface com.datastax.driver.core.SSLOptions
-
Deprecated.use
RemoteEndpointAwareSSLOptions#newSSLHandler(SocketChannel, EndPoint)instead. - newSSLHandler(SocketChannel, EndPoint) - Method in interface com.datastax.driver.core.ExtendedRemoteEndpointAwareSslOptions
-
Creates a new SSL handler for the given Netty channel and the given remote endpoint.
- newSSLHandler(SocketChannel, EndPoint) - Method in class com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions
- newSSLHandler(SocketChannel, EndPoint) - Method in class com.datastax.driver.core.RemoteEndpointAwareNettySSLOptions
- newSSLHandler(SocketChannel, EndPoint) - Method in class com.datastax.driver.core.SniSSLOptions
- newSSLHandler(SocketChannel, InetSocketAddress) - Method in class com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions
- newSSLHandler(SocketChannel, InetSocketAddress) - Method in class com.datastax.driver.core.RemoteEndpointAwareNettySSLOptions
- newSSLHandler(SocketChannel, InetSocketAddress) - Method in interface com.datastax.driver.core.RemoteEndpointAwareSSLOptions
-
Creates a new SSL handler for the given Netty channel and the given remote endpoint.
- newSSLHandler(SocketChannel, InetSocketAddress) - Method in class com.datastax.driver.core.SniSSLOptions
- newToken(Token.Factory, ByteBuffer...) - Method in class com.datastax.driver.core.Metadata
-
Builds a new
Tokenfrom a partition key. - newToken(String) - Method in class com.datastax.driver.core.Metadata
-
Builds a new
Tokenfrom its string representation, according to the partitioner reported by the Cassandra nodes. - newTokenRange(Token, Token) - Method in class com.datastax.driver.core.Metadata
-
Builds a new
TokenRange. - newTupleType(DataType...) - Method in class com.datastax.driver.core.Metadata
-
Creates a tuple type given a list of types.
- newTupleType(List<DataType>) - Method in class com.datastax.driver.core.Metadata
-
Creates a tuple type given a list of types.
- newValue() - Method in class com.datastax.driver.core.TupleType
-
Returns a new empty value for this tuple type.
- newValue() - Method in class com.datastax.driver.core.UserType
-
Returns a new empty value for this user type definition.
- newValue(Object...) - Method in class com.datastax.driver.core.TupleType
-
Returns a new value for this tuple type that uses the provided values for the components.
- next() - Method in class com.datastax.driver.core.AtomicMonotonicTimestampGenerator
- next() - Method in class com.datastax.driver.core.ServerSideTimestampGenerator
- next() - Method in class com.datastax.driver.core.ThreadLocalMonotonicTimestampGenerator
- next() - Method in interface com.datastax.driver.core.TimestampGenerator
-
Returns the next timestamp.
- nextDelayMs() - Method in interface com.datastax.driver.core.policies.ReconnectionPolicy.ReconnectionSchedule
-
When to attempt the next reconnection.
- nextExecution(Host) - Method in interface com.datastax.driver.core.policies.SpeculativeExecutionPolicy.SpeculativeExecutionPlan
-
Returns the time before the next speculative query.
- nextStable() - Method in class com.datastax.driver.core.VersionNumber
-
The next stable version, i.e. the version stripped of its pre-release labels and build metadata.
- NoAuthProvider() - Constructor for class com.datastax.driver.core.ExtendedAuthProvider.NoAuthProvider
- noCompression() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create options for the
NONEcompression strategy, to use in a CREATE or ALTER TABLE statement. - NoCompression() - Constructor for class com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions.NoCompression
- NoHostAvailableException - Exception in com.datastax.driver.core.exceptions
-
Exception thrown when a query cannot be performed because no host is available.
- NoHostAvailableException(Map<EndPoint, Throwable>) - Constructor for exception com.datastax.driver.core.exceptions.NoHostAvailableException
- NONE - com.datastax.driver.core.ProtocolOptions.Compression
-
No compression
- NONE - com.datastax.driver.core.schemabuilder.SchemaBuilder.Caching
- NONE - com.datastax.driver.core.schemabuilder.SchemaBuilder.KeyCaching
- NONE - com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions.Algorithm
- NONE - com.datastax.driver.core.schemabuilder.TableOptions.ReadRepairValue
- NONE - Static variable in interface com.datastax.driver.core.AuthProvider
-
A provider that provides no authentication capability.
- NORMAL_LOGGER - Static variable in class com.datastax.driver.core.QueryLogger
-
The logger used to log normal queries, i.e., queries that completed successfully within a configurable threshold in milliseconds.
- noRows() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Return the row caching strategy that never caches rows (
none, to use in a CREATE or ALTER TABLE statement. - NoSpeculativeExecutionPolicy - Class in com.datastax.driver.core.policies
-
A
SpeculativeExecutionPolicythat never schedules speculative executions. - noSpeculativeRetry() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create the speculative retry strategy that never retries reads, to use in a CREATE or ALTER TABLE statement.
- notNull(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates an "IS NOT NULL"
WHEREclause for the provided column. - now() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a
now()function call. - NULL_PAYLOAD_VALUE - Static variable in class com.datastax.driver.core.Statement
-
A special ByteBuffer value that can be used with custom payloads to denote a null value in a payload map.
- numberOfSignificantValueDigits - Variable in class com.datastax.driver.core.PercentileTracker.Builder
O
- of(ProtocolVersion, CodecRegistry, DataType...) - Static method in class com.datastax.driver.core.TupleType
-
Creates a "disconnected" tuple type (you should prefer
cluster.getMetadata().newTupleType(...)whenever possible). - ofHosts(LoadBalancingPolicy, Iterable<String>) - Static method in class com.datastax.driver.core.policies.WhiteListPolicy
-
Creates a new policy that wraps the provided child policy but only "allows" hosts having addresses that match those from the resolved input host names.
- ofHosts(LoadBalancingPolicy, String...) - Static method in class com.datastax.driver.core.policies.WhiteListPolicy
-
Creates a new policy with the given host names.
- onAdd(Host) - Method in interface com.datastax.driver.core.Host.StateListener
-
Called when a new node is added to the cluster.
- onAdd(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
- onAdd(Host) - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy
- onAdd(Host) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
- onAdd(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
- onAdd(Host) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
-
Called when a new node is added to the cluster.
- onAdd(Host) - Method in class com.datastax.driver.core.policies.PagingOptimizingLoadBalancingPolicy
- onAdd(Host) - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
- onAdd(Host) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
- onAdd(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
- onAggregateAdded(AggregateMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a user-defined aggregate has been added.
- onAggregateAdded(AggregateMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onAggregateChanged(AggregateMetadata, AggregateMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a user-defined aggregate has changed.
- onAggregateChanged(AggregateMetadata, AggregateMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onAggregateRemoved(AggregateMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a user-defined aggregate has been removed.
- onAggregateRemoved(AggregateMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onAuthenticationSuccess(byte[]) - Method in interface com.datastax.driver.core.Authenticator
-
Called when authentication is successful with the last information optionally sent by the server.
- onClusterClose(EventLoopGroup) - Method in class com.datastax.driver.core.NettyOptions
-
Hook invoked when the cluster is shutting down after a call to
Cluster.close(). - onClusterClose(Timer) - Method in class com.datastax.driver.core.NettyOptions
-
Hook invoked when the cluster is shutting down after a call to
Cluster.close(). - onDown(Host) - Method in interface com.datastax.driver.core.Host.StateListener
-
Called when a node is determined to be down.
- onDown(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
- onDown(Host) - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy
- onDown(Host) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
- onDown(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
- onDown(Host) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
-
Called when a node is determined to be down.
- onDown(Host) - Method in class com.datastax.driver.core.policies.PagingOptimizingLoadBalancingPolicy
- onDown(Host) - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
- onDown(Host) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
- onDown(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
- onDrift(long, long) - Method in class com.datastax.driver.core.AbstractMonotonicTimestampGenerator
-
Called when generated timestamps drift into the future compared to the underlying clock (in other words, if
lastTimestamp >= currentTick). - onDrift(long, long) - Method in class com.datastax.driver.core.LoggingMonotonicTimestampGenerator
-
Called when generated timestamps drift into the future compared to the underlying clock (in other words, if
lastTimestamp >= currentTick). - one() - Method in interface com.datastax.driver.core.PagingIterable
-
Returns the next result from this result set.
- ONE - com.datastax.driver.core.ConsistencyLevel
- onFailure(Throwable) - Method in class com.datastax.driver.core.utils.MoreFutures.SuccessCallback
- onFunctionAdded(FunctionMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a user-defined function has been added.
- onFunctionAdded(FunctionMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onFunctionChanged(FunctionMetadata, FunctionMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a user-defined function has changed.
- onFunctionChanged(FunctionMetadata, FunctionMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onFunctionRemoved(FunctionMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a user-defined function has been removed.
- onFunctionRemoved(FunctionMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onKeyspaceAdded(KeyspaceMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a keyspace has been added.
- onKeyspaceAdded(KeyspaceMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onKeyspaceChanged(KeyspaceMetadata, KeyspaceMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a keyspace has changed.
- onKeyspaceChanged(KeyspaceMetadata, KeyspaceMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onKeyspaceChanged(KeyspaceMetadata, KeyspaceMetadata) - Method in class com.datastax.driver.core.TabletMapListener
- onKeyspaceRemoved(KeyspaceMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a keyspace has been removed.
- onKeyspaceRemoved(KeyspaceMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onKeyspaceRemoved(KeyspaceMetadata) - Method in class com.datastax.driver.core.TabletMapListener
- onlyIf() - Method in class com.datastax.driver.core.querybuilder.Delete
-
Adds a conditions clause (IF) to this statement.
- onlyIf() - Method in class com.datastax.driver.core.querybuilder.Update
-
Adds a conditions clause (IF) to this statement.
- onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete
-
Adds a conditions clause (IF) to this statement.
- onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete.Where
-
Adds a condition to the DELETE statement this WHERE clause is part of.
- onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Assignments
-
Adds a condition to the UPDATE statement those assignments are part of.
- onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Update
-
Adds a conditions clause (IF) to this statement.
- onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Options
-
Adds a condition to the UPDATE statement these options are part of.
- onlyIf(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Where
-
Adds a condition to the UPDATE statement this WHERE clause is part of.
- onMaterializedViewAdded(MaterializedViewMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a materialized view has been added.
- onMaterializedViewAdded(MaterializedViewMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onMaterializedViewChanged(MaterializedViewMetadata, MaterializedViewMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a materialized view has changed.
- onMaterializedViewChanged(MaterializedViewMetadata, MaterializedViewMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onMaterializedViewRemoved(MaterializedViewMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a materialized view has been removed.
- onMaterializedViewRemoved(MaterializedViewMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onReadTimeout(Statement, ConsistencyLevel, int, int, boolean, int) - Method in class com.datastax.driver.core.policies.DefaultRetryPolicy
-
Defines whether to retry and at which consistency level on a read timeout.
- onReadTimeout(Statement, ConsistencyLevel, int, int, boolean, int) - Method in class com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy
-
Deprecated.Defines whether to retry and at which consistency level on a read timeout.
- onReadTimeout(Statement, ConsistencyLevel, int, int, boolean, int) - Method in class com.datastax.driver.core.policies.FallthroughRetryPolicy
-
Defines whether to retry and at which consistency level on a read timeout.
- onReadTimeout(Statement, ConsistencyLevel, int, int, boolean, int) - Method in class com.datastax.driver.core.policies.IdempotenceAwareRetryPolicy
-
Deprecated.
- onReadTimeout(Statement, ConsistencyLevel, int, int, boolean, int) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
- onReadTimeout(Statement, ConsistencyLevel, int, int, boolean, int) - Method in interface com.datastax.driver.core.policies.RetryPolicy
-
Defines whether to retry and at which consistency level on a read timeout.
- onRegister(Cluster) - Method in class com.datastax.driver.core.ClusterWidePercentileTracker
- onRegister(Cluster) - Method in interface com.datastax.driver.core.Host.LifecycleAwareStateListener
-
Gets invoked when the listener is registered with a cluster, or at cluster startup if the listener was registered at initialization with
Cluster.register(Host.StateListener). - onRegister(Cluster) - Method in interface com.datastax.driver.core.Host.StateListener
-
Gets invoked when the tracker is registered with a cluster, or at cluster startup if the tracker was registered at initialization with
Cluster.register(LatencyTracker). - onRegister(Cluster) - Method in interface com.datastax.driver.core.LatencyTracker
-
Gets invoked when the tracker is registered with a cluster, or at cluster startup if the tracker was registered at initialization with
Cluster.register(LatencyTracker). - onRegister(Cluster) - Method in class com.datastax.driver.core.PercentileTracker
- onRegister(Cluster) - Method in class com.datastax.driver.core.QueryLogger.DynamicThresholdQueryLogger
- onRegister(Cluster) - Method in class com.datastax.driver.core.QueryLogger
- onRegister(Cluster) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Gets invoked when the listener is registered with a cluster.
- onRegister(Cluster) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onRemove(Host) - Method in interface com.datastax.driver.core.Host.StateListener
-
Called when a node is removed from the cluster.
- onRemove(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
- onRemove(Host) - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy
- onRemove(Host) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
- onRemove(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
- onRemove(Host) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
-
Called when a node is removed from the cluster.
- onRemove(Host) - Method in class com.datastax.driver.core.policies.PagingOptimizingLoadBalancingPolicy
- onRemove(Host) - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
- onRemove(Host) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
- onRemove(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
- onRequestError(Statement, ConsistencyLevel, DriverException, int) - Method in class com.datastax.driver.core.policies.DefaultRetryPolicy
-
Defines whether to retry and at which consistency level on an unexpected error.
- onRequestError(Statement, ConsistencyLevel, DriverException, int) - Method in class com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy
-
Deprecated.Defines whether to retry and at which consistency level on an unexpected error.
- onRequestError(Statement, ConsistencyLevel, DriverException, int) - Method in class com.datastax.driver.core.policies.FallthroughRetryPolicy
-
Defines whether to retry and at which consistency level on an unexpected error.
- onRequestError(Statement, ConsistencyLevel, DriverException, int) - Method in class com.datastax.driver.core.policies.IdempotenceAwareRetryPolicy
-
Deprecated.
- onRequestError(Statement, ConsistencyLevel, DriverException, int) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
- onRequestError(Statement, ConsistencyLevel, DriverException, int) - Method in interface com.datastax.driver.core.policies.RetryPolicy
-
Defines whether to retry and at which consistency level on an unexpected error.
- onSuccess(V) - Method in class com.datastax.driver.core.utils.MoreFutures.FailureCallback
- onTable(String) - Method in class com.datastax.driver.core.schemabuilder.CreateIndex
-
Specify the table to create the index on.
- onTable(String, String) - Method in class com.datastax.driver.core.schemabuilder.CreateIndex
-
Specify the keyspace and table to create the index on.
- onTableAdded(TableMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a table has been added.
- onTableAdded(TableMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onTableChanged(TableMetadata, TableMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a table has changed.
- onTableChanged(TableMetadata, TableMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onTableChanged(TableMetadata, TableMetadata) - Method in class com.datastax.driver.core.TabletMapListener
- onTableRemoved(TableMetadata) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a table has been removed.
- onTableRemoved(TableMetadata) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onTableRemoved(TableMetadata) - Method in class com.datastax.driver.core.TabletMapListener
- onUnavailable(Statement, ConsistencyLevel, int, int, int) - Method in class com.datastax.driver.core.policies.DefaultRetryPolicy
-
Defines whether to retry and at which consistency level on an unavailable exception.
- onUnavailable(Statement, ConsistencyLevel, int, int, int) - Method in class com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy
-
Deprecated.Defines whether to retry and at which consistency level on an unavailable exception.
- onUnavailable(Statement, ConsistencyLevel, int, int, int) - Method in class com.datastax.driver.core.policies.FallthroughRetryPolicy
-
Defines whether to retry and at which consistency level on an unavailable exception.
- onUnavailable(Statement, ConsistencyLevel, int, int, int) - Method in class com.datastax.driver.core.policies.IdempotenceAwareRetryPolicy
-
Deprecated.
- onUnavailable(Statement, ConsistencyLevel, int, int, int) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
- onUnavailable(Statement, ConsistencyLevel, int, int, int) - Method in interface com.datastax.driver.core.policies.RetryPolicy
-
Defines whether to retry and at which consistency level on an unavailable exception.
- onUnregister(Cluster) - Method in interface com.datastax.driver.core.Host.LifecycleAwareStateListener
-
Gets invoked when the listener is unregistered from a cluster, or at cluster shutdown if the listener was not unregistered.
- onUnregister(Cluster) - Method in interface com.datastax.driver.core.Host.StateListener
-
Gets invoked when the tracker is unregistered from a cluster, or at cluster shutdown if the tracker was not unregistered.
- onUnregister(Cluster) - Method in interface com.datastax.driver.core.LatencyTracker
-
Gets invoked when the tracker is unregistered from a cluster, or at cluster shutdown if the tracker was not unregistered.
- onUnregister(Cluster) - Method in class com.datastax.driver.core.PercentileTracker
- onUnregister(Cluster) - Method in class com.datastax.driver.core.QueryLogger
- onUnregister(Cluster) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Gets invoked when the listener is unregistered from a cluster, or at cluster shutdown if the tracker was not unregistered.
- onUnregister(Cluster) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onUp(Host) - Method in interface com.datastax.driver.core.Host.StateListener
-
Called when a node is determined to be up.
- onUp(Host) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy
- onUp(Host) - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy
- onUp(Host) - Method in class com.datastax.driver.core.policies.HostFilterPolicy
- onUp(Host) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy
- onUp(Host) - Method in interface com.datastax.driver.core.policies.LoadBalancingPolicy
-
Called when a node is determined to be up.
- onUp(Host) - Method in class com.datastax.driver.core.policies.PagingOptimizingLoadBalancingPolicy
- onUp(Host) - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
- onUp(Host) - Method in class com.datastax.driver.core.policies.RoundRobinPolicy
- onUp(Host) - Method in class com.datastax.driver.core.policies.TokenAwarePolicy
- onUserTypeAdded(UserType) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a user-defined type has been added.
- onUserTypeAdded(UserType) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onUserTypeChanged(UserType, UserType) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a user-defined type has changed.
- onUserTypeChanged(UserType, UserType) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onUserTypeRemoved(UserType) - Method in interface com.datastax.driver.core.SchemaChangeListener
-
Called when a user-defined type has been removed.
- onUserTypeRemoved(UserType) - Method in class com.datastax.driver.core.SchemaChangeListenerBase
- onWriteTimeout(Statement, ConsistencyLevel, WriteType, int, int, int) - Method in class com.datastax.driver.core.policies.DefaultRetryPolicy
-
Defines whether to retry and at which consistency level on a write timeout.
- onWriteTimeout(Statement, ConsistencyLevel, WriteType, int, int, int) - Method in class com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy
-
Deprecated.Defines whether to retry and at which consistency level on a write timeout.
- onWriteTimeout(Statement, ConsistencyLevel, WriteType, int, int, int) - Method in class com.datastax.driver.core.policies.FallthroughRetryPolicy
-
Defines whether to retry and at which consistency level on a write timeout.
- onWriteTimeout(Statement, ConsistencyLevel, WriteType, int, int, int) - Method in class com.datastax.driver.core.policies.IdempotenceAwareRetryPolicy
-
Deprecated.
- onWriteTimeout(Statement, ConsistencyLevel, WriteType, int, int, int) - Method in class com.datastax.driver.core.policies.LoggingRetryPolicy
- onWriteTimeout(Statement, ConsistencyLevel, WriteType, int, int, int) - Method in interface com.datastax.driver.core.policies.RetryPolicy
-
Defines whether to retry and at which consistency level on a write timeout.
- OperationTimedOutException - Exception in com.datastax.driver.core.exceptions
-
Thrown on a client-side timeout, i.e. when the client didn't hear back from the server within
SocketOptions.getReadTimeoutMillis(). - OperationTimedOutException(EndPoint) - Constructor for exception com.datastax.driver.core.exceptions.OperationTimedOutException
- OperationTimedOutException(EndPoint, long, int, int, int) - Constructor for exception com.datastax.driver.core.exceptions.OperationTimedOutException
-
Creates an exception with full diagnostic context captured at timeout time.
- OperationTimedOutException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.OperationTimedOutException
- OperationTimedOutException(EndPoint, String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.OperationTimedOutException
- options - Variable in class com.datastax.driver.core.AbstractTableMetadata
- orderBy(Ordering...) - Method in class com.datastax.driver.core.querybuilder.Select
-
Adds an
ORDER BYclause to this statement. - orderBy(Ordering...) - Method in class com.datastax.driver.core.querybuilder.Select.Where
-
Adds an ORDER BY clause to the
SELECTstatement thisWHEREclause if part of. - Ordering - Class in com.datastax.driver.core.querybuilder
- OverloadedException - Exception in com.datastax.driver.core.exceptions
-
Indicates that the contacted host reported itself being overloaded.
- OverloadedException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.OverloadedException
P
- pack(ByteBuffer[], int, ProtocolVersion) - Static method in class com.datastax.driver.core.CodecUtils
-
Utility method that "packs" together a list of
ByteBuffers containing serialized collection elements. - PagingIterable<S extends PagingIterable<S,T>,T> - Interface in com.datastax.driver.core
-
Defines an iterable whose elements can be remotely fetched and paged, possibly asynchronously.
- PagingOptimizingLoadBalancingPolicy - Class in com.datastax.driver.core.policies
- PagingOptimizingLoadBalancingPolicy(LoadBalancingPolicy) - Constructor for class com.datastax.driver.core.policies.PagingOptimizingLoadBalancingPolicy
- PagingState - Class in com.datastax.driver.core
-
The paging state of a query.
- PagingStateException - Exception in com.datastax.driver.core.exceptions
-
Indicates an error while deserializing a (previously serialized)
PagingStateobject, or when a paging state does not match the statement being executed. - PagingStateException(String) - Constructor for exception com.datastax.driver.core.exceptions.PagingStateException
- PagingStateException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.PagingStateException
- parameterValueAsString(ColumnDefinitions.Definition, ByteBuffer) - Method in class com.datastax.driver.core.QueryLogger
- parameterValueAsString(Object) - Method in class com.datastax.driver.core.QueryLogger
- parse() - Method in class com.datastax.driver.core.MapExtensionReader
- parse(String) - Method in class com.datastax.driver.core.TypeCodec.AbstractCollectionCodec
- parse(String) - Method in class com.datastax.driver.core.TypeCodec.AbstractMapCodec
- parse(String) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
- parse(String) - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
- parse(String) - Method in class com.datastax.driver.core.TypeCodec
-
Parse the given CQL literal into an instance of the Java type handled by this codec.
- parse(String) - Static method in class com.datastax.driver.core.VersionNumber
-
Parse a version from a string.
- parseAndSetField(String, T, int) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
-
Parse an individual field and set it on an object, as part of parsing the whole object (see
TypeCodec.AbstractTupleCodec.parse(String)). - parseAndSetField(String, T, String) - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
-
Parse an individual field and set it on an object, as part of parsing the whole object (see
TypeCodec.AbstractUDTCodec.parse(String)). - parseDate(String) - Static method in class com.datastax.driver.core.ParseUtils
-
Parse the given string as a date, using one of the accepted ISO-8601 date patterns.
- parseDate(String, String) - Static method in class com.datastax.driver.core.ParseUtils
-
Parse the given string as a date, using the supplied date pattern.
- parseLwtInfo(Map<String, List<String>>) - Static method in class com.datastax.driver.core.LwtInfo
- parseShardingInfo(Map<String, List<String>>) - Static method in class com.datastax.driver.core.ShardingInfo
- parseSupportedOptions(Map<String, List<String>>) - Static method in class com.datastax.driver.core.ProtocolFeatureStore
- parseTabletInfo(Map<String, List<String>>) - Static method in class com.datastax.driver.core.TabletInfo
- parseTime(String) - Static method in class com.datastax.driver.core.ParseUtils
-
Parse the given string as a time, using the following time pattern:
hh:mm:ss[.fffffffff]. - parseUseMetadataId(Map<String, List<String>>) - Static method in class com.datastax.driver.core.MetadataIdInfo
- ParseUtils - Class in com.datastax.driver.core
-
Simple utility class used to help parsing CQL values (mainly UDT and collection ones).
- partitionKey - Variable in class com.datastax.driver.core.AbstractTableMetadata
- path(String...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a path composed of the given path
segments. - path(String...) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Selects the provided path.
- path(String...) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- percentile(int) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create the speculative retry strategy that retries based on the effect on throughput and latency, to use in a CREATE or ALTER TABLE statement.
- PercentileSpeculativeExecutionPolicy - Class in com.datastax.driver.core.policies
-
A policy that triggers speculative executions when the request to the current host is above a given percentile.
- PercentileSpeculativeExecutionPolicy(PercentileTracker, double, int) - Constructor for class com.datastax.driver.core.policies.PercentileSpeculativeExecutionPolicy
-
Builds a new instance.
- PercentileTracker - Class in com.datastax.driver.core
-
A
LatencyTrackerthat records query latencies over a sliding time interval, and exposes an API to retrieve the latency at a given percentile. - PercentileTracker(long, int, int, long) - Constructor for class com.datastax.driver.core.PercentileTracker
-
Builds a new instance.
- PercentileTracker.Builder<B,T> - Class in com.datastax.driver.core
-
Base class for
PercentileTrackerimplementation builders. - PerHostPercentileTracker - Class in com.datastax.driver.core
-
A
PercentileTrackerthat maintains a separate histogram for each host. - PerHostPercentileTracker.Builder - Class in com.datastax.driver.core
-
Helper class to build
PerHostPercentileTrackerinstances with a fluent interface. - perPartitionLimit(int) - Method in class com.datastax.driver.core.querybuilder.Select
-
Adds a
PER PARTITION LIMITclause to this statement. - perPartitionLimit(int) - Method in class com.datastax.driver.core.querybuilder.Select.Where
-
Adds a
PER PARTITION LIMITclause to theSELECTstatement thisWHEREclause is part of. - perPartitionLimit(BindMarker) - Method in class com.datastax.driver.core.querybuilder.Select
-
Adds a prepared
PER PARTITION LIMITclause to this statement. - perPartitionLimit(BindMarker) - Method in class com.datastax.driver.core.querybuilder.Select.Where
-
Adds a bind marker for the
PER PARTITION LIMITclause to theSELECTstatement thisWHEREclause is part of. - PID_SYSTEM_PROPERTY - Static variable in class com.datastax.driver.core.utils.UUIDs
-
The System property to use to force the value of the process ID (PID).
- PlainTextAuthProvider - Class in com.datastax.driver.core
-
A simple
AuthProviderimplementation. - PlainTextAuthProvider(String, String) - Constructor for class com.datastax.driver.core.PlainTextAuthProvider
-
Creates a new simple authentication information provider with the supplied credentials.
- Policies - Class in com.datastax.driver.core.policies
-
Policies configured for a
Clusterinstance. - Policies.Builder - Class in com.datastax.driver.core.policies
-
A builder to create a new
Policiesobject. - PoolingOptions - Class in com.datastax.driver.core
-
Options related to connection pooling.
- PoolingOptions() - Constructor for class com.datastax.driver.core.PoolingOptions
- populateConfig(ObjectNode) - Method in class com.datastax.driver.core.DefaultDriverConfigReporter
-
Populates the three top-level configuration groups onto the report root from
DefaultDriverConfigReporter.configurationand its policies. - populateIOCacheOnFlush(Boolean) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define whether to populate IO cache on flush of sstables.
- populateStartupOptions(ProtocolVersion, Map<String, String>) - Method in class com.datastax.driver.core.ProtocolFeatureStore
- prepare(RegularStatement) - Method in class com.datastax.driver.core.AbstractSession
-
Prepares the provided query.
- prepare(RegularStatement) - Method in interface com.datastax.driver.core.Session
-
Prepares the provided query.
- prepare(String) - Method in class com.datastax.driver.core.AbstractSession
-
Prepares the provided query string.
- prepare(String) - Method in interface com.datastax.driver.core.Session
-
Prepares the provided query string.
- prepareAsync(RegularStatement) - Method in class com.datastax.driver.core.AbstractSession
-
Prepares the provided query asynchronously.
- prepareAsync(RegularStatement) - Method in interface com.datastax.driver.core.Session
-
Prepares the provided query asynchronously.
- prepareAsync(String) - Method in class com.datastax.driver.core.AbstractSession
-
Prepares the provided query string asynchronously.
- prepareAsync(String) - Method in interface com.datastax.driver.core.Session
-
Prepares the provided query string asynchronously.
- prepareAsync(String, Map<String, ByteBuffer>) - Method in class com.datastax.driver.core.AbstractSession
-
Prepares the provided query string asynchronously, sending along the provided custom payload, if any.
- PREPARED_METADATA_CHANGES - Static variable in class com.datastax.driver.core.ProtocolFeatures
-
The capability of updating a prepared statement if the result's metadata changes at runtime (for example, if the query is a
SELECT *and the table is altered). - PreparedId - Class in com.datastax.driver.core
-
Identifies a PreparedStatement.
- preparedStatement() - Method in class com.datastax.driver.core.BoundStatement
-
Returns the prepared statement on which this BoundStatement is based.
- PreparedStatement - Interface in com.datastax.driver.core
-
Represents a prepared statement, a query with bound variables that has been prepared (pre-parsed) by the database.
- prepend(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Prepend a value to a list column.
- prependAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Prepend a list of values to a list column.
- prependAll(String, List<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Prepend a list of values to a list column.
- PRESERVE_REPLICA_ORDER - com.datastax.driver.core.QueryOptions.RequestRoutingMethod
- PrimitiveBooleanCodec(DataType) - Constructor for class com.datastax.driver.core.TypeCodec.PrimitiveBooleanCodec
- PrimitiveByteCodec(DataType) - Constructor for class com.datastax.driver.core.TypeCodec.PrimitiveByteCodec
- PrimitiveDoubleCodec(DataType) - Constructor for class com.datastax.driver.core.TypeCodec.PrimitiveDoubleCodec
- PrimitiveFloatCodec(DataType) - Constructor for class com.datastax.driver.core.TypeCodec.PrimitiveFloatCodec
- PrimitiveIntCodec(DataType) - Constructor for class com.datastax.driver.core.TypeCodec.PrimitiveIntCodec
- PrimitiveLongCodec(DataType) - Constructor for class com.datastax.driver.core.TypeCodec.PrimitiveLongCodec
- PrimitiveShortCodec(DataType) - Constructor for class com.datastax.driver.core.TypeCodec.PrimitiveShortCodec
- processId() - Static method in class com.datastax.driver.core.Native
-
Returns the JVM's process identifier (PID) via a system call to
getpid. - propagateFuture(SettableFuture<T>, ListenableFuture<T>) - Static method in class com.datastax.driver.core.utils.MoreFutures
-
Configures a
SettableFutureto propagate the result of a future. - ProtocolError - Exception in com.datastax.driver.core.exceptions
-
Indicates that the contacted host reported a protocol error.
- ProtocolError(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.ProtocolError
- ProtocolFeatures - Class in com.datastax.driver.core
-
A listing of features that may or not apply to a given
ProtocolVersion. - ProtocolFeatures() - Constructor for class com.datastax.driver.core.ProtocolFeatures
- ProtocolFeatures.Feature - Class in com.datastax.driver.core
-
An abstract implementation of feature that may or not apply to a given
ProtocolVersion. - ProtocolFeatureStore - Class in com.datastax.driver.core
- ProtocolFeatureStore(ShardingInfo.ConnectionShardingInfo, LwtInfo, TabletInfo, boolean) - Constructor for class com.datastax.driver.core.ProtocolFeatureStore
- ProtocolOptions - Class in com.datastax.driver.core
-
Options of the Cassandra native binary protocol.
- ProtocolOptions() - Constructor for class com.datastax.driver.core.ProtocolOptions
-
Creates a new
ProtocolOptionsinstance using theDEFAULT_PORT(and without SSL). - ProtocolOptions(int) - Constructor for class com.datastax.driver.core.ProtocolOptions
-
Creates a new
ProtocolOptionsinstance using the provided port (without SSL nor authentication). - ProtocolOptions(int, ProtocolVersion, int, SSLOptions, AuthProvider) - Constructor for class com.datastax.driver.core.ProtocolOptions
-
Creates a new
ProtocolOptionsinstance using the provided port and SSL context. - ProtocolOptions(int, ProtocolVersion, int, SSLOptions, AuthProvider, boolean) - Constructor for class com.datastax.driver.core.ProtocolOptions
-
Creates a new
ProtocolOptionsinstance using the provided port and SSL context. - ProtocolOptions(int, ProtocolVersion, int, SSLOptions, AuthProvider, boolean, boolean, int, int) - Constructor for class com.datastax.driver.core.ProtocolOptions
-
Creates a new
ProtocolOptionsinstance using the provided port and SSL context. - ProtocolOptions.Compression - Enum in com.datastax.driver.core
-
Compression supported by the Cassandra binary protocol.
- ProtocolVersion - Enum in com.datastax.driver.core
-
Versions of the native protocol supported by the driver.
- put(String, Object, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Puts a new key/value pair to a map column.
- putAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Puts a map of new key/value pairs to a map column.
- putAll(String, Map<?, ?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Puts a map of new key/value pairs to a map column.
Q
- QueryBuilder - Class in com.datastax.driver.core.querybuilder
-
Builds CQL3 query via a fluent API.
- QueryConsistencyException - Exception in com.datastax.driver.core.exceptions
-
A failure to reach the required consistency level during the execution of a query.
- QueryConsistencyException(EndPoint, String, ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.QueryConsistencyException
- QueryConsistencyException(EndPoint, String, Throwable, ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.QueryConsistencyException
- QueryExecutionException - Exception in com.datastax.driver.core.exceptions
-
Exception related to the execution of a query.
- QueryExecutionException(String) - Constructor for exception com.datastax.driver.core.exceptions.QueryExecutionException
- QueryExecutionException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.QueryExecutionException
- QueryLogger - Class in com.datastax.driver.core
-
A configurable
LatencyTrackerthat logs all executed statements. - QueryLogger.Builder - Class in com.datastax.driver.core
-
Helper class to build
QueryLoggerinstances with a fluent API. - QueryLogger.ConstantThresholdQueryLogger - Class in com.datastax.driver.core
-
A QueryLogger that uses a constant threshold in milliseconds to track slow queries.
- QueryLogger.DynamicThresholdQueryLogger - Class in com.datastax.driver.core
-
A QueryLogger that uses a dynamic threshold in milliseconds to track slow queries.
- QueryOptions - Class in com.datastax.driver.core
-
Options related to defaults for individual queries.
- QueryOptions() - Constructor for class com.datastax.driver.core.QueryOptions
-
Creates a new
QueryOptionsinstance using theQueryOptions.DEFAULT_CONSISTENCY_LEVEL,QueryOptions.DEFAULT_SERIAL_CONSISTENCY_LEVELandQueryOptions.DEFAULT_FETCH_SIZE. - QueryOptions.CQL4SkipMetadataResolveMethod - Enum in com.datastax.driver.core
- QueryOptions.RequestRoutingMethod - Enum in com.datastax.driver.core
-
The request routing method for queries.
- QueryTrace - Class in com.datastax.driver.core
-
The Cassandra trace for a query.
- QueryTrace.Event - Class in com.datastax.driver.core
-
A trace event.
- QueryValidationException - Exception in com.datastax.driver.core.exceptions
-
An exception indicating that a query cannot be executed because it is syntactically incorrect, invalid, unauthorized or any other reason.
- QueryValidationException(String) - Constructor for exception com.datastax.driver.core.exceptions.QueryValidationException
- QueryValidationException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.QueryValidationException
- QUORUM - com.datastax.driver.core.ConsistencyLevel
- quote(String) - Static method in class com.datastax.driver.core.Metadata
-
Quote a keyspace, table or column identifier to make it case sensitive.
- quote(String) - Static method in class com.datastax.driver.core.ParseUtils
-
Quote the given string; single quotes are escaped.
- quote(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Quotes a column name to make it case sensitive.
- quoteIfNecessary(String) - Static method in class com.datastax.driver.core.Metadata
-
Quotes a CQL identifier if necessary.
R
- RackAwareRoundRobinPolicy - Class in com.datastax.driver.core.policies
-
A rack aware Round-robin load balancing policy.
- RackAwareRoundRobinPolicy(String, String, int, boolean, boolean, boolean) - Constructor for class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy
- RackAwareRoundRobinPolicy.Builder - Class in com.datastax.driver.core.policies
-
Helper class to build the policy.
- random() - Static method in class com.datastax.driver.core.utils.UUIDs
-
Creates a new random (version 4) UUID.
- RANDOM - com.datastax.driver.core.policies.TokenAwarePolicy.ReplicaOrdering
-
Return replicas in a different, random order for each query plan.
- raw(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Protects a value from any interpretation by the query builder.
- raw(String) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Selects the provided raw expression.
- raw(String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- readBytes(ByteBuffer, int) - Static method in class com.datastax.driver.core.CodecUtils
-
Read
lengthbytes frombbinto a new ByteBuffer. - ReadFailureException - Exception in com.datastax.driver.core.exceptions
-
A non-timeout error during a read query.
- ReadFailureException(ConsistencyLevel, int, int, int, boolean) - Constructor for exception com.datastax.driver.core.exceptions.ReadFailureException
-
Deprecated.Legacy constructor for backward compatibility.
- ReadFailureException(ConsistencyLevel, int, int, int, Map<InetAddress, Integer>, boolean) - Constructor for exception com.datastax.driver.core.exceptions.ReadFailureException
-
This constructor should only be used internally by the driver when decoding error responses.
- ReadFailureException(EndPoint, ConsistencyLevel, int, int, int, boolean) - Constructor for exception com.datastax.driver.core.exceptions.ReadFailureException
-
Deprecated.Legacy constructor for backward compatibility.
- ReadFailureException(EndPoint, ConsistencyLevel, int, int, int, Map<InetAddress, Integer>, boolean) - Constructor for exception com.datastax.driver.core.exceptions.ReadFailureException
- readRepair(TableOptions.ReadRepairValue) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the read_repair mode for this table.
- readRepairChance(Double) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define the probability with which read repairs should be invoked on non-quorum reads.
- readSize(ByteBuffer, ProtocolVersion) - Static method in class com.datastax.driver.core.CodecUtils
-
Utility method that reads a size value.
- ReadTimeoutException - Exception in com.datastax.driver.core.exceptions
-
A Cassandra timeout during a read query.
- ReadTimeoutException(ConsistencyLevel, int, int, boolean) - Constructor for exception com.datastax.driver.core.exceptions.ReadTimeoutException
-
This constructor should only be used internally by the driver when decoding error responses.
- ReadTimeoutException(EndPoint, ConsistencyLevel, int, int, boolean) - Constructor for exception com.datastax.driver.core.exceptions.ReadTimeoutException
- readValue(ByteBuffer, ProtocolVersion) - Static method in class com.datastax.driver.core.CodecUtils
-
Utility method that reads a value.
- ReconnectionPolicy - Interface in com.datastax.driver.core.policies
-
Policy that decides how often the reconnection to a dead node is attempted.
- ReconnectionPolicy.ReconnectionSchedule - Interface in com.datastax.driver.core.policies
-
Schedules reconnection attempts to a node.
- refreshConnectedHost(Host) - Method in class com.datastax.driver.core.PoolingOptions
-
Requests the driver to re-evaluate the
HostDistancefor a given node. - refreshConnectedHosts() - Method in class com.datastax.driver.core.PoolingOptions
-
Requests the driver to re-evaluate the
HostDistance(through the configuredLoadBalancingPolicy.distance(com.datastax.driver.core.Host)) for every known hosts and to drop/add connections to each hosts according to the computed distance. - register(Host.StateListener) - Method in class com.datastax.driver.core.Cluster
-
Registers the provided listener to be notified on hosts up/down/added/removed events.
- register(Host.StateListener) - Method in class com.datastax.driver.core.DelegatingCluster
- register(LatencyTracker) - Method in class com.datastax.driver.core.Cluster
-
Registers the provided tracker to be updated with hosts read latencies.
- register(LatencyTracker) - Method in class com.datastax.driver.core.DelegatingCluster
- register(SchemaChangeListener) - Method in class com.datastax.driver.core.Cluster
-
Registers the provided listener to be updated with schema change events.
- register(SchemaChangeListener) - Method in class com.datastax.driver.core.DelegatingCluster
- register(TypeCodec<?>) - Method in class com.datastax.driver.core.CodecRegistry
-
Register the given codec with this registry.
- register(TypeCodec<?>...) - Method in class com.datastax.driver.core.CodecRegistry
-
Register the given codecs with this registry.
- register(Iterable<? extends TypeCodec<?>>) - Method in class com.datastax.driver.core.CodecRegistry
-
Register the given codecs with this registry.
- REGULAR - com.datastax.driver.core.QueryOptions.RequestRoutingMethod
- RegularStatement - Class in com.datastax.driver.core
-
A regular (non-prepared and non batched) CQL statement.
- RegularStatement() - Constructor for class com.datastax.driver.core.RegularStatement
-
Creates a new RegularStatement.
- REMOTE - com.datastax.driver.core.HostDistance
- RemoteEndpointAwareJdkSSLOptions - Class in com.datastax.driver.core
-
RemoteEndpointAwareSSLOptionsimplementation based on built-in JDK classes. - RemoteEndpointAwareJdkSSLOptions(SSLContext, String[]) - Constructor for class com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions
-
Creates a new instance.
- RemoteEndpointAwareJdkSSLOptions.Builder - Class in com.datastax.driver.core
-
Helper class to build
RemoteEndpointAwareJdkSSLOptionsinstances. - RemoteEndpointAwareNettySSLOptions - Class in com.datastax.driver.core
-
RemoteEndpointAwareSSLOptionsimplementation based on Netty's SSL context. - RemoteEndpointAwareNettySSLOptions(SslContext) - Constructor for class com.datastax.driver.core.RemoteEndpointAwareNettySSLOptions
-
Create a new instance from a given context.
- RemoteEndpointAwareSSLOptions - Interface in com.datastax.driver.core
-
Child interface to
SSLOptionswith the possibility to pass remote endpoint data when instantiatingSslHandlers. - remove(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Remove a value from a set column.
- removeAll(String, BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Remove a set of values from a set column.
- removeAll(String, Set<?>) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Remove a set of values from a set column.
- removeTableMappings(TabletMap.KeyspaceTableNamePair) - Method in class com.datastax.driver.core.TabletMap
- removeTableMappings(String) - Method in class com.datastax.driver.core.TabletMap
- removeTableMappings(String, String) - Method in class com.datastax.driver.core.TabletMap
- renameColumn(String) - Method in class com.datastax.driver.core.schemabuilder.Alter
-
Add a new RENAME column clause to this ALTER TABLE statement.
- replicateOnWrite(Boolean) - Method in class com.datastax.driver.core.schemabuilder.TableOptions
-
Define whether to replicate data on write (Cassandra 2.0.x only).
- replication(Map<String, Object>) - Method in class com.datastax.driver.core.schemabuilder.KeyspaceOptions
-
Define the replication options for the statement.
- requestSizeInBytes(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.BatchStatement
- requestSizeInBytes(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.BoundStatement
-
Returns the number of bytes required to encode this statement.
- requestSizeInBytes(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.RegularStatement
- requestSizeInBytes(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.Statement
-
Returns the number of bytes required to encode this statement.
- requestSizeInBytes(ProtocolVersion, CodecRegistry) - Method in class com.datastax.driver.core.StatementWrapper
- resolve() - Method in interface com.datastax.driver.core.EndPoint
-
Resolves this instance to a socket address.
- resolve() - Method in class com.datastax.driver.core.SniEndPoint
- ResultSet - Interface in com.datastax.driver.core
-
The result of a query.
- ResultSetFuture - Interface in com.datastax.driver.core
-
A future on a
ResultSet. - rethrow() - Static method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
-
Creates a
RetryPolicy.RetryDecision.Type.RETHROWretry decision. - RETHROW - com.datastax.driver.core.policies.RetryPolicy.RetryDecision.Type
- retry(ConsistencyLevel) - Static method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
-
Creates a
RetryPolicy.RetryDecision.Type.RETRYretry decision using the same host and the provided consistency level. - RETRY - com.datastax.driver.core.policies.RetryPolicy.RetryDecision.Type
- RetryPolicy - Interface in com.datastax.driver.core.policies
-
A policy that defines a default behavior to adopt when a request fails.
- RetryPolicy.RetryDecision - Class in com.datastax.driver.core.policies
-
A retry decision to adopt on a Cassandra exception (read/write timeout or unavailable exception).
- RetryPolicy.RetryDecision.Type - Enum in com.datastax.driver.core.policies
-
The types of retry decisions.
- RoundRobinPolicy - Class in com.datastax.driver.core.policies
-
A Round-robin load balancing policy.
- RoundRobinPolicy() - Constructor for class com.datastax.driver.core.policies.RoundRobinPolicy
-
Creates a load balancing policy that picks host to query in a round robin fashion (on all the hosts of the Cassandra cluster).
- Row - Interface in com.datastax.driver.core
-
A CQL Row returned in a
ResultSet. - rows(int) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Return the row caching strategy that caches a given number of rows, to use in a CREATE or ALTER TABLE statement.
- ROWS_ONLY - com.datastax.driver.core.schemabuilder.SchemaBuilder.Caching
S
- 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
-
Base implementation for
SchemaChangeListener. - SchemaChangeListenerBase() - Constructor for class com.datastax.driver.core.SchemaChangeListenerBase
- SchemaStatement - Class in com.datastax.driver.core.schemabuilder
-
A DDL statement generated by
SchemaBuilder. - SchemaStatement() - Constructor for class com.datastax.driver.core.schemabuilder.SchemaStatement
- select() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new
SELECTquery. - select(Object...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new
SELECTquery that selects the provided names. - select(String...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new
SELECTquery that selects the provided names. - 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.Options - Class in com.datastax.driver.core.querybuilder
-
The options of a 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
WHEREclause of aSELECTstatement. - 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
- SERIAL - com.datastax.driver.core.ConsistencyLevel
- 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(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(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(T, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec
-
Serialize the given value according to the CQL type handled by this codec.
- serializeField(T, int, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractTupleCodec
-
Serialize an individual field in an object, as part of serializing the whole object to a CQL tuple (see
TypeCodec.AbstractTupleCodec.serialize(Object, ProtocolVersion)). - serializeField(T, String, ProtocolVersion) - Method in class com.datastax.driver.core.TypeCodec.AbstractUDTCodec
-
Serialize an individual field in an object, as part of serializing the whole object to a CQL UDT (see
TypeCodec.AbstractUDTCodec.serialize(Object, ProtocolVersion)). - 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
- 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, TypeCodec<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided value, converted using the givenTypeCodec. - set(int, V, TypeCodec<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided value, converted using the givenTypeCodec. - set(int, V, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided value of the provided Java type. - set(int, V, TypeToken<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided value of the provided Java type. - set(int, V, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided value of the provided Java class. - set(int, V, Class<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided value of the provided Java class. - set(DataType) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of "not frozen" sets of
elementTypeelements. - set(DataType, boolean) - Static method in class com.datastax.driver.core.DataType
-
Returns the type of sets of
elementTypeelements. - set(TypeCodec<T>) - Static method in class com.datastax.driver.core.TypeCodec
-
Return a newly-created codec for the CQL type
setwhose element type is determined by the given element codec. - set(Object, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Advanced "set" assignment of a value to a column or a
UDTfield. - set(String, Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Simple "set" assignment of a value to a column.
- set(String, V, TypeCodec<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided value, converted using the givenTypeCodec. - set(String, V, TypeCodec<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided value, converted using the givenTypeCodec. - set(String, V, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided value of the provided Java type. - set(String, V, TypeToken<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided value of the provided Java type. - set(String, V, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided value of the provided Java class. - set(String, V, Class<V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided value of the provided Java class. - SET - com.datastax.driver.core.DataType.Name
- setAddOriginalContactsToReconnectionPlan(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Whether the driver should use original contact points when reconnecting to a control node.
- setBool(int, boolean) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided boolean. - setBool(int, boolean) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided boolean. - setBool(String, boolean) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided boolean. - setBool(String, boolean) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided boolean. - setByte(int, byte) - Method in class com.datastax.driver.core.BoundStatement
-
Set the
ith value to the provided byte. - setByte(int, byte) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the
ith value to the provided byte. - setByte(String, byte) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided byte. - setByte(String, byte) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided byte. - setBytes(int, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided byte buffer. - setBytes(int, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith 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
nameto the provided byte buffer. - setBytes(String, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided byte buffer. - setBytesUnsafe(int, ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided byte buffer. - setBytesUnsafe(int, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith 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
nameto the provided byte buffer. - setBytesUnsafe(String, ByteBuffer) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto 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.
- setConsiderZeroTokenNodesValidPeers(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Recently introduced in Scylla zero-token nodes have null value in "tokens" column in their system.peers rows.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.DefaultPreparedStatement
- setConsistencyLevel(ConsistencyLevel) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets a default consistency level for all bound statements created from this prepared statement.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default consistency level to use for queries.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.Statement
-
Sets the consistency level for the query.
- setConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.driver.core.StatementWrapper
- setCoreConnectionsPerHost(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the core number of connections per host.
- setDate(int, LocalDate) - Method in class com.datastax.driver.core.BoundStatement
-
Set the
ith value to the provided date (without time). - setDate(int, LocalDate) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the
ith 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
nameto the provided date (without time). - setDate(String, LocalDate) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided date (without time). - setDecimal(int, BigDecimal) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided big decimal. - setDecimal(int, BigDecimal) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith 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
nameto the provided big decimal. - setDecimal(String, BigDecimal) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided big decimal. - setDefaultIdempotence(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default idempotence for queries.
- setDefaultTimestamp(long) - Method in class com.datastax.driver.core.Statement
-
Sets the default timestamp for this query (in microseconds since the epoch).
- setDefaultTimestamp(long) - Method in class com.datastax.driver.core.StatementWrapper
- setDouble(int, double) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided double. - setDouble(int, double) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided double. - setDouble(String, double) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided double. - setDouble(String, double) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided double. - setElt(String, BindMarker) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
-
Deletes the provided set element, specified as a bind marker.
- setElt(String, Object) - Method in class com.datastax.driver.core.querybuilder.Delete.Selection
-
Deletes the provided set element.
- 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
ith value to the provided float. - setFloat(int, float) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided float. - setFloat(String, float) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided float. - setFloat(String, float) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided float. - setForceNoValues(boolean) - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
-
Allows to force this builder to not generate values (through its
getValues()method). - setHeartbeatIntervalSeconds(int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the heart beat interval, after which a message is sent on an idle connection to make sure it's still alive.
- setHost(Host) - Method in class com.datastax.driver.core.Statement
-
Sets the
Hostthat should handle this query. - setHost(Host) - Method in class com.datastax.driver.core.StatementWrapper
- 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.core.DefaultPreparedStatement
-
Sets whether this statement is idempotent.
- setIdempotent(Boolean) - Method in interface com.datastax.driver.core.PreparedStatement
-
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
ith value to the provided inet address. - setInet(int, InetAddress) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith 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
nameto the provided inet address. - setInet(String, InetAddress) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto 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
ith value to the provided integer. - setInt(int, int) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the
ith value to the provided integer. - setInt(String, int) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided integer. - setInt(String, int) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided integer. - setKeepAlive(boolean) - Method in class com.datastax.driver.core.SocketOptions
-
Sets whether to enable TCP keepalive.
- setKeyspace(String) - Method in class com.datastax.driver.core.SimpleStatement
-
Sets the keyspace this query operates on.
- setLastHost(Host) - Method in class com.datastax.driver.core.Statement
- setList(int, List<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided list. - setList(int, List<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided list, which elements are of the provided Java type. - setList(int, List<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided list, which elements are of the provided Java type. - setList(int, List<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided list, which elements are of the provided Java class. - setList(int, List<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided list, which elements are of the provided Java class. - setList(int, List<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided list. - setList(String, List<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided list. - setList(String, List<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided list, which elements are of the provided Java type. - setList(String, List<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided list, which elements are of the provided Java type. - setList(String, List<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided list, which elements are of the provided Java class. - setList(String, List<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided list, which elements are of the provided Java class. - setList(String, List<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided list. - setLoadBalancingLwtRequestRoutingMethod(QueryOptions.RequestRoutingMethod) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default request routing method to use for LWT queries.
- setLong(int, long) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided long. - setLong(int, long) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided long. - setLong(String, long) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided long. - setLong(String, long) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided long. - setLwtInfo(LwtInfo) - Method in class com.datastax.driver.core.Host
-
Deprecated.lwtInfo should not be manipulated.
- setMap(int, Map<K, V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided map. - setMap(int, Map<K, V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided map. - setMap(int, Map<K, V>, TypeToken<K>, TypeToken<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided map, which keys and values are of the provided Java types. - setMap(int, Map<K, V>, TypeToken<K>, TypeToken<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided map, which keys and values are of the provided Java types. - setMap(int, Map<K, V>, Class<K>, Class<V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided map, which keys and values are of the provided Java classes. - setMap(int, Map<K, V>, Class<K>, Class<V>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided map, which keys and values are of the provided Java classes. - setMap(String, Map<K, V>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided map. - setMap(String, Map<K, V>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided map. - 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
nameto the provided map, which keys and values are of the provided Java types. - 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
nameto the provided map, which keys and values are of the provided Java types. - 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
nameto the provided map, which keys and values are of the provided Java classes. - 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
nameto the provided map, which keys and values are of the provided Java classes. - setMaxConnectionsPerHost(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the maximum number of connections per host.
- setMaxLoggedParameters(int) - Method in class com.datastax.driver.core.QueryLogger
-
Set the maximum number of query parameters that can be logged by the driver.
- setMaxParameterValueLength(int) - Method in class com.datastax.driver.core.QueryLogger
-
Set the maximum length of a query parameter value that can be logged verbatim by the driver.
- setMaxPendingRefreshNodeListRequests(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of node list refresh requests that the control connection can accumulate before executing them.
- setMaxPendingRefreshNodeRequests(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of node refresh requests that the control connection can accumulate before executing them.
- setMaxPendingRefreshSchemaRequests(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the maximum number of schema refresh requests that the control connection can accumulate before executing them.
- setMaxQueryStringLength(int) - Method in class com.datastax.driver.core.QueryLogger
-
Set the maximum length of a CQL query string that can be logged verbatim by the driver.
- setMaxQueueSize(int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the maximum number of requests that get enqueued if no connection is available.
- setMaxRequestsPerConnection(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the maximum number of requests per connection.
- setMetadataEnabled(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Toggle client-side token and schema metadata.
- setNewConnectionThreshold(HostDistance, int) - Method in class com.datastax.driver.core.PoolingOptions
-
Sets the threshold that triggers the creation of a new connection to a host.
- setNowInSeconds(int) - Method in class com.datastax.driver.core.Statement
-
Sets the "now in seconds" to use when applying the request (for testing purposes).
- setNowInSeconds(int) - Method in class com.datastax.driver.core.StatementWrapper
- setOf(TypeToken<T>) - Static method in class com.datastax.driver.core.TypeTokens
- setOf(Class<T>) - Static method in class com.datastax.driver.core.TypeTokens
- 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) - Method in class com.datastax.driver.core.Statement
-
Sets the paging state.
- setPagingState(PagingState) - 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, CodecRegistry) - 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 atoken(...)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.
- setProtocolFeatureStore(ProtocolFeatureStore) - Method in class com.datastax.driver.core.Host
- 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
-
Overrides the default per-host read timeout (
SocketOptions.getReadTimeoutMillis()) for this statement. - setReadTimeoutMillis(int) - Method in class com.datastax.driver.core.StatementWrapper
- setReceiveBufferSize(int) - Method in class com.datastax.driver.core.SocketOptions
-
Sets a hint to the size of the underlying buffers for incoming network I/O.
- setRefreshNodeIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default window size in milliseconds used to debounce node refresh requests.
- setRefreshNodeListIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default window size in milliseconds used to debounce node list refresh requests.
- setRefreshSchemaIntervalMillis(int) - Method in class com.datastax.driver.core.QueryOptions
-
Sets the default window size in milliseconds used to debounce node list refresh requests.
- setReprepareOnUp(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Set whether the driver should re-prepare all cached prepared statements on a host when it marks it back up.
- setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.DefaultPreparedStatement
- setRetryPolicy(RetryPolicy) - Method in interface com.datastax.driver.core.PreparedStatement
-
Convenience method to set a default retry policy for the
BoundStatementcreated from this prepared statement. - setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.Statement
-
Sets the retry policy to use for this query.
- setRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.StatementWrapper
- setReuseAddress(boolean) - Method in class com.datastax.driver.core.SocketOptions
-
Sets whether to enable reuse-address.
- setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the routing key for this bound statement.
- setRoutingKey(ByteBuffer) - Method in class com.datastax.driver.core.DefaultPreparedStatement
- setRoutingKey(ByteBuffer) - Method in interface com.datastax.driver.core.PreparedStatement
-
Sets the routing key for this prepared statement.
- 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.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 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.
- setSchemaQueriesPaged(boolean) - Method in class com.datastax.driver.core.QueryOptions
-
Toggle schema queries paging.
- 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<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided set. - setSet(int, Set<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided set, which elements are of the provided Java type. - setSet(int, Set<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided set, which elements are of the provided Java type. - setSet(int, Set<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided set, which elements are of the provided Java class. - setSet(int, Set<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided set, which elements are of the provided Java class. - setSet(int, Set<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided set. - setSet(String, Set<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided set. - setSet(String, Set<E>, TypeToken<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided set, which elements are of the provided Java type. - setSet(String, Set<E>, TypeToken<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided set, which elements are of the provided Java type. - setSet(String, Set<E>, Class<E>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided set, which elements are of the provided Java class. - setSet(String, Set<E>, Class<E>) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided set, which elements are of the provided Java class. - setSet(String, Set<T>) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided set. - setShardingInfo(ShardingInfo) - Method in class com.datastax.driver.core.Host
-
Deprecated.shardingInfo should not be manipulated.
- setShort(int, short) - Method in class com.datastax.driver.core.BoundStatement
-
Set the
ith value to the provided short. - setShort(int, short) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the
ith value to the provided short. - setShort(String, short) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided short. - setShort(String, short) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided short. - setSkipCQL4MetadataResolveMethod(QueryOptions.CQL4SkipMetadataResolveMethod) - Method in class com.datastax.driver.core.QueryOptions
-
There is known problem in CQL 4.x when prepared statement invalidation could be voided: more info When it happens metadata on client side does not match data and deserialization can go wrong in many ways To avoid driver can disable skip metadata flag to make server respond with metadata on every query.
- 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
ith value to the provided string. - setString(int, String) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided string. - setString(String, String) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided string. - setString(String, String) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided string. - SettableByIndexData<T extends SettableByIndexData<T>> - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be set by index (starting at zero).
- SettableByNameData<T extends SettableData<T>> - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can set by name.
- SettableData<T extends SettableData<T>> - Interface in com.datastax.driver.core
-
Collection of (typed) CQL values that can be set either by index (starting at zero) or by name.
- setTcpNoDelay(boolean) - Method in class com.datastax.driver.core.SocketOptions
-
Sets whether to disable Nagle's algorithm.
- setTime(int, long) - Method in class com.datastax.driver.core.BoundStatement
-
Set the
ith value to the provided time as a long in nanoseconds since midnight. - setTime(int, long) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the
ith 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
nameto 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
nameto the provided time as a long in nanoseconds since midnight. - setTimestamp(int, Date) - Method in class com.datastax.driver.core.BoundStatement
-
Set the
ith value to the provided date. - setTimestamp(int, Date) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Set the
ith value to the provided date. - setTimestamp(String, Date) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided date. - setTimestamp(String, Date) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided date. - setToken(int, Token) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the providedToken. - setToken(String, Token) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided token. - setToNull(int) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value tonull. - setToNull(int) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value tonull. - setToNull(String) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nametonull. - setToNull(String) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nametonull. - setTupleValue(int, TupleValue) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided tuple value. - setTupleValue(int, TupleValue) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith 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
nameto the provided tuple value. - setTupleValue(String, TupleValue) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided tuple value. - setUDTValue(int, UDTValue) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided UDT value. - setUDTValue(int, UDTValue) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith 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
nameto the provided UDT value. - setUDTValue(String, UDTValue) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto 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
ith value to the provided UUID. - setUUID(int, UUID) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith value to the provided UUID. - setUUID(String, UUID) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the value for (all occurrences of) variable
nameto the provided UUID. - setUUID(String, UUID) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided UUID. - setVarint(int, BigInteger) - Method in class com.datastax.driver.core.BoundStatement
-
Sets the
ith value to the provided big integer. - setVarint(int, BigInteger) - Method in interface com.datastax.driver.core.SettableByIndexData
-
Sets the
ith 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
nameto the provided big integer. - setVarint(String, BigInteger) - Method in interface com.datastax.driver.core.SettableByNameData
-
Sets the value for (all occurrences of) variable
nameto the provided big integer. - shardId - Variable in class com.datastax.driver.core.ShardingInfo.ConnectionShardingInfo
- shardId(Token) - Method in class com.datastax.driver.core.ShardingInfo
- shardingInfo - Variable in class com.datastax.driver.core.ShardingInfo.ConnectionShardingInfo
- ShardingInfo - Class in com.datastax.driver.core
-
Keeps the information the driver maintains on data layout of a given node.
- ShardingInfo.ConnectionShardingInfo - Class in com.datastax.driver.core
- shouldAddOriginalContactsToReconnectionPlan() - Method in class com.datastax.driver.core.QueryOptions
- 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.
- shouldConsiderZeroTokenNodesValidPeers() - Method in class com.datastax.driver.core.QueryOptions
- SIMPLE - com.datastax.driver.core.WriteType
-
A write to a single partition key.
- simpleColumns - Variable in class com.datastax.driver.core.schemabuilder.AbstractCreateStatement
- SimpleStatement - Class in com.datastax.driver.core
-
A simple
RegularStatementimplementation built directly from a query string. - SimpleStatement(String) - Constructor for class com.datastax.driver.core.SimpleStatement
-
Creates a new
SimpleStatementwith the provided query string (and no values). - SimpleStatement(String, Object...) - Constructor for class com.datastax.driver.core.SimpleStatement
-
Creates a new
SimpleStatementwith the provided query string and values. - SimpleStatement(String, Map<String, Object>) - Constructor for class com.datastax.driver.core.SimpleStatement
-
Creates a new
SimpleStatementwith the provided query string and named values. - size() - Method in class com.datastax.driver.core.BatchStatement
-
Returns the number of elements in this batch.
- size() - Method in class com.datastax.driver.core.ColumnDefinitions
-
Returns the number of columns described by this
Columnsinstance. - size() - Method in class com.datastax.driver.core.UserType
-
Returns the number of fields in this UDT.
- SIZED_TIERED - com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.Strategy
- 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.
- 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. - SMALLINT - com.datastax.driver.core.DataType.Name
- SMART - com.datastax.driver.core.QueryOptions.CQL4SkipMetadataResolveMethod
- 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.
- SNAPPY - com.datastax.driver.core.ProtocolOptions.Compression
-
Snappy compression
- SNAPPY - com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions.Algorithm
- 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
SocketOptionsinstance 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.
- splitEvenly(int) - Method in class com.datastax.driver.core.TokenRange
-
Splits this range into a number of smaller ranges of equal "size" (referring to the number of tokens, not the actual amount of data).
- SSLOptions - Interface in com.datastax.driver.core
-
Defines how the driver configures SSL connections.
- ssTableSizeInMB(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.LeveledCompactionStrategyOptions
-
The target size for SSTables that use the leveled compaction strategy.
- startOf(long) - Static method in class com.datastax.driver.core.utils.UUIDs
-
Creates a "fake" time-based UUID that sorts as the smallest possible version 1 UUID generated at the provided timestamp.
- Statement - Class in com.datastax.driver.core
-
An executable query.
- statementAsString(Statement) - Method in class com.datastax.driver.core.QueryLogger
- StatementWrapper - Class in com.datastax.driver.core
-
Base class for custom
Statementimplementations that wrap another statement. - StatementWrapper(Statement) - Constructor for class com.datastax.driver.core.StatementWrapper
-
Builds a new instance.
- storeInChannel(Channel) - Method in class com.datastax.driver.core.ProtocolFeatureStore
-
Stores features in a
Host. - strategyClass() - Method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.Strategy
- 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
T
- TableMetadata - Class in com.datastax.driver.core
-
Describes a Table.
- TableOptions<T extends TableOptions> - Class in com.datastax.driver.core.schemabuilder
-
The table options used in a CREATE TABLE or ALTER TABLE statement.
- TableOptions.AdditionalWritePolicyValue - Class in com.datastax.driver.core.schemabuilder
-
Additional Write Policy.
- TableOptions.CachingRowsPerPartition - Class in com.datastax.driver.core.schemabuilder
-
Define the number of rows to be cached per partition when row caching is enabled (this feature is only applicable to Cassandra 2.1.x).
- TableOptions.CompactionOptions<T extends TableOptions.CompactionOptions> - Class in com.datastax.driver.core.schemabuilder
-
Compaction options for a CREATE or ALTER TABLE statement.
- TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions - Class in com.datastax.driver.core.schemabuilder
-
Compaction options specific to the date-tiered strategy.
- TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution - Enum in com.datastax.driver.core.schemabuilder
- TableOptions.CompactionOptions.LeveledCompactionStrategyOptions - Class in com.datastax.driver.core.schemabuilder
-
Compaction options specific to Leveled strategy
- TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions - Class in com.datastax.driver.core.schemabuilder
-
Compaction options specific to SizeTiered strategy
- TableOptions.CompactionOptions.Strategy - Enum in com.datastax.driver.core.schemabuilder
-
Compaction strategies.
- TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions - Class in com.datastax.driver.core.schemabuilder
-
Compaction options specific to the time window strategy.
- TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.CompactionWindowUnit - Enum in com.datastax.driver.core.schemabuilder
- TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.TimeStampResolution - Enum in com.datastax.driver.core.schemabuilder
- TableOptions.CompressionOptions - Class in com.datastax.driver.core.schemabuilder
-
The compression options for a CREATE or ALTER TABLE statement.
- TableOptions.CompressionOptions.Algorithm - Enum in com.datastax.driver.core.schemabuilder
-
Compression algorithms.
- TableOptions.CompressionOptions.NoCompression - Class in com.datastax.driver.core.schemabuilder
- TableOptions.ReadRepairValue - Enum in com.datastax.driver.core.schemabuilder
-
Read Repair modes.
- TableOptions.SpeculativeRetryValue - Class in com.datastax.driver.core.schemabuilder
-
The speculative retry options.
- TableOptionsMetadata - Class in com.datastax.driver.core
- TabletInfo - Class in com.datastax.driver.core
- TabletMap - Class in com.datastax.driver.core
-
Holds currently known tablet mappings.
- TabletMap(Cluster.Manager, ConcurrentMap<TabletMap.KeyspaceTableNamePair, TabletMap.TabletSet>) - Constructor for class com.datastax.driver.core.TabletMap
- TabletMap.HostShardPair - Class in com.datastax.driver.core
-
Simple class to hold UUID of a host and a shard number.
- TabletMap.KeyspaceTableNamePair - Class in com.datastax.driver.core
-
Simple keyspace name and table name pair.
- TabletMap.Tablet - Class in com.datastax.driver.core
-
Represents a single tablet created from tablets-routing-v1 custom payload.
- TabletMap.TabletSet - Class in com.datastax.driver.core
-
Set of tablets bundled with ReadWriteLock to allow concurrent modification for different sets.
- TabletMapListener - Class in com.datastax.driver.core
- TabletMapListener(TabletMap) - Constructor for class com.datastax.driver.core.TabletMapListener
- TABLETS_ROUTING_V1_CUSTOM_PAYLOAD_KEY - Static variable in class com.datastax.driver.core.TabletInfo
- TabletSet() - Constructor for class com.datastax.driver.core.TabletMap.TabletSet
- TARGET_OPTION_NAME - Static variable in class com.datastax.driver.core.IndexMetadata
-
The name of the option used to specify the index target (Cassandra 3.0 onwards).
- text() - Static method in class com.datastax.driver.core.DataType
-
Returns the TEXT type.
- TEXT - com.datastax.driver.core.DataType.Name
- ThreadingOptions - Class in com.datastax.driver.core
-
A set of hooks that allow clients to customize the driver's internal executors.
- ThreadingOptions() - Constructor for class com.datastax.driver.core.ThreadingOptions
- ThreadLocalMonotonicTimestampGenerator - Class in com.datastax.driver.core
-
A timestamp generator that guarantees monotonically increasing timestamps on a per-thread basis, and logs warnings when timestamps drift in the future.
- ThreadLocalMonotonicTimestampGenerator() - Constructor for class com.datastax.driver.core.ThreadLocalMonotonicTimestampGenerator
-
Creates a new instance with a warning threshold and warning interval of one second.
- ThreadLocalMonotonicTimestampGenerator(long, TimeUnit, long, TimeUnit) - Constructor for class com.datastax.driver.core.ThreadLocalMonotonicTimestampGenerator
-
Creates a new instance.
- THREE - com.datastax.driver.core.ConsistencyLevel
- time() - Static method in class com.datastax.driver.core.DataType
-
Returns the TIME type.
- time() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
time. - TIME - com.datastax.driver.core.DataType.Name
- TIME_WINDOW - com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.Strategy
- timeBased() - Static method in class com.datastax.driver.core.utils.UUIDs
-
Creates a new time-based (version 1) UUID.
- timeout(Duration) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Adds a
USING TIMEOUTclause to this statement with aDurationvalue. - timeout(BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Adds a
USING TIMEOUTclause to this statement with a bind marker. - timer(ThreadFactory) - Method in class com.datastax.driver.core.NettyOptions
-
Return the
Timerinstance used by Read Timeouts and Speculative Execution. - timestamp() - Static method in class com.datastax.driver.core.DataType
-
Returns the TIMESTAMP type.
- timestamp() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
timestamp. - timestamp(long) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Option to set the timestamp for a modification query (insert, update or delete).
- timestamp(BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Option to prepare the timestamp (in microseconds) for a modification query (insert, update or delete).
- TIMESTAMP - com.datastax.driver.core.DataType.Name
- TimestampGenerator - Interface in com.datastax.driver.core
-
Generates client-side, microsecond-precision query timestamps.
- timestampResolution(TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions
-
Sets the timestamp resolution, depending on the timestamp unit of the data you insert.
- timestampResolution(TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.TimeStampResolution) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions
-
Sets the timestamp resolution, depending on the timestamp unit of the data you insert.
- timeuuid() - Static method in class com.datastax.driver.core.DataType
-
Returns the TIMEUUID type.
- timeUUID() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
timeuuid. - TIMEUUID - com.datastax.driver.core.DataType.Name
- timeWindowCompactionStrategy() - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Create options for the time window compaction strategy, to use in a CREATE or ALTER TABLE statement.
- tinyint() - Static method in class com.datastax.driver.core.DataType
-
Returns the TINYINT type.
- tinyInt() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
tinyint. - TINYINT - com.datastax.driver.core.DataType.Name
- to(String) - Method in class com.datastax.driver.core.schemabuilder.Alter.RenameColumn
-
Define the new name of the column.
- toBytes() - Method in class com.datastax.driver.core.PagingState
-
Return a representation of the paging state object as a byte array.
- toHexString(byte[]) - Static method in class com.datastax.driver.core.utils.Bytes
-
Converts a blob to its CQL hex string representation.
- toHexString(ByteBuffer) - Static method in class com.datastax.driver.core.utils.Bytes
-
Converts a blob to its CQL hex string representation.
- toInt() - Method in enum com.datastax.driver.core.ProtocolVersion
-
Returns the version as an integer.
- toJson(Object) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a
toJson()function call. - toJson(String) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Creates a
toJson()function call. - toJson(String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- token(Object...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Returns a generic
tokenfunction call. - token(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
The token of a column name.
- token(String...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
The token of column names.
- Token - Class in com.datastax.driver.core
-
A token on the Cassandra ring.
- Token() - Constructor for class com.datastax.driver.core.Token
- TokenAwarePolicy - Class in com.datastax.driver.core.policies
-
A wrapper load balancing policy that adds token awareness to a child policy.
- TokenAwarePolicy(LoadBalancingPolicy) - Constructor for class com.datastax.driver.core.policies.TokenAwarePolicy
-
Creates a new
TokenAwarepolicy withRANDOMreplica ordering. - TokenAwarePolicy(LoadBalancingPolicy, boolean) - Constructor for class com.datastax.driver.core.policies.TokenAwarePolicy
-
Deprecated.Use
TokenAwarePolicy(LoadBalancingPolicy, ReplicaOrdering)instead. This constructor will be removed in the next major release. - TokenAwarePolicy(LoadBalancingPolicy, TokenAwarePolicy.ReplicaOrdering) - Constructor for class com.datastax.driver.core.policies.TokenAwarePolicy
-
Creates a new
TokenAwarepolicy. - TokenAwarePolicy.ReplicaOrdering - Enum in com.datastax.driver.core.policies
-
Strategies for replica ordering.
- TokenRange - Class in com.datastax.driver.core
-
A range of tokens on the Cassandra ring.
- tombstoneCompactionIntervalInDay(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions
-
Define the minimum number of days to wait after an SSTable creation time before considering the SSTable for tombstone compaction.
- tombstoneThreshold(Double) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions
-
Define the ratio of garbage-collectable tombstones to all contained columns, which if exceeded by the SSTable triggers compaction (with no other SSTables) for the purpose of purging the tombstones.
- TOPOLOGICAL - com.datastax.driver.core.policies.TokenAwarePolicy.ReplicaOrdering
-
Order replicas by token ring topology, i.e. always return the "primary" replica first, then the second, etc., according to the placement of replicas around the token ring.
- toRawHexString(ByteBuffer) - Static method in class com.datastax.driver.core.utils.Bytes
-
Converts a blob to its CQL hex string representation.
- toString() - Method in class com.datastax.driver.core.AbstractTableMetadata
- toString() - Method in class com.datastax.driver.core.AggregateMetadata
- toString() - Method in class com.datastax.driver.core.ColumnDefinitions
- toString() - Method in class com.datastax.driver.core.ColumnMetadata
- toString() - Method in class com.datastax.driver.core.DataType.CollectionType
- toString() - Method in class com.datastax.driver.core.DataType.CustomType
- toString() - Method in enum com.datastax.driver.core.DataType.Name
- toString() - Method in class com.datastax.driver.core.DataType.NativeType
- toString() - Method in class com.datastax.driver.core.Duration
- toString() - Method in class com.datastax.driver.core.FunctionMetadata
- toString() - Method in class com.datastax.driver.core.Host
- toString() - Method in class com.datastax.driver.core.KeyspaceMetadata
- toString() - Method in class com.datastax.driver.core.LocalDate
- toString() - Method in class com.datastax.driver.core.PagingState
- toString() - Method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
- toString() - Method in enum com.datastax.driver.core.ProtocolOptions.Compression
- toString() - Method in class com.datastax.driver.core.querybuilder.BindMarker
- toString() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
- toString() - Method in class com.datastax.driver.core.QueryTrace.Event
- toString() - Method in class com.datastax.driver.core.QueryTrace
- toString() - Method in class com.datastax.driver.core.RegularStatement
-
Returns this statement as a CQL query string.
- toString() - Method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.Strategy
- toString() - Method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions.Algorithm
- toString() - Method in enum com.datastax.driver.core.schemabuilder.TableOptions.ReadRepairValue
- toString() - Method in class com.datastax.driver.core.SniEndPoint
- toString() - Method in class com.datastax.driver.core.TabletMap.HostShardPair
- toString() - Method in class com.datastax.driver.core.TabletMap.KeyspaceTableNamePair
- toString() - Method in class com.datastax.driver.core.TabletMap.Tablet
- toString() - Method in class com.datastax.driver.core.TokenRange
- toString() - Method in class com.datastax.driver.core.TupleType
- toString() - Method in class com.datastax.driver.core.TupleValue
- toString() - Method in class com.datastax.driver.core.TypeCodec
- toString() - Method in class com.datastax.driver.core.UDTValue
- toString() - Method in class com.datastax.driver.core.UserType.Field
- toString() - Method in class com.datastax.driver.core.UserType
- toString() - Method in class com.datastax.driver.core.VersionNumber
- TraceRetrievalException - Exception in com.datastax.driver.core.exceptions
-
Exception thrown if a query trace cannot be retrieved.
- TraceRetrievalException(String) - Constructor for exception com.datastax.driver.core.exceptions.TraceRetrievalException
- TraceRetrievalException(String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.TraceRetrievalException
- TransitionalModePlainTextAuthenticator() - Constructor for class com.datastax.driver.core.AuthProvider.TransitionalModePlainTextAuthenticator
- translate(InetSocketAddress) - Method in interface com.datastax.driver.core.policies.AddressTranslator
-
Translates a Cassandra
rpc_addressto another address if necessary. - translate(InetSocketAddress) - Method in class com.datastax.driver.core.policies.EC2MultiRegionAddressTranslator
- translate(InetSocketAddress) - Method in class com.datastax.driver.core.policies.IdentityTranslator
-
Translates a Cassandra
rpc_addressto another address if necessary. - TransportException - Exception in com.datastax.driver.core.exceptions
-
A connection exception that has to do with the transport itself, i.e. that suggests the node is down.
- TransportException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.TransportException
- TransportException(EndPoint, String, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.TransportException
- truncate(TableMetadata) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a new
TRUNCATEquery. - truncate(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a new
TRUNCATEquery. - truncate(String, String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a new
TRUNCATEquery. - Truncate - Class in com.datastax.driver.core.querybuilder
-
A built TRUNCATE statement.
- TruncateException - Exception in com.datastax.driver.core.exceptions
-
Error during a truncation operation.
- TruncateException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.TruncateException
- tryNextHost(ConsistencyLevel) - Static method in class com.datastax.driver.core.policies.RetryPolicy.RetryDecision
-
Creates a
RetryPolicy.RetryDecision.Type.RETRYretry decision using the next host in the query plan, and using the provided consistency level. - tryReconnectOnce() - Method in class com.datastax.driver.core.Host
-
Triggers an asynchronous reconnection attempt to this host.
- ttl(int) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Option to set the ttl for a modification query (insert, update or delete).
- ttl(BindMarker) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Option to prepare the ttl (in seconds) for a modification query (insert, update or delete).
- ttl(String) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Selects the ttl of provided column.
- ttl(String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- tuple(TupleType) - Static method in class com.datastax.driver.core.TypeCodec
-
Return a newly-created codec for the given CQL tuple type.
- TUPLE - com.datastax.driver.core.DataType.Name
- TupleType - Class in com.datastax.driver.core
-
A tuple type.
- TupleValue - Class in com.datastax.driver.core
-
A value for a Tuple.
- TWO - com.datastax.driver.core.ConsistencyLevel
- type(DataType) - Method in class com.datastax.driver.core.schemabuilder.Alter.AddColumn
-
Define the type of the added column.
- type(DataType) - Method in class com.datastax.driver.core.schemabuilder.Alter.AlterColumn
-
Define the new type of the altered column.
- TypeCodec<T> - Class in com.datastax.driver.core
- TypeCodec(DataType, TypeToken<T>) - Constructor for class com.datastax.driver.core.TypeCodec
- TypeCodec(DataType, Class<T>) - Constructor for class com.datastax.driver.core.TypeCodec
-
This constructor can only be used for non parameterized types.
- TypeCodec.AbstractCollectionCodec<E,C extends Collection<E>> - Class in com.datastax.driver.core
- TypeCodec.AbstractMapCodec<K,V> - Class in com.datastax.driver.core
- TypeCodec.AbstractTupleCodec<T> - Class in com.datastax.driver.core
-
Base class for codecs mapping CQL
tuplesto Java objects. - TypeCodec.AbstractUDTCodec<T> - Class in com.datastax.driver.core
-
Base class for codecs mapping CQL
user-defined types(UDTs) to Java objects. - TypeCodec.PrimitiveBooleanCodec - Class in com.datastax.driver.core
-
A codec that is capable of handling primitive booleans, thus avoiding the overhead of boxing and unboxing such primitives.
- TypeCodec.PrimitiveByteCodec - Class in com.datastax.driver.core
-
A codec that is capable of handling primitive bytes, thus avoiding the overhead of boxing and unboxing such primitives.
- TypeCodec.PrimitiveDoubleCodec - Class in com.datastax.driver.core
-
A codec that is capable of handling primitive doubles, thus avoiding the overhead of boxing and unboxing such primitives.
- TypeCodec.PrimitiveFloatCodec - Class in com.datastax.driver.core
-
A codec that is capable of handling primitive floats, thus avoiding the overhead of boxing and unboxing such primitives.
- TypeCodec.PrimitiveIntCodec - Class in com.datastax.driver.core
-
A codec that is capable of handling primitive ints, thus avoiding the overhead of boxing and unboxing such primitives.
- TypeCodec.PrimitiveLongCodec - Class in com.datastax.driver.core
-
A codec that is capable of handling primitive longs, thus avoiding the overhead of boxing and unboxing such primitives.
- TypeCodec.PrimitiveShortCodec - Class in com.datastax.driver.core
-
A codec that is capable of handling primitive shorts, thus avoiding the overhead of boxing and unboxing such primitives.
- TypeTokens - Class in com.datastax.driver.core
-
Utility methods to create
TypeTokeninstances.
U
- UDT - com.datastax.driver.core.DataType.Name
- udtLiteral(String) - Static method in class com.datastax.driver.core.schemabuilder.SchemaBuilder
-
Build the datatype representation of a complex UDT type, to include in a schema builder statement.
- udtType(UDTType) - Method in class com.datastax.driver.core.schemabuilder.Alter.AddColumn
-
Define the type of the added column, when that type contains a UDT.
- udtType(UDTType) - Method in class com.datastax.driver.core.schemabuilder.Alter.AlterColumn
-
Define the new type of the altered column, when that type contains a UDT.
- UDTType - Class in com.datastax.driver.core.schemabuilder
-
Represents a CQL type containing a user-defined type (UDT) in a SchemaBuilder statement.
- UDTValue - Class in com.datastax.driver.core
-
A value for a User Defined Type.
- UnauthorizedException - Exception in com.datastax.driver.core.exceptions
-
Indicates that a query cannot be performed due to the authorization restrictions of the logged user.
- UnauthorizedException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.UnauthorizedException
- UNAVAILABLE - Static variable in exception com.datastax.driver.core.exceptions.OperationTimedOutException
-
Sentinel value returned by
OperationTimedOutException.getConfiguredTimeoutMs(),OperationTimedOutException.getConnectionInFlight(),OperationTimedOutException.getPoolPendingBorrows(), andOperationTimedOutException.getPoolTotalInFlight()when the corresponding information was not available at the time the exception was created. - UnavailableException - Exception in com.datastax.driver.core.exceptions
-
Exception thrown when the coordinator knows there is not enough replicas alive to perform a query with the requested consistency level.
- UnavailableException(ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.UnavailableException
-
This constructor should only be used internally by the driver when decoding error responses.
- UnavailableException(EndPoint, ConsistencyLevel, int, int) - Constructor for exception com.datastax.driver.core.exceptions.UnavailableException
- uncheckedTombstoneCompaction(Boolean) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions
-
Enables more aggressive than normal tombstone compactions.
- unDoubleQuote(String) - Static method in class com.datastax.driver.core.ParseUtils
-
Unquote the given string if it is double quoted; double quotes are unescaped.
- unixTimestamp(UUID) - Static method in class com.datastax.driver.core.utils.UUIDs
-
Return the Unix timestamp contained by the provided time-based UUID.
- UNLOGGED - com.datastax.driver.core.BatchStatement.Type
-
A batch that doesn't use Cassandra's distributed batch log.
- UNLOGGED_BATCH - com.datastax.driver.core.WriteType
-
A write to a multiple partition key that doesn't use the distributed batch log.
- unloggedBatch(RegularStatement...) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Builds a new
UNLOGGED BATCHquery on the provided statements. - UnpreparedException - Exception in com.datastax.driver.core.exceptions
-
Indicates that the contacted host replied with an UNPREPARED error code.
- UnpreparedException(EndPoint, String) - Constructor for exception com.datastax.driver.core.exceptions.UnpreparedException
- unquote(String) - Static method in class com.datastax.driver.core.ParseUtils
-
Unquote the given string if it is quoted; single quotes are unescaped.
- unregister(Host.StateListener) - Method in class com.datastax.driver.core.Cluster
-
Unregisters the provided listener from being notified on hosts events.
- unregister(Host.StateListener) - Method in class com.datastax.driver.core.DelegatingCluster
- unregister(LatencyTracker) - Method in class com.datastax.driver.core.Cluster
-
Unregisters the provided latency tracking from being updated with host read latencies.
- unregister(LatencyTracker) - Method in class com.datastax.driver.core.DelegatingCluster
- unregister(SchemaChangeListener) - Method in class com.datastax.driver.core.Cluster
-
Unregisters the provided schema change listener from being updated with schema change events.
- unregister(SchemaChangeListener) - Method in class com.datastax.driver.core.DelegatingCluster
- UnresolvedUserTypeException - Exception in com.datastax.driver.core.exceptions
-
Thrown when a user type cannot be resolved.
- UnresolvedUserTypeException(String, String) - Constructor for exception com.datastax.driver.core.exceptions.UnresolvedUserTypeException
- unsafeAggressiveSSTableExpiration(Boolean) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions
-
Allow expired sstables to be dropped without checking if its data is shadowing other sstables.
- unset(int) - Method in class com.datastax.driver.core.BoundStatement
-
Unsets the
ith variable. - unset(String) - Method in class com.datastax.driver.core.BoundStatement
-
Unsets all occurrences of variable
name. - UNSET - Static variable in class com.datastax.driver.core.PoolingOptions
-
The value returned for connection options when they have not been set by the client, and the protocol version is not known yet.
- UnsupportedFeatureException - Exception in com.datastax.driver.core.exceptions
-
Exception thrown when a feature is not supported by the native protocol currently in use.
- UnsupportedFeatureException(ProtocolVersion, String) - Constructor for exception com.datastax.driver.core.exceptions.UnsupportedFeatureException
- UnsupportedProtocolVersionException - Exception in com.datastax.driver.core.exceptions
-
Indicates that we've attempted to connect to a Cassandra node with a protocol version that it cannot handle (e.g., connecting to a C* 1.2 node with protocol version 2).
- UnsupportedProtocolVersionException(EndPoint, ProtocolVersion, ProtocolVersion) - Constructor for exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
- UnsupportedProtocolVersionException(EndPoint, ProtocolVersion, ProtocolVersion, Throwable) - Constructor for exception com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException
- unwrap() - Method in class com.datastax.driver.core.TokenRange
-
Splits this range into a list of two non-wrapping ranges.
- update(Host, Statement, Exception, long) - Method in interface com.datastax.driver.core.LatencyTracker
-
A method that is called after each request to a Cassandra node with the duration of that operation.
- update(Host, Statement, Exception, long) - Method in class com.datastax.driver.core.PercentileTracker
- update(Host, Statement, Exception, long) - Method in class com.datastax.driver.core.QueryLogger
-
A method that is called after each request to a Cassandra node with the duration of that operation.
- update(TableMetadata) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new
UPDATEquery. - update(String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new
UPDATEquery. - update(String, String) - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Starts building a new
UPDATEquery. - Update - Class in com.datastax.driver.core.querybuilder
-
A built UPDATE statement.
- Update.Assignments - Class in com.datastax.driver.core.querybuilder
-
The assignments of an UPDATE statement.
- Update.Conditions - Class in com.datastax.driver.core.querybuilder
-
Conditions for an UPDATE statement.
- Update.IfExists - Class in com.datastax.driver.core.querybuilder
- Update.Options - Class in com.datastax.driver.core.querybuilder
-
The options of a UPDATE statement.
- Update.Where - Class in com.datastax.driver.core.querybuilder
-
The WHERE clause of an UPDATE statement.
- userType(UserType) - Static method in class com.datastax.driver.core.TypeCodec
-
Return a newly-created codec for the given user-defined CQL type.
- UserType - Class in com.datastax.driver.core
-
A User Defined Type (UDT).
- UserType.Field - Class in com.datastax.driver.core
-
A UDT field.
- usesNamedValues() - Method in class com.datastax.driver.core.querybuilder.BuiltStatement
- usesNamedValues() - Method in class com.datastax.driver.core.RegularStatement
-
Whether this statement uses named values.
- usesNamedValues() - Method in class com.datastax.driver.core.schemabuilder.SchemaStatement
- usesNamedValues() - Method in class com.datastax.driver.core.SimpleStatement
- usesTablets() - Method in class com.datastax.driver.core.KeyspaceMetadata
- using() - Method in class com.datastax.driver.core.querybuilder.Delete
-
Returns the options for this DELETE statement.
- using() - Method in class com.datastax.driver.core.querybuilder.Insert
-
Returns the options for this
INSERTstatement. - using(Using) - Method in class com.datastax.driver.core.querybuilder.Batch
-
Adds a new options for this BATCH statement.
- using(Using) - Method in class com.datastax.driver.core.querybuilder.Delete.Conditions
-
Adds an option to the DELETE statement these conditions are part of.
- using(Using) - Method in class com.datastax.driver.core.querybuilder.Delete
-
Adds a new options for this DELETE statement.
- using(Using) - Method in class com.datastax.driver.core.querybuilder.Delete.Where
-
Adds an option to the DELETE statement this WHERE clause is part of.
- using(Using) - Method in class com.datastax.driver.core.querybuilder.Insert
-
Adds a new options for this
INSERTstatement. - using(Using) - Method in class com.datastax.driver.core.querybuilder.Select
-
Adds a new options for this SELECT statement.
- using(Using) - Method in class com.datastax.driver.core.querybuilder.Select.Where
-
Adds an option to the SELECT statement this WHERE clause is part of.
- using(Using) - Method in class com.datastax.driver.core.querybuilder.Update.Assignments
-
Adds an option to the UPDATE statement those assignments are part of.
- using(Using) - Method in class com.datastax.driver.core.querybuilder.Update.Conditions
-
Adds an option to the UPDATE statement these conditions are part of.
- using(Using) - Method in class com.datastax.driver.core.querybuilder.Update
-
Adds a new options for this UPDATE statement.
- using(Using) - Method in class com.datastax.driver.core.querybuilder.Update.Where
-
Adds an option to the UPDATE statement this WHERE clause is part of.
- Using - Class in com.datastax.driver.core.querybuilder
- uuid() - Static method in class com.datastax.driver.core.DataType
-
Returns the UUID type.
- uuid() - Static method in class com.datastax.driver.core.querybuilder.QueryBuilder
-
Creates a
uuid()function call. - uuid() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
uuid. - UUID - com.datastax.driver.core.DataType.Name
- UUIDs - Class in com.datastax.driver.core.utils
-
Utility methods to help working with UUIDs, and more specifically, with time-based UUIDs (also known as Version 1 UUIDs).
V
- V1 - com.datastax.driver.core.ProtocolVersion
- V2 - com.datastax.driver.core.ProtocolVersion
- V3 - com.datastax.driver.core.ProtocolVersion
- V4 - com.datastax.driver.core.ProtocolVersion
- V5 - com.datastax.driver.core.ProtocolVersion
- V6 - com.datastax.driver.core.ProtocolVersion
- value() - Method in class com.datastax.driver.core.schemabuilder.TableOptions.AdditionalWritePolicyValue
- value() - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CachingRowsPerPartition
- value() - Method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions.Algorithm
- value() - Method in enum com.datastax.driver.core.schemabuilder.TableOptions.ReadRepairValue
- value(String, Object) - Method in class com.datastax.driver.core.querybuilder.Insert.Options
-
Adds a column/value pair to the values inserted by this
INSERTstatement. - value(String, Object) - Method in class com.datastax.driver.core.querybuilder.Insert
-
Adds a column/value pair to the values inserted by this
INSERTstatement. - valueCodec - Variable in class com.datastax.driver.core.TypeCodec.AbstractMapCodec
- valueOf(String) - Static method in enum com.datastax.driver.core.BatchStatement.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.ClusteringOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.ConsistencyLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.DataType.Name
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.HostDistance
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.IndexMetadata.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.policies.RetryPolicy.RetryDecision.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.policies.TokenAwarePolicy.ReplicaOrdering
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.ProtocolOptions.Compression
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.ProtocolVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.QueryOptions.CQL4SkipMetadataResolveMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.QueryOptions.RequestRoutingMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.schemabuilder.SchemaBuilder.Caching
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.schemabuilder.SchemaBuilder.Direction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.schemabuilder.SchemaBuilder.KeyCaching
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.CompactionWindowUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.TimeStampResolution
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions.Algorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.ReadRepairValue
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.datastax.driver.core.WriteType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.datastax.driver.core.BatchStatement.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.ClusteringOrder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.ConsistencyLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.DataType.Name
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.HostDistance
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.IndexMetadata.Kind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.policies.RetryPolicy.RetryDecision.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.policies.TokenAwarePolicy.ReplicaOrdering
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.ProtocolOptions.Compression
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.ProtocolVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.QueryOptions.CQL4SkipMetadataResolveMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.QueryOptions.RequestRoutingMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.schemabuilder.SchemaBuilder.Caching
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.schemabuilder.SchemaBuilder.Direction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.schemabuilder.SchemaBuilder.KeyCaching
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.Strategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.CompactionWindowUnit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.TimeStampResolution
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions.Algorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.schemabuilder.TableOptions.ReadRepairValue
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.datastax.driver.core.WriteType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values(String[], Object[]) - Method in class com.datastax.driver.core.querybuilder.Insert.Options
-
Adds multiple column/value pairs to the values inserted by this
INSERTstatement. - values(String[], Object[]) - Method in class com.datastax.driver.core.querybuilder.Insert
-
Adds multiple column/value pairs to the values inserted by this INSERT statement.
- values(List<String>, List<Object>) - Method in class com.datastax.driver.core.querybuilder.Insert
-
Adds multiple column/value pairs to the values inserted by this INSERT statement.
- valuesCount() - Method in class com.datastax.driver.core.SimpleStatement
-
The number of values for this statement, that is the size of the array that will be returned by
getValues. - varchar() - Static method in class com.datastax.driver.core.DataType
-
Returns the VARCHAR type.
- varchar() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
varchar. - VARCHAR - com.datastax.driver.core.DataType.Name
- varint() - Static method in class com.datastax.driver.core.DataType
-
Returns the VARINT type.
- varint() - Static method in class com.datastax.driver.core.TypeCodec
-
Return the default codec for the CQL type
varint. - VARINT - com.datastax.driver.core.DataType.Name
- VersionNumber - Class in com.datastax.driver.core
-
A version number in the form X.Y.Z with optional pre-release labels and build metadata.
- VIEW - com.datastax.driver.core.WriteType
-
Indicates that the timeout was related to acquiring locks needed for updating materialized views affected by write operation.
- VOID_SUCCESS - Static variable in class com.datastax.driver.core.utils.MoreFutures
-
An immediate successful
ListenableFuture<Void>.
W
- wasApplied() - Method in interface com.datastax.driver.core.ResultSet
-
If the query that produced this ResultSet was a conditional update, return whether it was successfully applied.
- wasDataRetrieved() - Method in exception com.datastax.driver.core.exceptions.ReadFailureException
-
Whether the actual data was amongst the received replica responses.
- wasDataRetrieved() - Method in exception com.datastax.driver.core.exceptions.ReadTimeoutException
-
Whether the actual data was amongst the received replica responses.
- wasTableCreation() - Method in exception com.datastax.driver.core.exceptions.AlreadyExistsException
-
Returns whether the query yielding this exception was a table creation attempt.
- where() - Method in class com.datastax.driver.core.querybuilder.Delete
-
Returns a Where statement for this query without adding clause.
- where() - Method in class com.datastax.driver.core.querybuilder.Select
-
Returns a
WHEREstatement for this query without adding clause. - where() - Method in class com.datastax.driver.core.querybuilder.Update
-
Returns a Where statement for this query without adding clause.
- where(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete.Conditions
-
Adds a where clause to the DELETE statement these conditions are part of.
- where(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete.Options
-
Adds a where clause to the DELETE statement these options are part of.
- where(Clause) - Method in class com.datastax.driver.core.querybuilder.Delete
-
Adds a WHERE clause to this statement.
- where(Clause) - Method in class com.datastax.driver.core.querybuilder.Select
-
Adds a
WHEREclause to this statement. - where(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Assignments
-
Adds a where clause to the UPDATE statement those assignments are part of.
- where(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Conditions
-
Adds a where clause to the UPDATE statement these conditions are part of.
- where(Clause) - Method in class com.datastax.driver.core.querybuilder.Update.Options
-
Adds a where clause to the UPDATE statement these options are part of.
- where(Clause) - Method in class com.datastax.driver.core.querybuilder.Update
-
Adds a WHERE clause to this statement.
- WhiteListPolicy - Class in com.datastax.driver.core.policies
-
A load balancing policy wrapper that ensure that only hosts from a provided white list will ever be returned.
- WhiteListPolicy(LoadBalancingPolicy, Collection<InetSocketAddress>) - Constructor for class com.datastax.driver.core.policies.WhiteListPolicy
-
Creates a new policy that wraps the provided child policy but only "allows" hosts from the provided white list.
- with() - Method in class com.datastax.driver.core.querybuilder.Update
-
Returns the assignments of this UPDATE statement.
- with() - Method in class com.datastax.driver.core.schemabuilder.AlterKeyspace
-
Add options for this ALTER KEYSPACE statement.
- with() - Method in class com.datastax.driver.core.schemabuilder.CreateKeyspace
-
Add options for this CREATE KEYSPACE statement.
- with(Assignment) - Method in class com.datastax.driver.core.querybuilder.Update.Conditions
-
Adds an assignment to the UPDATE statement those conditions are part of.
- with(Assignment) - Method in class com.datastax.driver.core.querybuilder.Update.Options
-
Adds an assignment to the UPDATE statement those options are part of.
- with(Assignment) - Method in class com.datastax.driver.core.querybuilder.Update.Where
-
Adds an assignment to the UPDATE statement this WHERE clause is part of.
- with(Assignment) - Method in class com.datastax.driver.core.querybuilder.Update
-
Adds an assignment to this UPDATE statement.
- withAddressTranslator(AddressTranslator) - Method in class com.datastax.driver.core.Cluster.Builder
-
Configures the address translator to use for the new cluster.
- withAddressTranslator(AddressTranslator) - Method in class com.datastax.driver.core.policies.Policies.Builder
-
Sets the address translator.
- withApplicationInfo(ApplicationInfo) - Method in class com.datastax.driver.core.Cluster.Builder
-
Sets application information provider, every connection on startup sends this information to the server.
- withApplicationInfo(ApplicationInfo) - Method in class com.datastax.driver.core.Configuration.Builder
-
Sets application information provider.
- withAuthProvider(AuthProvider) - Method in class com.datastax.driver.core.Cluster.Builder
-
Use the specified AuthProvider when connecting to Cassandra hosts.
- withChunkLengthInKb(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions.NoCompression
- withChunkLengthInKb(Integer) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions
-
On disk, SSTables are compressed by block to allow random reads.
- withCipherSuites(String[]) - Method in class com.datastax.driver.core.JdkSSLOptions.Builder
-
Deprecated.Set the cipher suites to use.
- withCipherSuites(String[]) - Method in class com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions.Builder
- withCipherSuites(String[]) - Method in class com.datastax.driver.core.SniSSLOptions.Builder
- withClusterName(String) - Method in class com.datastax.driver.core.Cluster.Builder
-
An optional name for the create cluster.
- withCodecRegistry(CodecRegistry) - Method in class com.datastax.driver.core.Cluster.Builder
-
Configures the
CodecRegistryinstance to use for the new cluster. - withCodecRegistry(CodecRegistry) - Method in class com.datastax.driver.core.Configuration.Builder
-
Sets the codec registry for this cluster.
- withCompression(ProtocolOptions.Compression) - Method in class com.datastax.driver.core.Cluster.Builder
-
Sets the compression to use for the transport.
- withConstantThreshold(long) - Method in class com.datastax.driver.core.QueryLogger.Builder
-
Enables slow query latency tracking based on constant thresholds.
- withCRCCheckChance(Double) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions.NoCompression
- withCRCCheckChance(Double) - Method in class com.datastax.driver.core.schemabuilder.TableOptions.CompressionOptions
-
When compression is enabled, each compressed block includes a checksum of that block for the purpose of detecting disk bitrate and avoiding the propagation of corruption to other replica.
- withCredentials(String, String) - Method in class com.datastax.driver.core.Cluster.Builder
-
Uses the provided credentials when connecting to Cassandra hosts.
- withDefaultKeyspace(String) - Method in class com.datastax.driver.core.Configuration.Builder
- withDriverConfigReporting(boolean) - Method in class com.datastax.driver.core.Cluster.Builder
-
Enables or disables driver configuration reporting, i.e. whether the control connection sends a
DRIVER_CONFIGJSON blob describing the effective driver configuration in its startup options. - withDriverConfigReporting(boolean) - Method in class com.datastax.driver.core.Configuration.Builder
-
Enables or disables driver configuration reporting (the
DRIVER_CONFIGstartup option sent by the control connection). - withDynamicThreshold(PercentileTracker, double) - Method in class com.datastax.driver.core.QueryLogger.Builder
-
Enables slow query latency tracking based on dynamic thresholds.
- withEndPointFactory(EndPointFactory) - Method in class com.datastax.driver.core.Cluster.Builder
-
Configures the endpoint factory to use for the new cluster.
- withEndPointFactory(EndPointFactory) - Method in class com.datastax.driver.core.policies.Policies.Builder
- withErrorsFilter(ErrorAwarePolicy.ErrorFilter) - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy.Builder
-
Provides a filter that will decide which errors are counted towards
ErrorAwarePolicy.Builder.withMaxErrorsPerMinute(int). - withExclusionThreshold(double) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
-
Sets the exclusion threshold to use for the resulting latency aware policy.
- withInitialListeners(Collection<Host.StateListener>) - Method in class com.datastax.driver.core.Cluster.Builder
-
Register the provided listeners in the newly created cluster.
- withInterval(long, TimeUnit) - Method in class com.datastax.driver.core.PercentileTracker.Builder
-
Sets the time interval over which samples are recorded.
- withLoadBalancingPolicy(LoadBalancingPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
-
Configures the load balancing policy to use for the new cluster.
- withLoadBalancingPolicy(LoadBalancingPolicy) - Method in class com.datastax.driver.core.policies.Policies.Builder
-
Sets the load balancing policy.
- withLocalDc(String) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy.Builder
-
Sets the name of the datacenter that will be considered "local" by the policy.
- withLocalDc(String) - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy.Builder
-
Sets the name of the datacenter that will be considered "local" by the policy.
- withLocalPortRange(int, int) - Method in class com.datastax.driver.core.Cluster.Builder
-
Sets local port range for use by advanced shard awareness.
- withLocalRack(String) - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy.Builder
-
Sets the name of the rack that will be considered "local" by the policy.
- withMaxErrorsPerMinute(int) - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy.Builder
-
Defines the maximum number of errors allowed per minute for each host.
- withMaxLoggedParameters(int) - Method in class com.datastax.driver.core.QueryLogger.Builder
-
Set the maximum number of query parameters that can be logged by the driver.
- withMaxParameterValueLength(int) - Method in class com.datastax.driver.core.QueryLogger.Builder
-
Set the maximum length of a query parameter value that can be logged verbatim by the driver.
- withMaxQueryStringLength(int) - Method in class com.datastax.driver.core.QueryLogger.Builder
-
Set the maximum length of a CQL query string that can be logged verbatim by the driver.
- withMaxSchemaAgreementWaitSeconds(int) - Method in class com.datastax.driver.core.Cluster.Builder
-
Sets the maximum time to wait for schema agreement before returning from a DDL query.
- withMetricsOptions(MetricsOptions) - Method in class com.datastax.driver.core.Configuration.Builder
-
Sets the metrics options for this cluster.
- withMininumMeasurements(int) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
-
Sets the minimum number of measurements per-host to consider for the resulting latency aware policy.
- withMinRecordedValues(int) - Method in class com.datastax.driver.core.PercentileTracker.Builder
-
Sets the minimum number of values that must be recorded for a host before we consider the sample size significant.
- withNettyOptions(NettyOptions) - Method in class com.datastax.driver.core.Cluster.Builder
-
Set the
NettyOptionsto use for the newly created Cluster. - withNettyOptions(NettyOptions) - Method in class com.datastax.driver.core.Configuration.Builder
-
Sets the Netty options for this cluster.
- withNoCompact() - Method in class com.datastax.driver.core.Cluster.Builder
-
Enables the
NO_COMPACTstartup option. - withNumberOfSignificantValueDigits(int) - Method in class com.datastax.driver.core.PercentileTracker.Builder
-
Sets the number of significant decimal digits to which histograms will maintain value resolution and separation.
- withOptions() - Method in class com.datastax.driver.core.schemabuilder.Alter
-
Add options (WITH clause) to this ALTER TABLE statement.
- withOptions() - Method in class com.datastax.driver.core.schemabuilder.Create
-
Add options for this CREATE TABLE statement.
- withoutAdvancedShardAwareness() - Method in class com.datastax.driver.core.Cluster.Builder
-
Disables advanced shard awareness.
- withoutJMXReporting() - Method in class com.datastax.driver.core.Cluster.Builder
-
Disables JMX reporting of the metrics.
- withoutMetrics() - Method in class com.datastax.driver.core.Cluster.Builder
-
Disables metrics collection for the created cluster (metrics are enabled by default otherwise).
- withoutPagingInSchemaQueries() - Method in class com.datastax.driver.core.Cluster.Builder
-
Disables paging in schema queries.
- withPolicies(Policies) - Method in class com.datastax.driver.core.Configuration.Builder
-
Sets the policies for this cluster.
- withPoolingOptions(PoolingOptions) - Method in class com.datastax.driver.core.Cluster.Builder
-
Sets the PoolingOptions to use for the newly created Cluster.
- withPoolingOptions(PoolingOptions) - Method in class com.datastax.driver.core.Configuration.Builder
-
Sets the pooling options for this cluster.
- withPort(int) - Method in class com.datastax.driver.core.Cluster.Builder
-
The port to use to connect to the Cassandra host.
- withProtocolOptions(ProtocolOptions) - Method in class com.datastax.driver.core.Configuration.Builder
-
Sets the protocol options for this cluster.
- withProtocolVersion(ProtocolVersion) - Method in class com.datastax.driver.core.Cluster.Builder
-
The native protocol version to use.
- withQueryOptions(QueryOptions) - Method in class com.datastax.driver.core.Cluster.Builder
-
Sets the QueryOptions to use for the newly created Cluster.
- withQueryOptions(QueryOptions) - Method in class com.datastax.driver.core.Configuration.Builder
-
Sets the query options for this cluster.
- withReconnectionPolicy(ReconnectionPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
-
Configures the reconnection policy to use for the new cluster.
- withReconnectionPolicy(ReconnectionPolicy) - Method in class com.datastax.driver.core.policies.Policies.Builder
-
Sets the reconnection policy.
- withRetryPeriod(long, TimeUnit) - Method in class com.datastax.driver.core.policies.ErrorAwarePolicy.Builder
-
Defines the time during which a host is excluded by the policy once it has exceeded
ErrorAwarePolicy.Builder.withMaxErrorsPerMinute(int). - withRetryPeriod(long, TimeUnit) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
-
Sets the retry period for the resulting latency aware policy.
- withRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
-
Configures the retry policy to use for the new cluster.
- withRetryPolicy(RetryPolicy) - Method in class com.datastax.driver.core.policies.Policies.Builder
-
Sets the retry policy.
- withScale(long, TimeUnit) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
-
Sets the scale to use for the resulting latency aware policy.
- withSocketOptions(SocketOptions) - Method in class com.datastax.driver.core.Cluster.Builder
-
Sets the SocketOptions to use for the newly created Cluster.
- withSocketOptions(SocketOptions) - Method in class com.datastax.driver.core.Configuration.Builder
-
Sets the socket options for this cluster.
- withSpeculativeExecutionPolicy(SpeculativeExecutionPolicy) - Method in class com.datastax.driver.core.Cluster.Builder
-
Configures the speculative execution policy to use for the new cluster.
- withSpeculativeExecutionPolicy(SpeculativeExecutionPolicy) - Method in class com.datastax.driver.core.policies.Policies.Builder
-
Sets the speculative execution policy.
- withSSL() - Method in class com.datastax.driver.core.Cluster.Builder
-
Enables the use of SSL for the created
Cluster. - withSSL(SSLOptions) - Method in class com.datastax.driver.core.Cluster.Builder
-
Enable the use of SSL for the created
Clusterusing the provided options. - withSSLContext(SSLContext) - Method in class com.datastax.driver.core.JdkSSLOptions.Builder
-
Deprecated.Set the SSL context to use.
- withSSLContext(SSLContext) - Method in class com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions.Builder
- withSSLContext(SSLContext) - Method in class com.datastax.driver.core.SniSSLOptions.Builder
- withThreadingOptions(ThreadingOptions) - Method in class com.datastax.driver.core.Cluster.Builder
-
Sets the threading options to use for the newly created Cluster.
- withThreadingOptions(ThreadingOptions) - Method in class com.datastax.driver.core.Configuration.Builder
-
Sets the threading options for this cluster.
- withTimestampGenerator(TimestampGenerator) - Method in class com.datastax.driver.core.Cluster.Builder
-
Configures the generator that will produce the client-side timestamp sent with each query.
- withTimestampGenerator(TimestampGenerator) - Method in class com.datastax.driver.core.policies.Policies.Builder
-
Sets the timestamp generator.
- withUpdateRate(long, TimeUnit) - Method in class com.datastax.driver.core.policies.LatencyAwarePolicy.Builder
-
Sets the update rate for the resulting latency aware policy.
- withUsedHostsPerRemoteDc(int) - Method in class com.datastax.driver.core.policies.DCAwareRoundRobinPolicy.Builder
-
Deprecated.This functionality will be removed in the next major release of the driver. DC failover shouldn't be done in the driver, which does not have the necessary context to know what makes sense considering application semantics.
- withUsedHostsPerRemoteDc(int) - Method in class com.datastax.driver.core.policies.RackAwareRoundRobinPolicy.Builder
-
Deprecated.This functionality will be removed in the next major release of the driver. DC failover shouldn't be done in the driver, which does not have the necessary context to know what makes sense considering application semantics.
- WriteFailureException - Exception in com.datastax.driver.core.exceptions
-
A non-timeout error during a write query.
- WriteFailureException(ConsistencyLevel, WriteType, int, int, int) - Constructor for exception com.datastax.driver.core.exceptions.WriteFailureException
-
Deprecated.Legacy constructor for backward compatibility.
- WriteFailureException(ConsistencyLevel, WriteType, int, int, int, Map<InetAddress, Integer>) - Constructor for exception com.datastax.driver.core.exceptions.WriteFailureException
-
This constructor should only be used internally by the driver when decoding error responses.
- WriteFailureException(EndPoint, ConsistencyLevel, WriteType, int, int, int) - Constructor for exception com.datastax.driver.core.exceptions.WriteFailureException
-
Deprecated.Legacy constructor for backward compatibility.
- WriteFailureException(EndPoint, ConsistencyLevel, WriteType, int, int, int, Map<InetAddress, Integer>) - Constructor for exception com.datastax.driver.core.exceptions.WriteFailureException
- writeSize(ByteBuffer, int, ProtocolVersion) - Static method in class com.datastax.driver.core.CodecUtils
-
Utility method that writes a size value.
- writeTime(String) - Method in class com.datastax.driver.core.querybuilder.Select.Selection
-
Selects the write time of provided column.
- writeTime(String) - Method in class com.datastax.driver.core.querybuilder.Select.SelectionOrAlias
- WriteTimeoutException - Exception in com.datastax.driver.core.exceptions
-
A Cassandra timeout during a write query.
- WriteTimeoutException(ConsistencyLevel, WriteType, int, int) - Constructor for exception com.datastax.driver.core.exceptions.WriteTimeoutException
-
This constructor should only be used internally by the driver when decoding error responses.
- WriteTimeoutException(EndPoint, ConsistencyLevel, WriteType, int, int) - Constructor for exception com.datastax.driver.core.exceptions.WriteTimeoutException
- WriteType - Enum in com.datastax.driver.core
-
The type of a Cassandra write query.
- writeValue(ByteBuffer, ByteBuffer, ProtocolVersion) - Static method in class com.datastax.driver.core.CodecUtils
-
Utility method that writes a value.
All Classes All Packages