Interface ProcedureParameter
public interface ProcedureParameter
An input parameter of a 
stored procedure.- 
Method Summary
Modifier and TypeMethodDescriptionorg.apache.spark.sql.types.DataTypedataType()Returns the type of this parameter.name()Returns the name of this parameter.static ProcedureParameterCreates an optional input parameter.booleanrequired()Returns true if this parameter is required.static ProcedureParameterCreates a required input parameter. 
- 
Method Details
- 
required
Creates a required input parameter.- Parameters:
 name- the name of the parameterdataType- the type of the parameter- Returns:
 - the constructed stored procedure parameter
 
 - 
optional
Creates an optional input parameter.- Parameters:
 name- the name of the parameter.dataType- the type of the parameter.- Returns:
 - the constructed optional stored procedure parameter
 
 - 
name
String name()Returns the name of this parameter. - 
dataType
org.apache.spark.sql.types.DataType dataType()Returns the type of this parameter. - 
required
boolean required()Returns true if this parameter is required. 
 -