Class SessionFactoryFactoryBean

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<SessionFactory>
org.springframework.data.cassandra.config.SessionFactoryFactoryBean
All Implemented Interfaces:
Aware, BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<SessionFactory>, InitializingBean

public class SessionFactoryFactoryBean extends AbstractFactoryBean<SessionFactory>
Factory to create and configure a Cassandra SessionFactory with support for executing CQL and initializing the database schema (a.k.a. keyspace). This factory bean invokes a SessionFactoryInitializer to prepare a keyspace before applying schema actions such as creating user-defined types and tables.
Since:
3.0
Author:
Mark Paluch, Ammar Khaku
See Also:
  • Field Details

    • DEFAULT_CREATE_IF_NOT_EXISTS

      protected static final boolean DEFAULT_CREATE_IF_NOT_EXISTS
      See Also:
    • DEFAULT_DROP_TABLES

      protected static final boolean DEFAULT_DROP_TABLES
      See Also:
    • DEFAULT_DROP_UNUSED_TABLES

      protected static final boolean DEFAULT_DROP_UNUSED_TABLES
      See Also:
  • Constructor Details

    • SessionFactoryFactoryBean

      public SessionFactoryFactoryBean()
  • Method Details