Interface BoundProcedure
- All Superinterfaces:
Procedure
A procedure that is bound to input types.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptioncall(org.apache.spark.sql.catalyst.InternalRow input) Executes this procedure with the given input.booleanIndicates whether this procedure is deterministic.Returns parameters of this procedure.Methods inherited from interface org.apache.spark.sql.connector.catalog.procedures.Procedure
description, name
-
Method Details
-
parameters
ProcedureParameter[] parameters()Returns parameters of this procedure. -
isDeterministic
boolean isDeterministic()Indicates whether this procedure is deterministic. -
call
Executes this procedure with the given input.Spark validates and rearranges arguments provided in the CALL statement to ensure that the order and data types of the fields in
inputmatches the expected order and types defined byparameters.Each procedure can return any number of result sets. Each result set is represented by a
scanthat reports the type of records it produces and can be used to collect the output, if needed. If a result set is local and does not a distributed job, implementations should useLocalScan.
-