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
ScriptUtils
if a CQL script cannot be read.CompositeKeyspacePopulator
that delegates to a list of givenKeyspacePopulator
implementations, 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 byScriptUtils
if a CQL script cannot be properly parsed.Thrown byScriptUtils
if 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, aException
from Cassandra that we cannot pinpoint more precisely.