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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Procedure
loadProcedure(org.apache.spark.sql.connector.catalog.Identifier ident)
Load astored procedure
byidentifier
.
-
-
-
Method Detail
-
loadProcedure
Procedure loadProcedure(org.apache.spark.sql.connector.catalog.Identifier ident) throws NoSuchProcedureException
Load astored procedure
byidentifier
.- Parameters:
ident
- a stored procedure identifier- Returns:
- the stored procedure's metadata
- Throws:
NoSuchProcedureException
- if there is no matching stored procedure
-
-