public enum TableWritePrivilege extends Enum<TableWritePrivilege>
| Enum Constant and Description |
|---|
DELETE
The privilege for deleting rows from the table.
|
INSERT
The privilege for adding rows to the table.
|
UPDATE
The privilege for changing existing rows in th table.
|
| Modifier and Type | Method and Description |
|---|---|
static TableWritePrivilege |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableWritePrivilege[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableWritePrivilege INSERT
public static final TableWritePrivilege UPDATE
public static final TableWritePrivilege DELETE
public static TableWritePrivilege[] values()
for (TableWritePrivilege c : TableWritePrivilege.values()) System.out.println(c);
public static TableWritePrivilege 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 null