Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 4.0, use the
CompletableFuture
-based variantAsyncCqlOperations
.since 4.0, use theCompletableFuture
-based variantAsyncCqlTemplate
.since 4.0, use theCompletableFuture
-based variant.since 4.0, use theCompletableFuture
-based variant.since 4.0, use theCompletableFuture
-based variant.since 4.0, use theCompletableFuture
-based variant.since 4.0, use theCompletableFuture
-based variantAsyncCassandraTemplate
.since 4.0, use theCompletableFuture
-based variantAsyncCassandraTemplate
.
-
Deprecated InterfacesInterfaceDescriptionsince 4.0, use the
CompletableFuture
-based variantAsyncCqlOperations
.since 4.0, use theCompletableFuture
-based variant.since 4.0, use theCompletableFuture
-based variant.since 4.0, use theCompletableFuture
-based variant.since 3.2, the Cassandra driver has a built-in prepared statement cache with makes external caching of prepared statements superfluous.since 4.0, use theCompletableFuture
-based variantAsyncCassandraTemplate
.since 3.0
-
Deprecated ClassesClassDescriptionsince 3.0, use
AbstractSessionConfiguration
.since 3.0, useCqlSessionFactoryBean
directly.since 3.0, useCqlSessionFactoryBean
directly.since 3.0, use directlyRowValueProvider
.since 3.0, useTupleValueProvider
directly.since 3.0, useUdtValueProvider
directly.since 2.0, useCassandraCustomConversions
.since 2.0. This class uses an unsafe, static held cache.since 3.0, useCqlIdentifier
instead.since 3.0, useCqlIdentifier
.since 4.0, use theCompletableFuture
-based variantAsyncCqlTemplate
.since 4.0, use theCompletableFuture
-based variant.since 3.2, the Cassandra driver has a built-in prepared statement cache with makes external caching of prepared statements superfluous.since 3.2, the Cassandra driver has a built-in prepared statement cache with makes external caching of prepared statements superfluous.since 3.0, useCompletableFuture
directly.since 4.0, use theCompletableFuture
-based variantAsyncCassandraTemplate
.since 2.0. UseCassandraMappingContext
.since 3.0, useSimpleTupleTypeFactory
instead.
-
Deprecated Enum ClassesEnum ClassDescriptionsince 3.0 without replacement.since 3.0 without replacement.
-
Deprecated FieldsFieldDescriptionsince 3.0. Cassandra driver 4 no longer provides a
Cluster
type.
-
Deprecated MethodsMethodDescriptionsince 3.0, use
CassandraReadTimeoutException.wasDataPresent()
.since 4.0, useAbstractCassandraConfiguration.cassandraMappingContext(CassandraManagedTypes)
instead.since 3.0, useAbstractSessionConfiguration.getSessionName()
instead.since 3.0; Declare aSessionFactoryInitializer
bean instead.since 3.0; Declare aSessionFactoryInitializer
bean instead.since 3.4, useCassandraConverter.getProjectionFactory()
instead.since 3.4, useCassandraConverter.getProjectionFactory()
instead.since 3.0, useCassandraAccessor.getPageSize()
.since 2.0. This class uses aSessionFactory
to dispatch CQL calls amongst differentCqlSession
s during its lifecycle.since 3.0, useCassandraAccessor.setPageSize(int)
since 2.0, useCqlIdentifier.of(CharSequence)
since 2.0, useCqlIdentifier.of(CharSequence, boolean)
since 2.0, useCqlIdentifier.quoted(CharSequence)
.since 3.0, useCreateKeyspaceSpecification.createKeyspace(CqlIdentifier)
since 3.0, useDropKeyspaceSpecification.dropKeyspace(CqlIdentifier)
.since 2.0, useKeyspaceIdentifier.of(CharSequence)
.since 3.0, useQueryOptions.getTimeout()
instead.since 3.0, useQueryOptions.QueryOptionsBuilder.pageSize(int)
.since 3.0, useQueryOptions.QueryOptionsBuilder.timeout(Duration)
since 2.0, useQueryOptions.QueryOptionsBuilder.timeout(Duration)
.since 3.0, useQueryOptions.QueryOptionsBuilder.timeout(Duration)
since 3.0, useReactiveCqlTemplate.getPageSize()
.since 3.0, useReactiveCqlTemplate.setPageSize(int)
since 3.4, useCassandraConverter.getProjectionFactory()
instead.since 3.0. RetrieveCodecRegistry
directly fromCassandraConverter
.since 3.0. Use custom conversion throughMappingCassandraConverter
.since 3.0. RetrieveUserTypeResolver
directly fromCassandraConverter
.since 3.0. SetCodecRegistry
directly onCassandraConverter
.since 3.0. Use custom conversion throughMappingCassandraConverter
.since 3.0. Tuple type creation usesDataTypes.tupleOf(DataType...)
since 3.0. SetUserTypeResolver
directly onCassandraConverter
.since 3.0. The table name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.0, useCassandraPersistentEntity.setTableName(CqlIdentifier)
instead.since 3.0, useCassandraPersistentProperty.setColumnName(CqlIdentifier)
.since 3.0. The column name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.0. The column name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.0. The type name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.0. The column name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.0. The column name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.0. The table name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.0. The type name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.4, useCassandraConverter.getProjectionFactory()
instead.
-
Deprecated ConstructorsConstructorDescriptionsince 3.0,
UserTypeResolver
andTupleTypeFactory
no longer required here as high-level type resolution went intoCassandraConverter
.
-
Deprecated Enum ConstantsEnum ConstantDescriptionsince 2.2. Cassandra 4.x has deprecated compact storage.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionsince 3.0. The column name gets converted into
CqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.0. The column name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.0. The column name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.0. The table name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.since 3.0. The type name gets converted intoCqlIdentifier
hence it no longer requires an indication whether the name should be quoted.
AbstractCassandraConfiguration.cassandraMappingContext(CassandraManagedTypes)
instead.