Deprecated API
Contents
-
Terminally Deprecated Elements
-
Deprecated InterfacesInterfaceDescriptionsince 3.2, the Cassandra driver has a built-in prepared statement cache with makes external caching of prepared statements superfluous.since 3.0
-
Deprecated ClassesClassDescriptionsince 3.0, use
AbstractSessionConfiguration.since 3.0, useCqlSessionFactoryBeandirectly.since 3.0, useCqlSessionFactoryBeandirectly.since 2.0, useCassandraCustomConversions.since 2.0. This class uses an unsafe, static held cache.since 3.0, useCqlIdentifierinstead.since 3.0, useCqlIdentifier.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 2.0. UseCassandraMappingContext.since 3.0, useSimpleTupleTypeFactoryinstead.
-
Deprecated Enum ClassesEnum ClassDescriptionsince 3.0 without replacement.since 3.0 without replacement.
-
Deprecated FieldsFieldDescriptionsince 3.0. Cassandra driver 4 no longer provides a
Clustertype.
-
Deprecated MethodsMethodDescriptionsince 3.0, use
CassandraReadTimeoutException.wasDataPresent().since 4.0, useAbstractCassandraConfiguration.cassandraMappingContext(CassandraManagedTypes)instead.since 3.0, useAbstractSessionConfiguration.getSessionName()instead.since 3.0; Declare aSessionFactoryInitializerbean instead.since 3.0; Declare aSessionFactoryInitializerbean instead.since 3.4, useCassandraConverter.getProjectionFactory()instead.since 3.4, useCassandraConverter.getProjectionFactory()instead.since 3.0, useCassandraAccessor.getPageSize().since 2.0. This class uses aSessionFactoryto dispatch CQL calls amongst differentCqlSessions 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.0. RetrieveCodecRegistrydirectly fromCassandraConverter.since 3.0. Use custom conversion throughMappingCassandraConverter.since 3.0. RetrieveUserTypeResolverdirectly fromCassandraConverter.since 3.0. SetCodecRegistrydirectly onCassandraConverter.since 3.0. Use custom conversion throughMappingCassandraConverter.since 3.0. Tuple type creation usesDataTypes.tupleOf(DataType...)since 3.0. SetUserTypeResolverdirectly onCassandraConverter.since 3.0. The table name gets converted intoCqlIdentifierhence 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 intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.since 3.0. The column name gets converted intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.since 3.0. The type name gets converted intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.since 3.0. The column name gets converted intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.since 3.0. The column name gets converted intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.since 3.0. The table name gets converted intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.since 3.0. The type name gets converted intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.since 3.4, useCassandraConverter.getProjectionFactory()instead.
-
Deprecated ConstructorsConstructorDescriptionsince 3.0,
UserTypeResolverandTupleTypeFactoryno 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
CqlIdentifierhence it no longer requires an indication whether the name should be quoted.since 3.0. The column name gets converted intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.since 3.0. The column name gets converted intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.since 3.0. The table name gets converted intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.since 3.0. The type name gets converted intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.
AbstractCassandraConfiguration.cassandraMappingContext(CassandraManagedTypes)instead.