Package org.codehaus.mojo.cassandra
Class LoadCassandraMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.cassandra.AbstractCassandraMojo
org.codehaus.mojo.cassandra.AbstractCqlExecMojo
org.codehaus.mojo.cassandra.AbstractCqlLoadMojo
org.codehaus.mojo.cassandra.LoadCassandraMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="load",
threadSafe=true,
defaultPhase=PRE_INTEGRATION_TEST)
public class LoadCassandraMojo
extends AbstractCqlLoadMojo
Loads a Cassandra CQL script into a Cassandra instance.
- Author:
- stephenc
-
Field Summary
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
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.mojo.cassandra.AbstractCqlLoadMojo
execCqlFile
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
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
LoadCassandraMojo
public LoadCassandraMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-