Class DropRoleConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.DDLConstantAction
org.apache.derby.impl.sql.execute.DropRoleConstantAction
- All Implemented Interfaces:
ConstantAction
This class describes actions that are ALWAYS performed for a
DROP ROLE Statement at Execution time.
-
Field Summary
FieldsFields inherited from interface ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT -
Constructor Summary
ConstructorsConstructorDescriptionDropRoleConstantAction(String roleName) Make the ConstantAction for a DROP ROLE statement. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteConstantAction(Activation activation) This is the guts of the Execution-time logic for DROP ROLE.toString()////////////////////////////////////////////
-
Field Details
-
roleName
-
-
Constructor Details
-
DropRoleConstantAction
DropRoleConstantAction(String roleName) Make the ConstantAction for a DROP ROLE statement.- Parameters:
roleName- role name to be dropped
-
-
Method Details
-
toString
-
executeConstantAction
This is the guts of the Execution-time logic for DROP ROLE.- Parameters:
activation- The execution environment for this constant action.- Throws:
StandardException- Thrown on failure- See Also:
-