public class TablePrivilegesNode extends QueryTreeNode
Modifier and Type | Field and Description |
---|---|
private boolean[] |
actionAllowed |
private FormatableBitSet[] |
columnBitSets |
private ResultColumnList[] |
columnLists |
private java.util.List |
descriptorList |
private TableDescriptor |
td |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
TablePrivilegesNode() |
Modifier and Type | Method and Description |
---|---|
void |
addAction(int action,
ResultColumnList privilegeColumnList)
Add one action to the privileges for this table
|
void |
addAll()
Add all actions
|
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.
|
PrivilegeInfo |
makePrivilegeInfo() |
accept, acceptChildren, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, foundString, generate, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContextManager, getCursorInfo, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, getParameterTypes, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, init, init, init, init, init, init, init, init, init, init, init, init, init, init, isAtomic, isInstanceOf, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, makeTableName, nodeHeader, orReliability, parseStatement, printLabel, printSubNodes, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, stackPrint, toString, treePrint, treePrint, verifyClassExist
private boolean[] actionAllowed
private ResultColumnList[] columnLists
private FormatableBitSet[] columnBitSets
private TableDescriptor td
private java.util.List descriptorList
public void addAll()
public void addAction(int action, ResultColumnList privilegeColumnList)
action
- The action typeprivilegeColumnList
- The set of privilege columns. Null for all columnsStandardException
- standard error policy.public void bind(TableDescriptor td, boolean isGrant) throws StandardException
td
- The table descriptorisGrant
- grant if true; revoke if falseStandardException
public PrivilegeInfo makePrivilegeInfo()
private void bindPrivilegesForView(TableDescriptor td) throws StandardException
td
- the TableDescriptor to checkStandardException
- standard error policy.Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.