Class SetRoleConstantAction
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.SetRoleConstantAction
-
- All Implemented Interfaces:
ConstantAction
class SetRoleConstantAction extends java.lang.Object implements ConstantAction
This class describes actions that are ALWAYS performed for a SET ROLE Statement at Execution time.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringroleNameprivate inttype-
Fields 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
Constructors Constructor Description SetRoleConstantAction(java.lang.String roleName, int type)Make the ConstantAction for a SET ROLE statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteConstantAction(Activation activation)This is the guts of the Execution-time logic for SET ROLE.java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
executeConstantAction
public void executeConstantAction(Activation activation) throws StandardException
This is the guts of the Execution-time logic for SET ROLE.- Specified by:
executeConstantActionin interfaceConstantAction- Parameters:
activation- The execution environment for this constant action.- Throws:
StandardException- Thrown on failure- See Also:
ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
-
-