cassandra:truncate
Full name:
org.codehaus.mojo:cassandra-maven-plugin:4.0.0:truncate
Description:
Executes the truncate command against the specified keyspace. Currently doing so via StorageProxy as a discussion point.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<columnFamily> |
String |
- |
No description. User Property: cassandra.columnFamily |
<keyspace> |
String |
- |
No description. User Property: cassandra.keyspace |
<rpcAddress> |
String |
- |
Address to use for the RPC interface. Do not change this unless you really know what you are doing. Default: 127.0.0.1 |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<addMainClasspath> |
boolean |
- |
Adds the main classpath to cassandra (for example you could use this when you have a custom comparator on your main classpath. Default: false |
<addTestClasspath> |
boolean |
- |
Adds the test classpath to cassandra (for example you could use this when you have a custom comparator on your test classpath. Default: false |
<cassandraDir> |
File |
- |
The directory to hold cassandra's database. Default: ${project.build.directory}/cassandra |
<jmxPort> |
int |
- |
Port to listen to for the JMX interface. Default: 7199 User Property: cassandra.jmxPort |
<listenAddress> |
String |
- |
Address to bind to and tell other Cassandra nodes to connect to. You must change this if you want multiple nodes to be able to communicate! Leaving it blank leaves it up to InetAddress.getLocalHost(). This will always do the Right Thing if the node is properly configured (hostname, name resolution, etc), and the Right Thing is to use the address associated with the hostname (it might not be). Setting this to 0.0.0.0 is always wrong. Do not change this unless you really know what you are doing.Default: 127.0.0.1 |
<logLevel> |
String |
3.5 |
Log level of cassandra process. Logging is performed via log4j2. Default: ERROR |
<maxMemory> |
int |
- |
Number of megabytes to limit the cassandra JVM to. Default: 512 User Property: cassandra.maxMemory |
<nativeTransportPort> |
int |
2.0.0-1 |
Port on which the CQL native transport listens for clients. Default: 9042 User Property: cassandra.nativeTransportPort |
<skip> |
boolean |
- |
Skip the execution. Default: false User Property: cassandra.skip |
<startNativeTransport> |
boolean |
2.0.0-1 |
Enable or disable the native transport server. Currently, only the Thrift server is started by default because the native transport is considered beta. Default: true User Property: cassandra.startNativeTransport |
<stopKey> |
String |
- |
Key to be provided when stopping cassandra Default: cassandra-maven-plugin User Property: cassandra.stopKey |
<stopPort> |
int |
- |
Port to listen to for receiving the stop command over Default: 8081 User Property: cassandra.stopPort |
<storagePort> |
int |
- |
Port to listen to for the Storage interface. Default: 7000 User Property: cassandra.storagePort |
<systemPropertyVariables> |
Map<String,String> |
1.2.1-2 |
List of System properties to pass to the JUnit tests. |
<yaml> |
String |
- |
In yaml format any overrides or additional configuration that you want to apply to the server. |
Parameter Details
<addMainClasspath>
- Type:
boolean
- Required:
report.plugin.goal.no
- Default:
false
<addTestClasspath>
- Type:
boolean
- Required:
report.plugin.goal.no
- Default:
false
<cassandraDir>
- Type:
java.io.File
- Required:
report.plugin.goal.no
- Default:
${project.build.directory}/cassandra
<columnFamily>
- Type:
java.lang.String
- Required:
report.plugin.goal.yes
- User Property:
cassandra.columnFamily
<jmxPort>
- Type:
int
- Required:
report.plugin.goal.no
- User Property:
cassandra.jmxPort
- Default:
7199
<keyspace>
- Type:
java.lang.String
- Required:
report.plugin.goal.yes
- User Property:
cassandra.keyspace
<listenAddress>
Address to bind to and tell other Cassandra nodes to connect to. You must change this if you want multiple nodes to be able to communicate!
Leaving it blank leaves it up to InetAddress.getLocalHost(). This will always do the Right Thing if the node is properly configured (hostname, name resolution, etc), and the Right Thing is to use the address associated with the hostname (it might not be).
Setting this to 0.0.0.0 is always wrong. Do not change this unless you really know what you are doing.- Type:
java.lang.String
- Required:
report.plugin.goal.no
- Default:
127.0.0.1
<logLevel>
- Type:
java.lang.String
- Since:
3.5
- Required:
report.plugin.goal.no
- Default:
ERROR
<maxMemory>
- Type:
int
- Required:
report.plugin.goal.no
- User Property:
cassandra.maxMemory
- Default:
512
<nativeTransportPort>
- Type:
int
- Since:
2.0.0-1
- Required:
report.plugin.goal.no
- User Property:
cassandra.nativeTransportPort
- Default:
9042
<rpcAddress>
- Type:
java.lang.String
- Required:
report.plugin.goal.yes
- Default:
127.0.0.1
<skip>
- Type:
boolean
- Required:
report.plugin.goal.no
- User Property:
cassandra.skip
- Default:
false
<startNativeTransport>
- Type:
boolean
- Since:
2.0.0-1
- Required:
report.plugin.goal.no
- User Property:
cassandra.startNativeTransport
- Default:
true
<stopKey>
- Type:
java.lang.String
- Required:
report.plugin.goal.no
- User Property:
cassandra.stopKey
- Default:
cassandra-maven-plugin
<stopPort>
- Type:
int
- Required:
report.plugin.goal.no
- User Property:
cassandra.stopPort
- Default:
8081
<storagePort>
- Type:
int
- Required:
report.plugin.goal.no
- User Property:
cassandra.storagePort
- Default:
7000
<systemPropertyVariables>
- Type:
java.util.Map<java.lang.String, java.lang.String>
- Since:
1.2.1-2
- Required:
report.plugin.goal.no
<yaml>
- Type:
java.lang.String
- Required:
report.plugin.goal.no