Visitable
class TablePrivilegesNode extends QueryTreeNode
Modifier and Type | Field | Description |
---|---|---|
private boolean[] |
actionAllowed |
|
private FormatableBitSet[] |
columnBitSets |
|
private ResultColumnList[] |
columnLists |
|
private java.util.List<Provider> |
descriptorList |
|
private TableDescriptor |
td |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_CYCLE, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor | Description |
---|---|
TablePrivilegesNode(ContextManager cm) |
Modifier and Type | Method | Description |
---|---|---|
(package private) void |
addAction(int action,
ResultColumnList privilegeColumnList) |
Add one action to the privileges for this table
|
(package private) void |
addAll() |
Add all actions
|
(package private) void |
bind(TableDescriptor td,
boolean isGrant) |
Bind.
|
private void |
bindPrivilegesForView(TableDescriptor td) |
Retrieve all the underlying stored dependencies such as table(s),
view(s) and routine(s) descriptors which the view depends on.
|
(package private) PrivilegeInfo |
makePrivilegeInfo() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, acceptChildren, addTag, addUDTUsagePriv, addUDTUsagePriv, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, copyTagsFrom, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, generate, 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, isAtomic, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, makeTableName, nodeHeader, optimizerTracingIsOn, orReliability, parseSearchCondition, parseStatement, printLabel, printSubNodes, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setEndOffset, setRefActionInfo, stackPrint, taggedWith, toString, treePrint, treePrint, verifyClassExist
private boolean[] actionAllowed
private ResultColumnList[] columnLists
private FormatableBitSet[] columnBitSets
private TableDescriptor td
private java.util.List<Provider> descriptorList
TablePrivilegesNode(ContextManager cm)
void addAll()
void addAction(int action, ResultColumnList privilegeColumnList)
action
- The action typeprivilegeColumnList
- The set of privilege columns. Null for all columnsStandardException
- standard error policy.void bind(TableDescriptor td, boolean isGrant) throws StandardException
td
- The table descriptorisGrant
- grant if true; revoke if falseStandardException
PrivilegeInfo makePrivilegeInfo()
private void bindPrivilegesForView(TableDescriptor td) throws StandardException
td
- the TableDescriptor to checkStandardException
- standard error policy.Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.