Uses of Interface
org.springframework.data.cassandra.core.cql.session.init.KeyspacePopulator
Packages that use KeyspacePopulator
Package
Description
Spring Data Cassandra
factory beans
and configuration.Provides extensible support for initializing databases through scripts.
-
Uses of KeyspacePopulator in org.springframework.data.cassandra.config
Methods in org.springframework.data.cassandra.config that return KeyspacePopulatorModifier and TypeMethodDescriptionprotected KeyspacePopulator
AbstractCassandraConfiguration.keyspaceCleaner()
Creates aKeyspacePopulator
to cleanup the keyspace.protected KeyspacePopulator
AbstractCassandraConfiguration.keyspacePopulator()
Creates aKeyspacePopulator
to initialize the keyspace.Methods in org.springframework.data.cassandra.config with parameters of type KeyspacePopulatorModifier and TypeMethodDescriptionvoid
SessionFactoryFactoryBean.setKeyspaceCleaner
(KeyspacePopulator keyspaceCleaner) Set theKeyspacePopulator
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 theKeyspacePopulator
to execute during the bean initialization phase. -
Uses of KeyspacePopulator in org.springframework.data.cassandra.core.cql.session.init
Classes in org.springframework.data.cassandra.core.cql.session.init that implement KeyspacePopulatorModifier and TypeClassDescriptionclass
CompositeKeyspacePopulator
that delegates to a list of givenKeyspacePopulator
implementations, executing all scripts.class
Populates, initializes, or cleans up a keyspace using CQL scripts defined in external resources.Methods in org.springframework.data.cassandra.core.cql.session.init with parameters of type KeyspacePopulatorModifier and TypeMethodDescriptionvoid
CompositeKeyspacePopulator.addPopulators
(KeyspacePopulator... populators) Add one or more populators to the list of delegates.void
SessionFactoryInitializer.setKeyspaceCleaner
(KeyspacePopulator keyspaceCleaner) Set theKeyspacePopulator
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 theKeyspacePopulator
to execute during the bean initialization phase.void
CompositeKeyspacePopulator.setPopulators
(KeyspacePopulator... populators) Specify one or more populators to delegate to.Constructors in org.springframework.data.cassandra.core.cql.session.init with parameters of type KeyspacePopulatorModifierConstructorDescriptionCompositeKeyspacePopulator
(KeyspacePopulator... populators) Create aCompositeKeyspacePopulator
with the given populators.Constructor parameters in org.springframework.data.cassandra.core.cql.session.init with type arguments of type KeyspacePopulatorModifierConstructorDescriptionCompositeKeyspacePopulator
(Collection<KeyspacePopulator> populators) Create aCompositeKeyspacePopulator
with the given populators.