Class 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 Detail

      • keyspace

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

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

      • TruncateCassandraMojo

        public TruncateCassandraMojo()
    • Method Detail

      • 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