Module spring.data.cassandra
Package org.springframework.data.cassandra.core.cql.session.init
@NonNullApi
package org.springframework.data.cassandra.core.cql.session.init
Provides extensible support for initializing databases through scripts.
-
ClassDescriptionThrown by
ScriptUtilsif a CQL script cannot be read.CompositeKeyspacePopulatorthat delegates to a list of givenKeyspacePopulatorimplementations, executing all scripts.Strategy used to populate, initialize, or clean up a Cassandra keyspace.Populates, initializes, or cleans up a keyspace using CQL scripts defined in external resources.Root of the hierarchy of data access exceptions that are related to processing of CQL scripts.Thrown byScriptUtilsif a CQL script cannot be properly parsed.Thrown byScriptUtilsif a statement in an CQL script failed when executing it against the target database.Generic utility methods for working with CQL scripts.Thrown when we cannot determine anything more specific than "something went wrong while processing a CQL script": for example, aExceptionfrom Cassandra that we cannot pinpoint more precisely.