class SetRoleConstantAction extends java.lang.Object implements ConstantAction
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
roleName |
private int |
type |
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.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.