All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
void |
checkCanAccessCatalog(SystemSecurityContext context,
String catalogName) |
void |
checkCanAddColumn(SystemSecurityContext context,
CatalogSchemaTableName table) |
void |
checkCanCreateSchema(SystemSecurityContext context,
CatalogSchemaName schema) |
void |
checkCanCreateTable(SystemSecurityContext context,
CatalogSchemaTableName table) |
void |
checkCanCreateView(SystemSecurityContext context,
CatalogSchemaTableName view) |
void |
checkCanCreateViewWithSelectFromColumns(SystemSecurityContext context,
CatalogSchemaTableName table,
Set<String> columns) |
void |
checkCanDeleteFromTable(SystemSecurityContext context,
CatalogSchemaTableName table) |
void |
checkCanDropColumn(SystemSecurityContext context,
CatalogSchemaTableName table) |
void |
checkCanDropSchema(SystemSecurityContext context,
CatalogSchemaName schema) |
void |
checkCanDropTable(SystemSecurityContext context,
CatalogSchemaTableName table) |
void |
checkCanDropView(SystemSecurityContext context,
CatalogSchemaTableName view) |
void |
checkCanExecuteFunction(SystemSecurityContext systemSecurityContext,
String functionName) |
void |
checkCanExecuteProcedure(SystemSecurityContext systemSecurityContext,
CatalogSchemaRoutineName procedure) |
void |
checkCanExecuteQuery(SystemSecurityContext context) |
void |
checkCanGrantExecuteFunctionPrivilege(SystemSecurityContext context,
String functionName,
PrestoPrincipal grantee,
boolean grantOption) |
void |
checkCanGrantTablePrivilege(SystemSecurityContext context,
Privilege privilege,
CatalogSchemaTableName table,
PrestoPrincipal grantee,
boolean grantOption) |
void |
checkCanImpersonateUser(SystemSecurityContext context,
String userName) |
void |
checkCanInsertIntoTable(SystemSecurityContext context,
CatalogSchemaTableName table) |
void |
checkCanKillQueryOwnedBy(SystemSecurityContext context,
String queryOwner) |
void |
checkCanRenameColumn(SystemSecurityContext context,
CatalogSchemaTableName table) |
void |
checkCanRenameSchema(SystemSecurityContext context,
CatalogSchemaName schema,
String newSchemaName) |
void |
checkCanRenameTable(SystemSecurityContext context,
CatalogSchemaTableName table,
CatalogSchemaTableName newTable) |
void |
checkCanRenameView(SystemSecurityContext context,
CatalogSchemaTableName view,
CatalogSchemaTableName newView) |
void |
checkCanRevokeTablePrivilege(SystemSecurityContext context,
Privilege privilege,
CatalogSchemaTableName table,
PrestoPrincipal revokee,
boolean grantOption) |
void |
checkCanSelectFromColumns(SystemSecurityContext context,
CatalogSchemaTableName table,
Set<String> columns) |
void |
checkCanSetCatalogSessionProperty(SystemSecurityContext context,
String catalogName,
String propertyName) |
void |
checkCanSetSchemaAuthorization(SystemSecurityContext context,
CatalogSchemaName schema,
PrestoPrincipal principal) |
void |
checkCanSetSystemSessionProperty(SystemSecurityContext context,
String propertyName) |
void |
checkCanSetTableComment(SystemSecurityContext context,
CatalogSchemaTableName table) |
void |
checkCanSetUser(Optional<Principal> principal,
String userName) |
void |
checkCanShowColumns(SystemSecurityContext context,
CatalogSchemaTableName table) |
void |
checkCanShowCreateTable(SystemSecurityContext context,
CatalogSchemaTableName table) |
void |
checkCanShowRoles(SystemSecurityContext context,
String catalogName) |
void |
checkCanShowSchemas(SystemSecurityContext context,
String catalogName) |
void |
checkCanShowTables(SystemSecurityContext context,
CatalogSchemaName schema) |
void |
checkCanViewQueryOwnedBy(SystemSecurityContext context,
String queryOwner) |
Set<String> |
filterCatalogs(SystemSecurityContext context,
Set<String> catalogs) |
List<ColumnMetadata> |
filterColumns(SystemSecurityContext context,
CatalogSchemaTableName tableName,
List<ColumnMetadata> columns) |
Set<String> |
filterSchemas(SystemSecurityContext context,
String catalogName,
Set<String> schemaNames) |
Set<SchemaTableName> |
filterTables(SystemSecurityContext context,
String catalogName,
Set<SchemaTableName> tableNames) |
Set<String> |
filterViewQueryOwnedBy(SystemSecurityContext context,
Set<String> queryOwners) |
Optional<ViewExpression> |
getColumnMask(SystemSecurityContext context,
CatalogSchemaTableName tableName,
String columnName,
Type type) |
Optional<ViewExpression> |
getRowFilter(SystemSecurityContext context,
CatalogSchemaTableName tableName) |