Class CassandraReactiveDataAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.data.cassandra.CassandraReactiveDataAutoConfiguration
@AutoConfiguration(after=CassandraDataAutoConfiguration.class)
@ConditionalOnClass({com.datastax.oss.driver.api.core.CqlSession.class,org.springframework.data.cassandra.core.ReactiveCassandraTemplate.class,reactor.core.publisher.Flux.class})
@ConditionalOnBean(com.datastax.oss.driver.api.core.CqlSession.class)
public class CassandraReactiveDataAutoConfiguration
extends Object
Auto-configuration
for Spring Data's reactive Cassandra
support.- Since:
- 2.0.0
- Author:
- EddĂș MelĂ©ndez, Mark Paluch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.cassandra.ReactiveSession
reactiveCassandraSession
(com.datastax.oss.driver.api.core.CqlSession session) org.springframework.data.cassandra.ReactiveSessionFactory
reactiveCassandraSessionFactory
(org.springframework.data.cassandra.ReactiveSession reactiveCassandraSession) org.springframework.data.cassandra.core.ReactiveCassandraTemplate
reactiveCassandraTemplate
(org.springframework.data.cassandra.ReactiveSession reactiveCassandraSession, org.springframework.data.cassandra.core.convert.CassandraConverter converter)
-
Constructor Details
-
CassandraReactiveDataAutoConfiguration
public CassandraReactiveDataAutoConfiguration()
-
-
Method Details
-
reactiveCassandraSession
@Bean @ConditionalOnMissingBean public org.springframework.data.cassandra.ReactiveSession reactiveCassandraSession(com.datastax.oss.driver.api.core.CqlSession session) -
reactiveCassandraSessionFactory
@Bean @ConditionalOnMissingBean public org.springframework.data.cassandra.ReactiveSessionFactory reactiveCassandraSessionFactory(org.springframework.data.cassandra.ReactiveSession reactiveCassandraSession) -
reactiveCassandraTemplate
@Bean @ConditionalOnMissingBean(org.springframework.data.cassandra.core.ReactiveCassandraOperations.class) public org.springframework.data.cassandra.core.ReactiveCassandraTemplate reactiveCassandraTemplate(org.springframework.data.cassandra.ReactiveSession reactiveCassandraSession, org.springframework.data.cassandra.core.convert.CassandraConverter converter)
-