public class ReadOnlySystemAccessControl extends Object implements SystemAccessControl
| Modifier and Type | Class and Description |
|---|---|
static class |
ReadOnlySystemAccessControl.Factory |
| Constructor and Description |
|---|
ReadOnlySystemAccessControl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckCanAddColumn, checkCanCreateSchema, checkCanCreateTable, checkCanCreateView, checkCanDeleteFromTable, checkCanDropColumn, checkCanDropSchema, checkCanDropTable, checkCanDropView, checkCanGrantTablePrivilege, checkCanInsertIntoTable, checkCanRenameColumn, checkCanRenameSchema, checkCanRenameTable, checkCanRevokeTablePrivilege, checkCanSetTableCommentpublic static final String NAME
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 void checkCanSelectFromColumns(Identity identity, CatalogSchemaTableName table, Set<String> columns)
checkCanSelectFromColumns in interface SystemAccessControlpublic void checkCanSetCatalogSessionProperty(Identity identity, String catalogName, String propertyName)
checkCanSetCatalogSessionProperty in interface SystemAccessControlpublic void checkCanCreateViewWithSelectFromColumns(Identity identity, CatalogSchemaTableName table, Set<String> columns)
checkCanCreateViewWithSelectFromColumns in interface SystemAccessControlpublic Set<String> filterCatalogs(Identity identity, Set<String> catalogs)
filterCatalogs in interface SystemAccessControlpublic Set<String> filterSchemas(Identity identity, String catalogName, Set<String> schemaNames)
filterSchemas in interface SystemAccessControlpublic Set<SchemaTableName> filterTables(Identity identity, String catalogName, Set<SchemaTableName> tableNames)
filterTables in interface SystemAccessControlpublic void checkCanShowColumnsMetadata(Identity identity, CatalogSchemaTableName table)
checkCanShowColumnsMetadata in interface SystemAccessControlpublic List<ColumnMetadata> filterColumns(Identity identity, CatalogSchemaTableName tableName, List<ColumnMetadata> columns)
filterColumns in interface SystemAccessControlpublic void checkCanShowSchemas(Identity identity, String catalogName)
checkCanShowSchemas in interface SystemAccessControlpublic void checkCanShowTablesMetadata(Identity identity, CatalogSchemaName schema)
checkCanShowTablesMetadata in interface SystemAccessControlpublic void checkCanShowRoles(Identity identity, String catalogName)
checkCanShowRoles in interface SystemAccessControlCopyright © 2012–2019. All rights reserved.