Package org.codehaus.mojo.cassandra
Class DropColumnFamiliesMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.cassandra.AbstractCassandraMojo
-
- org.codehaus.mojo.cassandra.AbstractSchemaCassandraMojo
-
- org.codehaus.mojo.cassandra.DropColumnFamiliesMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="drop", threadSafe=true) public class DropColumnFamiliesMojo extends AbstractSchemaCassandraMojo
Drop the specified ColumnFamilies or, if no arguments are given, the specified Keyspace- Author:
- zznate
-
-
Field Summary
Fields Modifier and Type Field Description protected String
columnFamilies
The one or more comma-delimited ColumnFamilies against to be dropped.-
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 DropColumnFamiliesMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CqlOperation
buildOperation()
protected void
parseArguments()
-
Methods inherited from class org.codehaus.mojo.cassandra.AbstractSchemaCassandraMojo
execute
-
Methods inherited from class org.codehaus.mojo.cassandra.AbstractCassandraMojo
createCassandraHome, createCassandraHome, createCassandraJar, createCassandraJar, createEnvironmentVars, getToolchain, newJavaCommandLine, newNodetoolCommandLine, newServiceCommandLine, newServiceCommandLine, useJdk11Options
-
-
-
-
Field Detail
-
columnFamilies
@Parameter(property="cassandra.columnFamilies") protected String columnFamilies
The one or more comma-delimited ColumnFamilies against to be dropped. If not specified, the Keyspace will be dropped.
-
-
Method Detail
-
buildOperation
protected CqlOperation buildOperation()
- Specified by:
buildOperation
in classAbstractSchemaCassandraMojo
-
parseArguments
protected void parseArguments() throws IllegalArgumentException
- Specified by:
parseArguments
in classAbstractSchemaCassandraMojo
- Throws:
IllegalArgumentException
-
-