@Evolving public interface Catalog extends Auditable
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
Catalog.CloudName
The cloud that the catalog is running on. 
 | 
static class  | 
Catalog.Type
The type of the catalog. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
AUTHORIZATION_PROVIDER
This variable is used as a key in properties of catalogs to use authorization provider in
 Gravitino. 
 | 
static java.lang.String | 
CLOUD_NAME
The property to specify the cloud that the catalog is running on. 
 | 
static java.lang.String | 
CLOUD_REGION_CODE
The property to specify the region code of the cloud that the catalog is running on. 
 | 
static java.lang.String | 
PROPERTY_IN_USE
The property indicates the catalog is in use. 
 | 
static java.lang.String | 
PROPERTY_PACKAGE
A reserved property to specify the package location of the catalog. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
default FilesetCatalog | 
asFilesetCatalog()  | 
default ModelCatalog | 
asModelCatalog()  | 
default SupportsSchemas | 
asSchemas()
Return the  
SupportsSchemas if the catalog supports schema operations. | 
default TableCatalog | 
asTableCatalog()  | 
default TopicCatalog | 
asTopicCatalog()  | 
java.lang.String | 
comment()
The comment of the catalog. 
 | 
java.lang.String | 
name()  | 
java.util.Map<java.lang.String,java.lang.String> | 
properties()
The properties of the catalog. 
 | 
java.lang.String | 
provider()  | 
default SupportsCredentials | 
supportsCredentials()  | 
default SupportsRoles | 
supportsRoles()  | 
default SupportsTags | 
supportsTags()  | 
Catalog.Type | 
type()  | 
static final java.lang.String PROPERTY_PACKAGE
The property "package" is not needed if the catalog is a built-in one, Gravitino will search the proper location using "provider" to load the dependencies. Only when the folder is in different location, the "package" property is needed.
static final java.lang.String PROPERTY_IN_USE
static final java.lang.String CLOUD_NAME
Catalog.CloudName.static final java.lang.String CLOUD_REGION_CODE
static final java.lang.String AUTHORIZATION_PROVIDER
java.lang.String name()
Catalog.Type type()
java.lang.String provider()
java.lang.String comment()
java.util.Map<java.lang.String,java.lang.String> properties()
default SupportsSchemas asSchemas() throws java.lang.UnsupportedOperationException
SupportsSchemas if the catalog supports schema operations.SupportsSchemas if the catalog supports schema operations.java.lang.UnsupportedOperationException - if the catalog does not support schema operations.default TableCatalog asTableCatalog() throws java.lang.UnsupportedOperationException
TableCatalog if the catalog supports table operations.java.lang.UnsupportedOperationException - if the catalog does not support table operations.default FilesetCatalog asFilesetCatalog() throws java.lang.UnsupportedOperationException
FilesetCatalog if the catalog supports fileset operations.java.lang.UnsupportedOperationException - if the catalog does not support fileset operations.default TopicCatalog asTopicCatalog() throws java.lang.UnsupportedOperationException
TopicCatalog if the catalog supports topic operations.java.lang.UnsupportedOperationException - if the catalog does not support topic operations.default ModelCatalog asModelCatalog() throws java.lang.UnsupportedOperationException
ModelCatalog if the catalog supports model operations.java.lang.UnsupportedOperationException - if the catalog does not support model operations.default SupportsTags supportsTags() throws java.lang.UnsupportedOperationException
SupportsTags if the catalog supports tag operations.java.lang.UnsupportedOperationException - if the catalog does not support tag operations.default SupportsRoles supportsRoles() throws java.lang.UnsupportedOperationException
SupportsRoles if the catalog supports role operations.java.lang.UnsupportedOperationException - if the catalog does not support role operations.default SupportsCredentials supportsCredentials() throws java.lang.UnsupportedOperationException
SupportsCredentials if the catalog supports credential operations.java.lang.UnsupportedOperationException - if the catalog does not support credential operations.