@PublicEvolving public class CatalogDescriptor extends Object
Catalog
with the catalog name and configuration.
A CatalogDescriptor
is a template for creating a Catalog
instance. It closely
resembles the "CREATE CATALOG" SQL DDL statement, containing catalog name and catalog
configuration. A CatalogDescriptor
could be stored to CatalogStore
.
This can be used to register a catalog in the Table API, see TableEnvironment#createCatalog(String, CatalogDescriptor)
.
Modifier and Type | Method and Description |
---|---|
String |
getCatalogName() |
Configuration |
getConfiguration() |
static CatalogDescriptor |
of(String catalogName,
Configuration configuration)
Creates an instance of this interface.
|
public String getCatalogName()
public Configuration getConfiguration()
public static CatalogDescriptor of(String catalogName, Configuration configuration)
catalogName
- the name of the catalogconfiguration
- the configuration of the catalogCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.