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 KeyspacePopulatorAbstractCassandraConfiguration.keyspaceCleaner()Creates aKeyspacePopulatorto cleanup the keyspace.protected KeyspacePopulatorAbstractCassandraConfiguration.keyspacePopulator()Creates aKeyspacePopulatorto initialize the keyspace.Methods in org.springframework.data.cassandra.config with parameters of type KeyspacePopulatorModifier and TypeMethodDescriptionvoidSessionFactoryFactoryBean.setKeyspaceCleaner(KeyspacePopulator keyspaceCleaner) Set theKeyspacePopulatorto execute during the bean destruction phase, cleaning up the keyspace and leaving it in a known state for others.voidSessionFactoryFactoryBean.setKeyspacePopulator(KeyspacePopulator keyspacePopulator) Set theKeyspacePopulatorto 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 TypeClassDescriptionclassCompositeKeyspacePopulatorthat delegates to a list of givenKeyspacePopulatorimplementations, executing all scripts.classPopulates, 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 TypeMethodDescriptionvoidCompositeKeyspacePopulator.addPopulators(KeyspacePopulator... populators) Add one or more populators to the list of delegates.voidSessionFactoryInitializer.setKeyspaceCleaner(KeyspacePopulator keyspaceCleaner) Set theKeyspacePopulatorto execute during the bean destruction phase, cleaning up the keyspace and leaving it in a known state for others.voidSessionFactoryInitializer.setKeyspacePopulator(KeyspacePopulator keyspacePopulator) Set theKeyspacePopulatorto execute during the bean initialization phase.voidCompositeKeyspacePopulator.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 aCompositeKeyspacePopulatorwith the given populators.Constructor parameters in org.springframework.data.cassandra.core.cql.session.init with type arguments of type KeyspacePopulatorModifierConstructorDescriptionCompositeKeyspacePopulator(Collection<KeyspacePopulator> populators) Create aCompositeKeyspacePopulatorwith the given populators.