Interface ProcedureParameter
- 
 public interface ProcedureParameterAn input parameter of astored procedure.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.spark.sql.types.DataTypedataType()Returns the type of this parameter.java.lang.Stringname()Returns the name of this parameter.static ProcedureParameteroptional(java.lang.String name, org.apache.spark.sql.types.DataType dataType)Creates an optional input parameter.booleanrequired()Returns true if this parameter is required.static ProcedureParameterrequired(java.lang.String name, org.apache.spark.sql.types.DataType dataType)Creates a required input parameter.
 
- 
- 
- 
Method Detail- 
requiredstatic ProcedureParameter required(java.lang.String name, org.apache.spark.sql.types.DataType dataType) Creates a required input parameter.- Parameters:
- name- the name of the parameter
- dataType- the type of the parameter
- Returns:
- the constructed stored procedure parameter
 
 - 
optionalstatic ProcedureParameter optional(java.lang.String name, org.apache.spark.sql.types.DataType dataType) 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
 
 - 
namejava.lang.String name() Returns the name of this parameter.
 - 
dataTypeorg.apache.spark.sql.types.DataType dataType() Returns the type of this parameter.
 - 
requiredboolean required() Returns true if this parameter is required.
 
- 
 
-