Class CqlSessionFactoryBean

java.lang.Object
org.springframework.data.cassandra.config.CqlSessionFactoryBean
All Implemented Interfaces:
DisposableBean, FactoryBean<com.datastax.oss.driver.api.core.CqlSession>, InitializingBean, PersistenceExceptionTranslator
Direct Known Subclasses:
CassandraCqlSessionFactoryBean, CassandraSessionFactoryBean

public class CqlSessionFactoryBean extends Object implements FactoryBean<com.datastax.oss.driver.api.core.CqlSession>, InitializingBean, DisposableBean, PersistenceExceptionTranslator
Factory for creating and configuring a Cassandra CqlSession, which is a thread-safe singleton. As such, it is sufficient to have one CqlSession per application and keyspace.
Since:
3.0
Author:
Alex Shvid, Matthew T. Adams, John Blum, Mark Paluch, Tomasz Lelek, Ammar Khaku