public static enum DDLOperation.Type extends Enum<DDLOperation.Type>
| Enum Constant and Description |
|---|
ALTER_TABLE |
CREATE_DATABASE |
CREATE_TABLE |
DROP_DATABASE |
DROP_TABLE |
RENAME_TABLE |
TRUNCATE_TABLE |
| Modifier and Type | Method and Description |
|---|---|
static DDLOperation.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DDLOperation.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DDLOperation.Type CREATE_DATABASE
public static final DDLOperation.Type DROP_DATABASE
public static final DDLOperation.Type CREATE_TABLE
public static final DDLOperation.Type DROP_TABLE
public static final DDLOperation.Type TRUNCATE_TABLE
public static final DDLOperation.Type ALTER_TABLE
public static final DDLOperation.Type RENAME_TABLE
public static DDLOperation.Type[] values()
for (DDLOperation.Type c : DDLOperation.Type.values()) System.out.println(c);
public static DDLOperation.Type 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 nullCopyright © 2021 CDAP Licensed under the Apache License, Version 2.0.