Visitableclass SetRoleNode extends MiscellaneousStatementNode
| Modifier and Type | Field | Description |
|---|---|---|
private java.lang.String |
name |
|
private int |
type |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_CYCLE, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEXEMPTY_TD_LIST, NEED_CURSOR_ACTIVATION, NEED_DDL_ACTIVATION, NEED_NOTHING_ACTIVATION, NEED_PARAM_ACTIVATION, NEED_ROW_ACTIVATION| Constructor | Description |
|---|---|
SetRoleNode(java.lang.String roleName,
int type,
ContextManager cm) |
| Modifier and Type | Method | Description |
|---|---|---|
(package private) int |
activationKind() |
Override: Returns the type of activation this class
generates.
|
(package private) void |
generate(ActivationClassBuilder acb,
MethodBuilder mb) |
Override: Generate code, need to push parameters
|
private void |
generateParameterValueSet(ActivationClassBuilder acb) |
Generate the code to create the ParameterValueSet, if necessary,
when constructing the activation.
|
boolean |
isAtomic() |
Override to allow committing of reading SYSROLES,
cf.
|
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.
|
needsSavepointclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, acceptChildren, addTag, addUDTUsagePriv, addUDTUsagePriv, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, copyTagsFrom, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContext, getContextManager, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getLongProperty, getNullNode, getOffsetOrderedNodes, getOptimizerFactory, getOptimizerTracer, getParameterTypes, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, getUDTDesc, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeTableName, makeTableName, nodeHeader, optimizerTracingIsOn, orReliability, parseSearchCondition, parseStatement, printLabel, printSubNodes, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setEndOffset, setRefActionInfo, stackPrint, taggedWith, treePrint, treePrint, verifyClassExistbindStatement, executeSchemaName, executeStatementName, generate, getCursorInfo, getSPSName, lockTableForCompilation, makeResultDescription, optimizeStatement, updateIndexStatisticsForSetRoleNode(java.lang.String roleName,
int type,
ContextManager cm)
throws StandardException
roleName - The name of the new role, null if NONE specifiedtype - Type of role name could be USER or dynamic parametercm - Context managerStandardExceptionpublic java.lang.String toString()
toString in class StatementNodepublic java.lang.String statementToString()
statementToString in class StatementNodepublic ConstantAction makeConstantAction() throws StandardException
makeConstantAction in class QueryTreeNodeStandardException - Thrown on failurevoid generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException
generate in class MiscellaneousStatementNodeacb - The ActivationClassBuilder for the class being builtmb - the method for the execute() method to be builtStandardException - Thrown on errorprivate void generateParameterValueSet(ActivationClassBuilder acb) throws StandardException
acb - The ActivationClassBuilder for the class we're buildingStandardException - Thrown on errorint activationKind()
activationKind in class MiscellaneousStatementNodepublic boolean isAtomic()
isAtomic in class StatementNodeApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.