public class SecurableObjects
extends java.lang.Object
SecurableObject.| Constructor and Description |
|---|
SecurableObjects() |
| Modifier and Type | Method and Description |
|---|---|
static SecurableObject |
ofAllMetalakes()
All metalakes is a special securable object .You can give the securable object the privileges
`CREATE METALAKE`, etc.
|
static SecurableObject |
ofCatalog(java.lang.String catalog)
Create the catalog
SecurableObject with the given catalog name. |
static SecurableObject |
ofFileset(SecurableObject schema,
java.lang.String fileset)
Create the table
SecurableObject with the given securable schema object and fileset
name. |
static SecurableObject |
ofMetalake(java.lang.String metalake)
Create the metalake
SecurableObject with the given metalake name. |
static SecurableObject |
ofSchema(SecurableObject catalog,
java.lang.String schema)
Create the schema
SecurableObject with the given securable catalog object and schema
name. |
static SecurableObject |
ofTable(SecurableObject schema,
java.lang.String table)
Create the table
SecurableObject with the given securable schema object and table name. |
static SecurableObject |
ofTopic(SecurableObject schema,
java.lang.String topic)
Create the topic
SecurableObject with the given securable schema object and topic name. |
static SecurableObject |
parse(java.lang.String fullName,
SecurableObject.Type type)
Create a
SecurableObject from the given full name. |
public static SecurableObject ofMetalake(java.lang.String metalake)
SecurableObject with the given metalake name.metalake - The metalake nameSecurableObjectpublic static SecurableObject ofCatalog(java.lang.String catalog)
SecurableObject with the given catalog name.catalog - The catalog nameSecurableObjectpublic static SecurableObject ofSchema(SecurableObject catalog, java.lang.String schema)
SecurableObject with the given securable catalog object and schema
name.catalog - The securable catalog objectschema - The schema nameSecurableObjectpublic static SecurableObject ofTable(SecurableObject schema, java.lang.String table)
SecurableObject with the given securable schema object and table name.schema - The securable schema objecttable - The table nameSecurableObjectpublic static SecurableObject ofTopic(SecurableObject schema, java.lang.String topic)
SecurableObject with the given securable schema object and topic name.schema - The securable schema objecttopic - The topic nameSecurableObjectpublic static SecurableObject ofFileset(SecurableObject schema, java.lang.String fileset)
SecurableObject with the given securable schema object and fileset
name.schema - The securable schema objectfileset - The fileset nameSecurableObjectpublic static SecurableObject ofAllMetalakes()
SecurableObjectpublic static SecurableObject parse(java.lang.String fullName, SecurableObject.Type type)
SecurableObject from the given full name.fullName - The full name of securable object.type - The securable object type.SecurableObject