public class ViewAccessControl extends DenyAllAccessControl
| Constructor and Description |
|---|
ViewAccessControl(AccessControl delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCanCreateViewWithSelectFromColumns(TransactionId transactionId,
Identity identity,
QualifiedObjectName tableName,
Set<String> columnNames)
Check if identity is allowed to create a view that selects from the specified columns.
|
void |
checkCanSelectFromColumns(TransactionId transactionId,
Identity identity,
QualifiedObjectName tableName,
Set<String> columnNames)
Check if identity is allowed to select from the specified columns.
|
checkCanAccessCatalog, checkCanAddColumns, checkCanCreateRole, checkCanCreateSchema, checkCanCreateTable, checkCanCreateView, checkCanDeleteFromTable, checkCanDropColumn, checkCanDropRole, checkCanDropSchema, checkCanDropTable, checkCanDropView, checkCanGrantRoles, checkCanGrantTablePrivilege, checkCanInsertIntoTable, checkCanRenameColumn, checkCanRenameSchema, checkCanRenameTable, checkCanRevokeRoles, checkCanRevokeTablePrivilege, checkCanSetCatalogSessionProperty, checkCanSetRole, checkCanSetSystemSessionProperty, checkCanSetTableComment, checkCanSetUser, checkCanShowColumnsMetadata, checkCanShowCurrentRoles, checkCanShowRoleGrants, checkCanShowRoles, checkCanShowSchemas, checkCanShowTablesMetadata, filterCatalogs, filterColumns, filterSchemas, filterTablespublic ViewAccessControl(AccessControl delegate)
public void checkCanSelectFromColumns(TransactionId transactionId, Identity identity, QualifiedObjectName tableName, Set<String> columnNames)
AccessControlcheckCanSelectFromColumns in interface AccessControlcheckCanSelectFromColumns in class DenyAllAccessControlpublic void checkCanCreateViewWithSelectFromColumns(TransactionId transactionId, Identity identity, QualifiedObjectName tableName, Set<String> columnNames)
AccessControlcheckCanCreateViewWithSelectFromColumns in interface AccessControlcheckCanCreateViewWithSelectFromColumns in class DenyAllAccessControlCopyright © 2012–2019. All rights reserved.