public class Catalogs
extends Object
Constructor and Description |
---|
Catalogs() |
Modifier and Type | Method and Description |
---|---|
static CatalogPlugin |
load(String name,
org.apache.spark.sql.internal.SQLConf conf)
Load and configure a catalog by name.
|
public static CatalogPlugin load(String name, org.apache.spark.sql.internal.SQLConf conf) throws CatalogNotFoundException, SparkException
This loads, instantiates, and initializes the catalog plugin for each call; it does not cache or reuse instances.
name
- a String catalog nameconf
- a SQLConfCatalogNotFoundException
- if the plugin class cannot be foundSparkException
- if the plugin class cannot be instantiated