| Package | Description |
|---|---|
| com.github.nosan.embedded.cassandra.cql |
CQL classes.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CqlDataSet
CqlDataSet represents the set of CqlScript. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCqlScript
Abstract
CqlScript that parses a CQL script into the statements. |
class |
DefaultCqlDataSet
Default implementation of
CqlDataSet. |
class |
ResourceCqlScript
CqlScript implementation for resources. |
class |
StringCqlScript
CqlScript implementation for string scripts. |
| Modifier and Type | Method and Description |
|---|---|
static CqlScript |
CqlScript.ofClassPath(String name)
Creates
CqlScript with the specified resource name and default charset. |
static CqlScript |
CqlScript.ofClassPath(String name,
Charset charset)
Creates
CqlScript with the specified resource name and charset. |
static CqlScript |
CqlScript.ofResource(Resource resource)
Creates
CqlScript with the specified resource and default charset. |
static CqlScript |
CqlScript.ofResource(Resource resource,
Charset charset)
Creates
CqlScript with the specified resources and charset. |
| Modifier and Type | Method and Description |
|---|---|
List<CqlScript> |
DefaultCqlDataSet.getScripts() |
List<? extends CqlScript> |
CqlDataSet.getScripts()
Gets
CQL scripts. |
| Modifier and Type | Method and Description |
|---|---|
static CqlDataSet |
CqlDataSet.ofScripts(CqlScript... scripts)
Creates
CqlDataSet with the specified CQL scripts. |
| Modifier and Type | Method and Description |
|---|---|
default void |
CqlDataSet.forEachScript(Consumer<? super CqlScript> callback)
Performs the given
callback for each script of the CqlDataSet. |
| Constructor and Description |
|---|
DefaultCqlDataSet(Collection<? extends CqlScript> scripts)
Creates a new
DefaultCqlDataSet with the specified CQL scripts. |
Copyright © 2023. All rights reserved.