Package org.codehaus.mojo.cassandra
Class CqlExecCassandraMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.cassandra.AbstractCassandraMojo
-
- org.codehaus.mojo.cassandra.AbstractCqlExecMojo
-
- org.codehaus.mojo.cassandra.CqlExecCassandraMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="cql-exec", threadSafe=true, defaultPhase=PRE_INTEGRATION_TEST) public class CqlExecCassandraMojo extends AbstractCqlExecMojo
Executes cql statements from maven.- Author:
- zznate
-
-
Field Summary
Fields Modifier and Type Field Description protected String
comparator
Expected type of the column nameprotected File
cqlScript
The CQL script which will be executedprotected String
cqlStatement
The CQL statement to execute singularlyprotected String
defaultValidator
Expected type of the column valueprotected String
keyValidator
Expected type of the key-
Fields inherited from class org.codehaus.mojo.cassandra.AbstractCqlExecMojo
cqlEncoding, useCqlLexer
-
Fields inherited from class org.codehaus.mojo.cassandra.AbstractCassandraMojo
addMainClasspath, addTestClasspath, cassandraDir, jmxPort, keyspace, listenAddress, logLevel, maxMemory, nativeTransportPort, project, rpcAddress, session, skip, startNativeTransport, stopKey, stopPort, storagePort, systemPropertyVariables
-
-
Constructor Summary
Constructors Constructor Description CqlExecCassandraMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class org.codehaus.mojo.cassandra.AbstractCqlExecMojo
executeCql, readFile, splitStatementsUsingCqlLexer
-
Methods inherited from class org.codehaus.mojo.cassandra.AbstractCassandraMojo
createCassandraHome, createCassandraHome, createCassandraJar, createCassandraJar, createEnvironmentVars, getToolchain, newJavaCommandLine, newNodetoolCommandLine, newServiceCommandLine, newServiceCommandLine, useJdk11Options
-
-
-
-
Field Detail
-
cqlScript
@Parameter(property="cassandra.cql.script", defaultValue="${basedir}/src/cassandra/cql/exec.cql") protected File cqlScript
The CQL script which will be executed
-
cqlStatement
@Parameter(property="cql.statement") protected String cqlStatement
The CQL statement to execute singularly
-
defaultValidator
@Parameter(property="cql.defaultValidator") protected String defaultValidator
Expected type of the column value
-
keyValidator
@Parameter(property="cql.keyValidator") protected String keyValidator
Expected type of the key
-
comparator
@Parameter(property="cql.comparator") protected String comparator
Expected type of the column name
-
-