public class AllGrantedPrivilegeChecker extends Object implements PrivilegeChecker
Constructor and Description |
---|
AllGrantedPrivilegeChecker() |
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) |
boolean |
equals(Object o) |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assertCanSelectOrInsert
public void assertCanSelect(Identifier identifier)
assertCanSelect
in interface PrivilegeChecker
public void assertCanInsert(Identifier identifier)
assertCanInsert
in interface PrivilegeChecker
public void assertCanAlterTable(Identifier identifier)
assertCanAlterTable
in interface PrivilegeChecker
public void assertCanDropTable(Identifier identifier)
assertCanDropTable
in interface PrivilegeChecker
public void assertCanCreateTable(String databaseName)
assertCanCreateTable
in interface PrivilegeChecker
public void assertCanDropDatabase(String databaseName)
assertCanDropDatabase
in interface PrivilegeChecker
public void assertCanCreateDatabase()
assertCanCreateDatabase
in interface PrivilegeChecker
public void assertCanCreateUser()
assertCanCreateUser
in interface PrivilegeChecker
public void assertCanDropUser()
assertCanDropUser
in interface PrivilegeChecker
public void assertCanGrant(String identifier, PrivilegeType privilege)
assertCanGrant
in interface PrivilegeChecker
public void assertCanRevoke()
assertCanRevoke
in interface PrivilegeChecker
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.