Class CassandraSessionFactoryBean
java.lang.Object
org.springframework.data.cassandra.config.CqlSessionFactoryBean
org.springframework.data.cassandra.config.CassandraSessionFactoryBean
- All Implemented Interfaces:
DisposableBean
,FactoryBean<com.datastax.oss.driver.api.core.CqlSession>
,InitializingBean
,PersistenceExceptionTranslator
Deprecated.
Factory to create and configure a Cassandra
CqlSession
with support for
executing CQL and initializing the database schema (a.k.a. keyspace).- Author:
- Mathew Adams, David Webb, John Blum, Mark Paluch
-
Field Summary
Fields inherited from class org.springframework.data.cassandra.config.CqlSessionFactoryBean
CASSANDRA_SYSTEM_SESSION, DEFAULT_CONTACT_POINTS, DEFAULT_PORT, log
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.data.cassandra.config.CqlSessionFactoryBean
afterPropertiesSet, buildBuilder, buildSession, buildSystemSession, closeSession, closeSystemSession, createTables, destroy, getConverter, getKeyspaceActions, getKeyspaceName, getKeyspaceSpecifications, getMappingContext, getObject, getObjectType, getSchemaAction, getSession, getShutdownScripts, getStartupScripts, isConnected, performSchemaAction, setContactPoints, setContactPoints, setConverter, setKeyspaceActions, setKeyspaceAlterations, setKeyspaceCreations, setKeyspaceDrops, setKeyspaceName, setKeyspaceShutdownScripts, setKeyspaceSpecifications, setKeyspaceStartupScripts, setLocalDatacenter, setPassword, setPort, setSchemaAction, setSessionBuilderConfigurer, setShutdownScripts, setStartupScripts, setSuspendLifecycleSchemaRefresh, setUsername, translateExceptionIfPossible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
CassandraSessionFactoryBean
public CassandraSessionFactoryBean()Deprecated.
-
CqlSessionFactoryBean
directly.