public class Privileges
extends java.lang.Object
Privilege
.Modifier and Type | Class and Description |
---|---|
static class |
Privileges.AddGroup
The privilege to add a group.
|
static class |
Privileges.AddUser
The privilege to add a user.
|
static class |
Privileges.AlterCatalog
The privilege to alter a catalog.
|
static class |
Privileges.AlterSchema
The privilege to alter a schema.
|
static class |
Privileges.CreateCatalog
The privilege to create a catalog.
|
static class |
Privileges.CreateFileset
The privilege to create a fileset.
|
static class |
Privileges.CreateMetalake
The privilege to manage a metalake.
|
static class |
Privileges.CreateRole
The privilege to create a role.
|
static class |
Privileges.CreateSchema
The privilege to create a schema.
|
static class |
Privileges.CreateTable
The privilege to create a table.
|
static class |
Privileges.CreateTopic
The privilege to create a topic.
|
static class |
Privileges.DeleteRole
The privilege to delete a role.
|
static class |
Privileges.DropCatalog
The privilege to drop a catalog.
|
static class |
Privileges.DropFileset
The privilege to drop a fileset.
|
static class |
Privileges.DropSchema
The privilege to drop a schema.
|
static class |
Privileges.DropTable
The privilege to drop a table.
|
static class |
Privileges.DropTopic
The privilege to drop a topic.
|
static class |
Privileges.GetGroup
The privilege to get a group.
|
static class |
Privileges.GetRole
The privilege to get a role.
|
static class |
Privileges.GetUser
The privilege to get a user.
|
static class |
Privileges.GrantRole
The privilege to grant a role to the user or the group.
|
static class |
Privileges.ManageMetalake
The privilege to manage a metalake.
|
static class |
Privileges.ReadFileset
The privilege to read a fileset.
|
static class |
Privileges.ReadTable
The privilege to read a table.
|
static class |
Privileges.ReadTopic
The privilege to read a topic.
|
static class |
Privileges.RemoveGroup
The privilege to remove a group.
|
static class |
Privileges.RemoveUser
The privilege to remove a user.
|
static class |
Privileges.RevokeRole
The privilege to revoke a role from the user or the group.
|
static class |
Privileges.UseCatalog
The privilege to use a catalog.
|
static class |
Privileges.UseMetalake
The privilege to use a metalake.
|
static class |
Privileges.UseSchema
The privilege to use a schema.
|
static class |
Privileges.WriteFileset
The privilege to write a fileset.
|
static class |
Privileges.WriteTable
The privilege to write a table.
|
static class |
Privileges.WriteTopic
The privilege to write a topic.
|
Constructor and Description |
---|
Privileges() |
Modifier and Type | Method and Description |
---|---|
static Privilege |
fromName(Privilege.Name name)
Returns the Privilege from the `Privilege.Name`.
|
static Privilege |
fromString(java.lang.String privilege)
Returns the Privilege from the string representation.
|
public static Privilege fromString(java.lang.String privilege)
privilege
- The string representation of the privilege.public static Privilege fromName(Privilege.Name name)
name
- The `Privilege.Name` of the privilege.