class SetRoleConstantAction extends java.lang.Object implements ConstantAction
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
roleName |
private int |
type |
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
Constructor and Description |
---|
SetRoleConstantAction(java.lang.String roleName,
int type)
Make the ConstantAction for a SET ROLE statement.
|
Modifier and Type | Method and Description |
---|---|
void |
executeConstantAction(Activation activation)
This is the guts of the Execution-time logic for SET ROLE.
|
java.lang.String |
toString() |
SetRoleConstantAction(java.lang.String roleName, int type)
roleName
- Name of role.type
- type of set role (literal role name or ?)public java.lang.String toString()
toString
in class java.lang.Object
public void executeConstantAction(Activation activation) throws StandardException
executeConstantAction
in interface ConstantAction
activation
- The execution environment for this constant action.StandardException
- Thrown on failureConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.