| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| private Provider | |
| private TableName | |
| private int | |
| private String | |
| private boolean | |
| public static final int | |
| private RoutineDesignator | |
| public static final int | |
| private TablePrivilegesNode | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | PrivilegeNode(int objectType, Object
(a TableName or RoutineDesignator) objectOfPrivilege, TablePrivilegesNode null for routines and usage specificPrivileges, ContextManager the context manager cm)Initialize a PrivilegeNode for use against SYS.SYSTABLEPERMS and SYS.SYSROUTINEPERMS. |
| pack-priv | PrivilegeNode(int
E.g., SEQUENCE objectType, TableName A possibles schema-qualified name objectName, String A PermDescriptor privilege, e.g.
privilege, boolean PermDescriptor.USAGE_PRIVTrue if this is a REVOKE...RESTRICT action restrict, ContextManager The context manager cm)Constructor a PrivilegeNode for use against SYS.SYSPERMS. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | acceptChildren(Visitor
the visitor v)Overrides org. Accept a visitor on all child nodes. |
| public QueryTreeNode | Returns: the bound nodeThe list of privilege objects that this statement has already seen.
If the object of this privilege is not in the list then this statement is registered
as dependent on the object. dependencies, List<String> The list of grantees grantees, boolean grant if true; revoke if false isGrant)Bind this GrantNode. |
| pack-priv PrivilegeInfo | |
| private StandardException |
| AGGREGATE_PRIVILEGES | back to summary |
|---|---|
| public static final int AGGREGATE_PRIVILEGES | |
| dependencyProvider | back to summary |
|---|---|
| private Provider dependencyProvider | |
| objectName | back to summary |
|---|---|
| private TableName objectName | |
| objectType | back to summary |
|---|---|
| private int objectType | |
| privilege | back to summary |
|---|---|
| private String privilege | |
| restrict | back to summary |
|---|---|
| private boolean restrict | |
| ROUTINE_PRIVILEGES | back to summary |
|---|---|
| public static final int ROUTINE_PRIVILEGES | |
| routineDesignator | back to summary |
|---|---|
| private RoutineDesignator routineDesignator | |
| SEQUENCE_PRIVILEGES | back to summary |
|---|---|
| public static final int SEQUENCE_PRIVILEGES | |
| specificPrivileges | back to summary |
|---|---|
| private TablePrivilegesNode specificPrivileges | |
| TABLE_PRIVILEGES | back to summary |
|---|---|
| public static final int TABLE_PRIVILEGES | |
| UDT_PRIVILEGES | back to summary |
|---|---|
| public static final int UDT_PRIVILEGES | |
| PrivilegeNode | back to summary |
|---|---|
| pack-priv PrivilegeNode(int objectType, Object objectOfPrivilege, TablePrivilegesNode specificPrivileges, ContextManager cm) throws StandardException Initialize a PrivilegeNode for use against SYS.SYSTABLEPERMS and SYS.SYSROUTINEPERMS.
| |
| PrivilegeNode | back to summary |
|---|---|
| pack-priv PrivilegeNode(int objectType, TableName objectName, String privilege, boolean restrict, ContextManager cm) Constructor a PrivilegeNode for use against SYS.SYSPERMS.
| |
| acceptChildren | back to summary |
|---|---|
| pack-priv void acceptChildren(Visitor v) throws StandardException Overrides org. Doc from org. Accept a visitor on all child nodes. All sub-classes that add fields
that should be visited, should override this method and call
| |
| bind | back to summary |
|---|---|
| public QueryTreeNode bind(HashMap<Provider, Provider> dependencies, List<String> grantees, boolean isGrant) throws StandardException Bind this GrantNode. Resolve all table, column, and routine references. Register a dependency on the object of the privilege if it has not already been done
| |
| makePrivilegeInfo | back to summary |
|---|---|
pack-priv PrivilegeInfo makePrivilegeInfo() throws StandardException
| |
| unimplementedFeature | back to summary |
|---|---|
| private StandardException unimplementedFeature() Report an unimplemented feature | |