public class CassandraSessionFactoryBean extends CassandraCqlSessionFactoryBean
| Modifier and Type | Field and Description |
|---|---|
protected CassandraAdminTemplate |
admin |
protected CassandraConverter |
converter |
protected CassandraMappingContext |
mappingContext |
protected SchemaAction |
schemaAction |
cluster, exceptionTranslator, keyspaceName, session, shutdownScripts, startupScripts| Constructor and Description |
|---|
CassandraSessionFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected void |
createTables(boolean dropTables,
boolean dropUnused) |
CassandraConverter |
getConverter() |
SchemaAction |
getSchemaAction() |
protected void |
performSchemaAction() |
void |
setConverter(CassandraConverter converter) |
void |
setSchemaAction(SchemaAction schemaAction) |
destroy, executeScripts, getObject, getObjectType, getShutdownScripts, getStartupScripts, isSingleton, setCluster, setKeyspaceName, setShutdownScripts, setStartupScripts, translateExceptionIfPossibleprotected SchemaAction schemaAction
protected CassandraAdminTemplate admin
protected CassandraConverter converter
protected CassandraMappingContext mappingContext
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class CassandraCqlSessionFactoryBeanExceptionprotected void performSchemaAction()
protected void createTables(boolean dropTables,
boolean dropUnused)
public SchemaAction getSchemaAction()
public void setSchemaAction(SchemaAction schemaAction)
public CassandraConverter getConverter()
public void setConverter(CassandraConverter converter)
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.