Interface Procedure
- All Known Implementing Classes:
- AncestorsOfProcedure,- ComputeTableStatsProcedure,- CreateChangelogViewProcedure,- ExpireSnapshotsProcedure,- FastForwardBranchProcedure,- RemoveOrphanFilesProcedure,- RewritePositionDeleteFilesProcedure,- RewriteTablePathProcedure
public interface Procedure
An interface representing a stored procedure available for execution.
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.spark.sql.catalyst.InternalRow[]call(org.apache.spark.sql.catalyst.InternalRow args) Executes this procedure.default StringReturns the description of this procedure.org.apache.spark.sql.types.StructTypeReturns the type of rows produced by this procedure.Returns the input parameters of this procedure.
- 
Method Details- 
parametersProcedureParameter[] parameters()Returns the input parameters of this procedure.
- 
outputTypeorg.apache.spark.sql.types.StructType outputType()Returns the type of rows produced by this procedure.
- 
callorg.apache.spark.sql.catalyst.InternalRow[] call(org.apache.spark.sql.catalyst.InternalRow args) Executes this procedure.Spark will align the provided arguments according to the input parameters defined in parameters()either by position or by name before execution.Implementations may provide a summary of execution by returning one or many rows as a result. The schema of output rows must match the defined output type in outputType().- Parameters:
- args- input arguments
- Returns:
- the result of executing this procedure with the given arguments
 
- 
descriptionReturns the description of this procedure.
 
-