public interface PrivilegeChecker extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
assertCanAlterTable(Identifier identifier) |
void |
assertCanCreateDatabase() |
void |
assertCanCreateTable(String databaseName) |
void |
assertCanCreateUser() |
void |
assertCanDropDatabase(String databaseName) |
void |
assertCanDropTable(Identifier identifier) |
void |
assertCanDropUser() |
void |
assertCanGrant(String identifier,
PrivilegeType privilege) |
void |
assertCanInsert(Identifier identifier) |
void |
assertCanRevoke() |
void |
assertCanSelect(Identifier identifier) |
default void |
assertCanSelectOrInsert(Identifier identifier) |
default void assertCanSelectOrInsert(Identifier identifier)
void assertCanSelect(Identifier identifier)
void assertCanInsert(Identifier identifier)
void assertCanAlterTable(Identifier identifier)
void assertCanDropTable(Identifier identifier)
void assertCanCreateTable(String databaseName)
void assertCanDropDatabase(String databaseName)
void assertCanCreateDatabase()
void assertCanCreateUser()
void assertCanDropUser()
void assertCanGrant(String identifier, PrivilegeType privilege)
void assertCanRevoke()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.