Class Catalogs
Object
org.apache.spark.sql.connector.catalog.Catalogs
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Catalogs
public Catalogs()
-
-
Method Details
-
load
public static CatalogPlugin load(String name, org.apache.spark.sql.internal.SQLConf conf) throws CatalogNotFoundException, SparkException Load and configure a catalog by name.This loads, instantiates, and initializes the catalog plugin for each call; it does not cache or reuse instances.
- Parameters:
name- a String catalog nameconf- a SQLConf- Returns:
- an initialized CatalogPlugin
- Throws:
CatalogNotFoundException- if the plugin class cannot be foundSparkException- if the plugin class cannot be instantiated
-