Class CassandraCqlSessionFactoryBean
java.lang.Object
org.springframework.data.cassandra.config.CqlSessionFactoryBean
org.springframework.data.cassandra.config.CassandraCqlSessionFactoryBean
- All Implemented Interfaces:
DisposableBean
,FactoryBean<com.datastax.oss.driver.api.core.CqlSession>
,InitializingBean
,PersistenceExceptionTranslator
Deprecated.
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.- Author:
- Alex Shvid, Matthew T. Adams, John Blum, Mark Paluch
- See Also:
-
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
-
CassandraCqlSessionFactoryBean
public CassandraCqlSessionFactoryBean()Deprecated.
-
CqlSessionFactoryBean
directly.