org.apache.derby.impl.sql.execute
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 |
private java.lang.String |
roleName
|
private int |
type
|
Constructor Summary |
SetRoleConstantAction(java.lang.String roleName,
int type)
Make the ConstantAction for a SET ROLE statement. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
roleName
private final java.lang.String roleName
type
private final int type
SetRoleConstantAction
SetRoleConstantAction(java.lang.String roleName,
int type)
- Make the ConstantAction for a SET ROLE statement.
- Parameters:
roleName
- Name of role.type
- type of set role (literal role name or ?)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
executeConstantAction
public void executeConstantAction(Activation activation)
throws StandardException
- This is the guts of the Execution-time logic for SET ROLE.
- Specified by:
executeConstantAction
in interface ConstantAction
- Parameters:
activation
- The execution environment for this constant action.
- Throws:
StandardException
- Thrown on failure- See Also:
ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.