public class class_name { ... public static void method_name ( type_1 input_parameter_1, ..., type_n input_parameter_n, result_type_1 result_1, ..., result_type_r result_r) { ... } ... }
where:
Parameter... | Specifies... |
---|---|
type_n input_parameter_n | the input parameters, where n is the number of parameters in the CREATE FUNCTION definition. If n = 0, no input parameters appear. The type is a Java primitive or class corresponding to the SQL data type of the input argument. The maximum number of input parameters is 128. |
result_type_r result_r | the row result output parameters, where r is determined by the corresponding CREATE FUNCTION or REPLACE FUNCTION definition. If the table UDF is defined with fixed result row specification, then...
If the table UDF is defined with dynamic result row specification, then...
The method must return at least one result row output argument. |