public enum CassandraToolAction extends Enum<CassandraToolAction> implements OptionEnum
| Enum Constant and Description |
|---|
create
Generate a DDL 'create' script which creates all
tables, views, indexes, constraints and
other artifacts defined within the source domain
model artifact(s).
|
drop
Generate a DDL 'drop' script which drops all
tables, views, indexes, constraints and
other artifacts defined within the source domain
model artifact(s).
|
truncate
Generate a DDL 'truncate' script which first disables
constraints then truncates all tables defined
within the source domain model artifact(s).
|
| Modifier and Type | Method and Description |
|---|---|
static String |
asString() |
String |
getDescription() |
static CassandraToolAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CassandraToolAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CassandraToolAction create
public static final CassandraToolAction drop
public static final CassandraToolAction truncate
public static CassandraToolAction[] values()
for (CassandraToolAction c : CassandraToolAction.values()) System.out.println(c);
public static CassandraToolAction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDescription()
getDescription in interface OptionEnumpublic static String asString()
Copyright © 2017. All rights reserved.