@Configuration @ConditionalOnClass(value={com.datastax.driver.core.Cluster.class,org.springframework.data.cassandra.core.ReactiveCassandraTemplate.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(value=com.datastax.driver.core.Session.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.driver.core.Session 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.driver.core.Session session)
@Bean 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)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.