@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={com.datastax.oss.driver.api.core.CqlSession.class,org.springframework.data.cassandra.core.ReactiveCassandraTemplate.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(value=com.datastax.oss.driver.api.core.CqlSession.class) @AutoConfigureAfter(value=CassandraDataAutoConfiguration.class) public class CassandraReactiveDataAutoConfiguration extends Object
Auto-configuration
for Spring Data's reactive Cassandra
support.Constructor and Description |
---|
CassandraReactiveDataAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.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) |
public CassandraReactiveDataAutoConfiguration()
@Bean @ConditionalOnMissingBean public org.springframework.data.cassandra.ReactiveSession reactiveCassandraSession(com.datastax.oss.driver.api.core.CqlSession session)
@Bean @ConditionalOnMissingBean public org.springframework.data.cassandra.ReactiveSessionFactory reactiveCassandraSessionFactory(org.springframework.data.cassandra.ReactiveSession reactiveCassandraSession)
@Bean @ConditionalOnMissingBean(value=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)