@Generated(value="jsii-pacmak/1.39.0 (build 8af72c2)", date="2021-10-14T05:49:11.599Z") @Stability(value=Experimental) public enum TableAction extends Enum<TableAction>
| Enum Constant and Description |
|---|
ALL
(experimental) Grants all available privileges at once to the specified user or user group.
|
DELETE
(experimental) Grants privilege to delete a data row from a table.
|
DROP
(experimental) Grants privilege to drop a table.
|
INSERT
(experimental) Grants privilege to load data into a table using an INSERT statement or a COPY statement.
|
REFERENCES
(experimental) Grants privilege to create a foreign key constraint.
|
SELECT
(experimental) Grants privilege to select data from a table or view using a SELECT statement.
|
UPDATE
(experimental) Grants privilege to update a table column using an UPDATE statement.
|
| Modifier and Type | Method and Description |
|---|---|
static TableAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final TableAction SELECT
@Stability(value=Experimental) public static final TableAction INSERT
@Stability(value=Experimental) public static final TableAction UPDATE
@Stability(value=Experimental) public static final TableAction DELETE
@Stability(value=Experimental) public static final TableAction DROP
@Stability(value=Experimental) public static final TableAction REFERENCES
You need to grant this privilege on both the referenced table and the referencing table; otherwise, the user can't create the constraint.
@Stability(value=Experimental) public static final TableAction ALL
public static TableAction[] values()
for (TableAction c : TableAction.values()) System.out.println(c);
public static TableAction 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. All rights reserved.