public interface ProcedureParameter
stored procedure
.Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.types.DataType |
dataType()
Returns the type of this parameter.
|
java.lang.String |
name()
Returns the name of this parameter.
|
static ProcedureParameter |
optional(java.lang.String name,
org.apache.spark.sql.types.DataType dataType)
Creates an optional input parameter.
|
boolean |
required()
Returns true if this parameter is required.
|
static ProcedureParameter |
required(java.lang.String name,
org.apache.spark.sql.types.DataType dataType)
Creates a required input parameter.
|
static ProcedureParameter required(java.lang.String name, org.apache.spark.sql.types.DataType dataType)
name
- the name of the parameterdataType
- the type of the parameterstatic ProcedureParameter optional(java.lang.String name, org.apache.spark.sql.types.DataType dataType)
name
- the name of the parameter.dataType
- the type of the parameter.java.lang.String name()
org.apache.spark.sql.types.DataType dataType()
boolean required()