class CreateRoleConstantAction extends DDLConstantAction
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
roleName |
| Constructor and Description |
|---|
CreateRoleConstantAction(java.lang.String roleName)
Make the ConstantAction for a CREATE ROLE statement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeConstantAction(Activation activation)
This is the guts of the Execution-time logic for CREATE ROLE.
|
private boolean |
knownUser(java.lang.String roleName,
java.lang.String currentUser,
LanguageConnectionContext lcc,
DataDictionary dd,
TransactionController tc)
Heuristically, try to determine is a proposed role identifier
is already known to Derby as a user name.
|
java.lang.String |
toString() |
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivilegespublic CreateRoleConstantAction(java.lang.String roleName)
roleName - The name of the role being createdpublic void executeConstantAction(Activation activation) throws StandardException
activation - The execution environment for this constant action.StandardException - Thrown on failureConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)public java.lang.String toString()
toString in class java.lang.Objectprivate boolean knownUser(java.lang.String roleName,
java.lang.String currentUser,
LanguageConnectionContext lcc,
DataDictionary dd,
TransactionController tc)
throws StandardException
StandardExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.