Class GrantRevokeConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.GrantRevokeConstantAction
- All Implemented Interfaces:
ConstantAction
-
Field Summary
FieldsFields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
-
Constructor Summary
ConstructorsConstructorDescriptionGrantRevokeConstantAction
(boolean grant, PrivilegeInfo privileges, List grantees) -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeConstantAction
(Activation activation) This is the guts of the Execution-time logic for GRANT/REVOKE See ConstantAction#executeConstantActiontoString()
-
Field Details
-
grant
private boolean grant -
privileges
-
grantees
-
-
Constructor Details
-
GrantRevokeConstantAction
GrantRevokeConstantAction(boolean grant, PrivilegeInfo privileges, List grantees)
-
-
Method Details
-
toString
-
executeConstantAction
This is the guts of the Execution-time logic for GRANT/REVOKE See ConstantAction#executeConstantAction- Specified by:
executeConstantAction
in interfaceConstantAction
- Parameters:
activation
- The execution environment for this constant action.- Throws:
StandardException
- Thrown on failure
-