public abstract class ForwardingSystemAccessControl extends Object implements SystemAccessControl
| Constructor and Description |
|---|
ForwardingSystemAccessControl() |
public static SystemAccessControl of(Supplier<SystemAccessControl> systemAccessControlSupplier)
protected abstract SystemAccessControl delegate()
public void checkCanSetUser(Optional<Principal> principal, String userName)
checkCanSetUser in interface SystemAccessControlpublic void checkCanSetSystemSessionProperty(Identity identity, String propertyName)
checkCanSetSystemSessionProperty in interface SystemAccessControlpublic void checkCanAccessCatalog(Identity identity, String catalogName)
checkCanAccessCatalog in interface SystemAccessControlpublic Set<String> filterCatalogs(Identity identity, Set<String> catalogs)
filterCatalogs in interface SystemAccessControlpublic void checkCanCreateSchema(Identity identity, CatalogSchemaName schema)
checkCanCreateSchema in interface SystemAccessControlpublic void checkCanDropSchema(Identity identity, CatalogSchemaName schema)
checkCanDropSchema in interface SystemAccessControlpublic void checkCanRenameSchema(Identity identity, CatalogSchemaName schema, String newSchemaName)
checkCanRenameSchema in interface SystemAccessControlpublic void checkCanShowSchemas(Identity identity, String catalogName)
checkCanShowSchemas in interface SystemAccessControlpublic Set<String> filterSchemas(Identity identity, String catalogName, Set<String> schemaNames)
filterSchemas in interface SystemAccessControlpublic void checkCanCreateTable(Identity identity, CatalogSchemaTableName table)
checkCanCreateTable in interface SystemAccessControlpublic void checkCanDropTable(Identity identity, CatalogSchemaTableName table)
checkCanDropTable in interface SystemAccessControlpublic void checkCanRenameTable(Identity identity, CatalogSchemaTableName table, CatalogSchemaTableName newTable)
checkCanRenameTable in interface SystemAccessControlpublic void checkCanSetTableComment(Identity identity, CatalogSchemaTableName table)
checkCanSetTableComment in interface SystemAccessControlpublic void checkCanShowTablesMetadata(Identity identity, CatalogSchemaName schema)
checkCanShowTablesMetadata in interface SystemAccessControlpublic Set<SchemaTableName> filterTables(Identity identity, String catalogName, Set<SchemaTableName> tableNames)
filterTables in interface SystemAccessControlpublic void checkCanShowColumnsMetadata(Identity identity, CatalogSchemaTableName tableName)
checkCanShowColumnsMetadata in interface SystemAccessControlpublic List<ColumnMetadata> filterColumns(Identity identity, CatalogSchemaTableName tableName, List<ColumnMetadata> columns)
filterColumns in interface SystemAccessControlpublic void checkCanAddColumn(Identity identity, CatalogSchemaTableName table)
checkCanAddColumn in interface SystemAccessControlpublic void checkCanDropColumn(Identity identity, CatalogSchemaTableName table)
checkCanDropColumn in interface SystemAccessControlpublic void checkCanRenameColumn(Identity identity, CatalogSchemaTableName table)
checkCanRenameColumn in interface SystemAccessControlpublic void checkCanSelectFromColumns(Identity identity, CatalogSchemaTableName table, Set<String> columns)
checkCanSelectFromColumns in interface SystemAccessControlpublic void checkCanInsertIntoTable(Identity identity, CatalogSchemaTableName table)
checkCanInsertIntoTable in interface SystemAccessControlpublic void checkCanDeleteFromTable(Identity identity, CatalogSchemaTableName table)
checkCanDeleteFromTable in interface SystemAccessControlpublic void checkCanCreateView(Identity identity, CatalogSchemaTableName view)
checkCanCreateView in interface SystemAccessControlpublic void checkCanDropView(Identity identity, CatalogSchemaTableName view)
checkCanDropView in interface SystemAccessControlpublic void checkCanCreateViewWithSelectFromColumns(Identity identity, CatalogSchemaTableName table, Set<String> columns)
checkCanCreateViewWithSelectFromColumns in interface SystemAccessControlpublic void checkCanSetCatalogSessionProperty(Identity identity, String catalogName, String propertyName)
checkCanSetCatalogSessionProperty in interface SystemAccessControlpublic void checkCanGrantTablePrivilege(Identity identity, Privilege privilege, CatalogSchemaTableName table, PrestoPrincipal grantee, boolean withGrantOption)
checkCanGrantTablePrivilege in interface SystemAccessControlpublic void checkCanRevokeTablePrivilege(Identity identity, Privilege privilege, CatalogSchemaTableName table, PrestoPrincipal revokee, boolean grantOptionFor)
checkCanRevokeTablePrivilege in interface SystemAccessControlpublic void checkCanShowRoles(Identity identity, String catalogName)
checkCanShowRoles in interface SystemAccessControlCopyright © 2012–2019. All rights reserved.