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.CatalogPluginA 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 ProcedureloadProcedure(org.apache.spark.sql.connector.catalog.Identifier ident)Load astored procedurebyidentifier.
-
-
-
Method Detail
-
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
-
-