public class Privileges
extends java.lang.Object
Privilege.| Modifier and Type | Class and Description | 
|---|---|
| static class  | Privileges.ConsumeTopicThe privilege to consume from a topic. | 
| static class  | Privileges.CreateCatalogThe privilege to create a catalog. | 
| static class  | Privileges.CreateFilesetThe privilege to create a fileset. | 
| static class  | Privileges.CreateModelThe privilege to create a model | 
| static class  | Privileges.CreateModelVersionThe privilege to create a model version | 
| static class  | Privileges.CreateRoleThe privilege to create a role. | 
| static class  | Privileges.CreateSchemaThe privilege to create a schema. | 
| static class  | Privileges.CreateTableThe privilege to create a table. | 
| static class  | Privileges.CreateTopicThe privilege to create a topic. | 
| static class  | Privileges.GenericPrivilege<T extends Privileges.GenericPrivilege<T>>Abstract class representing a generic privilege. | 
| static class  | Privileges.ManageGrantsThe privilege to grant or revoke a role for the user or the group. | 
| static class  | Privileges.ManageGroupsThe privilege to manage groups. | 
| static class  | Privileges.ManageUsersThe privilege to manage users. | 
| static class  | Privileges.ModifyTableThe privilege to write data to a table or modify the table schema. | 
| static class  | Privileges.ProduceTopicThe privilege to produce to a topic. | 
| static class  | Privileges.ReadFilesetThe privilege to read a fileset. | 
| static class  | Privileges.SelectTableThe privilege to select data from a table. | 
| static class  | Privileges.UseCatalogThe privilege to use a catalog. | 
| static class  | Privileges.UseModelThe privilege to view the metadata of the model and download all the model versions | 
| static class  | Privileges.UseSchemaThe privilege to use a schema. | 
| static class  | Privileges.WriteFilesetThe privilege to write a fileset. | 
| Constructor and Description | 
|---|
| Privileges() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Privilege | allow(Privilege.Name name)Returns the Privilege with allow condition from the `Privilege.Name`. | 
| static Privilege | allow(java.lang.String privilege)Returns the Privilege with allow condition from the string representation. | 
| static Privilege | deny(Privilege.Name name)Returns the Privilege with deny condition from the `Privilege.Name`. | 
| static Privilege | deny(java.lang.String privilege)Returns the Privilege with deny condition from the string representation. | 
public static Privilege allow(java.lang.String privilege)
privilege - The string representation of the privilege.public static Privilege allow(Privilege.Name name)
name - The `Privilege.Name` of the privilege.public static Privilege deny(java.lang.String privilege)
privilege - The string representation of the privilege.public static Privilege deny(Privilege.Name name)
name - The `Privilege.Name` of the privilege.