Interface ProcedureCatalog
- All Superinterfaces:
org.apache.spark.sql.connector.catalog.CatalogPlugin
- All Known Implementing Classes:
SparkCatalog,SparkSessionCatalog
public interface ProcedureCatalog
extends org.apache.spark.sql.connector.catalog.CatalogPlugin
A catalog API for working with stored procedures.
Implementations should implement this interface if they expose stored procedures that can be called via CALL statements.
-
Method Summary
Modifier and TypeMethodDescriptionloadProcedure(org.apache.spark.sql.connector.catalog.Identifier ident) Load astored procedurebyidentifier.Methods inherited from interface org.apache.spark.sql.connector.catalog.CatalogPlugin
defaultNamespace, initialize, name
-
Method Details
-
loadProcedure
Procedure loadProcedure(org.apache.spark.sql.connector.catalog.Identifier ident) throws NoSuchProcedureException Load astored procedurebyidentifier.- Parameters:
ident- a stored procedure identifier- Returns:
- the stored procedure's metadata
- Throws:
NoSuchProcedureException- if there is no matching stored procedure
-