Package | Description |
---|---|
org.springframework.data.cassandra.config |
Spring Data Cassandra
factory beans and configuration. |
org.springframework.data.cassandra.core.cql.session.init |
Provides extensible support for initializing databases through scripts.
|
Modifier and Type | Method and Description |
---|---|
protected KeyspacePopulator |
AbstractCassandraConfiguration.keyspaceCleaner()
Creates a
KeyspacePopulator to cleanup the keyspace. |
protected KeyspacePopulator |
AbstractCassandraConfiguration.keyspacePopulator()
Creates a
KeyspacePopulator to initialize the keyspace. |
Modifier and Type | Method and Description |
---|---|
void |
SessionFactoryFactoryBean.setKeyspaceCleaner(KeyspacePopulator keyspaceCleaner)
Set the
KeyspacePopulator to execute during the bean destruction phase, cleaning up the keyspace and
leaving it in a known state for others. |
void |
SessionFactoryFactoryBean.setKeyspacePopulator(KeyspacePopulator keyspacePopulator)
Set the
KeyspacePopulator to execute during the bean initialization phase. |
Modifier and Type | Class and Description |
---|---|
class |
CompositeKeyspacePopulator
Composite
KeyspacePopulator that delegates to a list of given KeyspacePopulator implementations,
executing all scripts. |
class |
ResourceKeyspacePopulator
Populates, initializes, or cleans up a keyspace using CQL scripts defined in external resources.
|
Modifier and Type | Method and Description |
---|---|
void |
CompositeKeyspacePopulator.addPopulators(KeyspacePopulator... populators)
Add one or more populators to the list of delegates.
|
void |
SessionFactoryInitializer.setKeyspaceCleaner(KeyspacePopulator keyspaceCleaner)
Set the
KeyspacePopulator to execute during the bean destruction phase, cleaning up the keyspace and
leaving it in a known state for others. |
void |
SessionFactoryInitializer.setKeyspacePopulator(KeyspacePopulator keyspacePopulator)
Set the
KeyspacePopulator to execute during the bean initialization phase. |
void |
CompositeKeyspacePopulator.setPopulators(KeyspacePopulator... populators)
Specify one or more populators to delegate to.
|
Constructor and Description |
---|
CompositeKeyspacePopulator(KeyspacePopulator... populators)
Create a
CompositeKeyspacePopulator with the given populators. |
Constructor and Description |
---|
CompositeKeyspacePopulator(Collection<KeyspacePopulator> populators)
Create a
CompositeKeyspacePopulator with the given populators. |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.