|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.compile.QueryTreeNode
org.apache.derby.impl.sql.compile.StatementNode
org.apache.derby.impl.sql.compile.DDLStatementNode
org.apache.derby.impl.sql.compile.CreateRoleNode
public class CreateRoleNode
A CreateRoleNode is the root of a QueryTree that represents a CREATE ROLE statement.
Field Summary | |
---|---|
private java.lang.String |
name
|
Fields inherited from class org.apache.derby.impl.sql.compile.DDLStatementNode |
---|
ADD_TYPE, DROP_TYPE, implicitCreateSchema, LOCKING_TYPE, MODIFY_TYPE, UNKNOWN_TYPE |
Fields inherited from class org.apache.derby.impl.sql.compile.StatementNode |
---|
NEED_CURSOR_ACTIVATION, NEED_DDL_ACTIVATION, NEED_NOTHING_ACTIVATION, NEED_PARAM_ACTIVATION, NEED_ROW_ACTIVATION |
Fields inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode |
---|
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX, isPrivilegeCollectionRequired |
Constructor Summary | |
---|---|
CreateRoleNode()
|
Method Summary | |
---|---|
void |
bindStatement()
Bind this createRoleNode. |
void |
init(java.lang.Object roleName)
Initializer for a CreateRoleNode |
ConstantAction |
makeConstantAction()
Create the Constant information that will drive the guts of Execution. |
java.lang.String |
statementToString()
|
java.lang.String |
toString()
Convert this object to a String. |
Methods inherited from class org.apache.derby.impl.sql.compile.DDLStatementNode |
---|
activationKind, bindName, generate, getFullName, getObjectName, getRelativeName, getSchemaDescriptor, getSchemaDescriptor, getTableDescriptor, getTableDescriptor, getTableDescriptor, getTableDescriptor, initAndCheck, isAtomic, makeFromList |
Methods inherited from class org.apache.derby.impl.sql.compile.StatementNode |
---|
executeSchemaName, executeStatementName, generate, getSPSName, lockTableForCompilation, makeResultDescription, needsSavepoint, optimizeStatement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String name
Constructor Detail |
---|
public CreateRoleNode()
Method Detail |
---|
public void init(java.lang.Object roleName) throws StandardException
init
in class DDLStatementNode
roleName
- The name of the new role
StandardException
- Thrown on errorpublic java.lang.String toString()
toString
in class DDLStatementNode
public void bindStatement() throws StandardException
bindStatement
in class StatementNode
StandardException
- Thrown on errorpublic java.lang.String statementToString()
statementToString
in class StatementNode
public ConstantAction makeConstantAction()
makeConstantAction
in class QueryTreeNode
StandardException
- Thrown on failure
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |