ConstantAction
class RevokeRoleConstantAction extends DDLConstantAction
Modifier and Type | Field | Description |
---|---|---|
private java.util.List |
grantees |
|
private java.util.List |
roleNames |
|
private boolean |
withAdminOption |
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
Constructor | Description |
---|---|
RevokeRoleConstantAction(java.util.List roleNames,
java.util.List grantees) |
Make the ConstantAction for a CREATE ROLE statement.
|
Modifier and Type | Method | Description |
---|---|---|
void |
executeConstantAction(Activation activation) |
This is the guts of the Execution-time logic for REVOKE role.
|
java.lang.String |
toString() |
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
private java.util.List roleNames
private java.util.List grantees
private final boolean withAdminOption
public RevokeRoleConstantAction(java.util.List roleNames, java.util.List grantees)
roleNames
- List of the name of the role names being revokedgrantees
- List of the authorization ids granted to rolepublic void executeConstantAction(Activation activation) throws StandardException
activation
- The execution environment for this constant action.StandardException
- Thrown on failureConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
public java.lang.String toString()
toString
in class java.lang.Object
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.