Class TruncateCassandraMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.cassandra.AbstractCassandraMojo
org.codehaus.mojo.cassandra.TruncateCassandraMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="truncate", threadSafe=true) public class TruncateCassandraMojo extends AbstractCassandraMojo
Executes the truncate command against the specified keyspace. Currently doing so via StorageProxy as a discussion point.
Author:
zznate
  • Field Details

    • keyspace

      @Parameter(property="cassandra.keyspace", required=true) protected String keyspace
    • columnFamily

      @Parameter(property="cassandra.columnFamily", required=true) protected String columnFamily
  • Constructor Details

    • TruncateCassandraMojo

      public TruncateCassandraMojo()
  • 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