@Mojo(name="cql-exec",
threadSafe=true,
defaultPhase=PRE_INTEGRATION_TEST)
public class CqlExecCassandraMojo
extends AbstractCqlExecMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
comparator
Expected type of the column name
|
protected File |
cqlScript
The CQL script which will be executed
|
protected String |
cqlStatement
The CQL statement to execute singularly
|
protected String |
defaultValidator
Expected type of the column value
|
protected String |
keyValidator
Expected type of the key
|
cqlEncoding, useCqlLexeraddMainClasspath, addTestClasspath, cassandraDir, jmxPort, keyspace, listenAddress, logLevel, maxMemory, nativeTransportPort, project, rpcAddress, rpcPort, session, skip, startNativeTransport, stopKey, stopPort, storagePort, systemPropertyVariables| Constructor and Description |
|---|
CqlExecCassandraMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
executeCql, readFile, splitStatementsUsingCqlLexercreateCassandraHome, createCassandraHome, createCassandraJar, createCassandraJar, createEnvironmentVars, getToolchain, newJavaCommandLine, newNodetoolCommandLine, newServiceCommandLine, newServiceCommandLine, useJdk11Options@Parameter(property="cassandra.cql.script",
defaultValue="${basedir}/src/cassandra/cql/exec.cql")
protected File cqlScript
@Parameter(property="cql.statement") protected String cqlStatement
@Parameter(property="cql.defaultValidator") protected String defaultValidator
@Parameter(property="cql.keyValidator") protected String keyValidator
@Parameter(property="cql.comparator") protected String comparator
Copyright © 2011–2022 MojoHaus. All rights reserved.