public interface ProcedureParameter
stored procedure
.Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.types.DataType |
dataType()
Returns the type of input parameter.
|
String |
name()
Returns the name of input parameter.
|
static ProcedureParameter |
optional(String name,
org.apache.spark.sql.types.DataType dataType)
Creates an optional input parameter.
|
boolean |
required()
Returns whether input parameter is required.
|
static ProcedureParameter |
required(String name,
org.apache.spark.sql.types.DataType dataType)
Creates a required input parameter.
|
static ProcedureParameter required(String name, org.apache.spark.sql.types.DataType dataType)
name
- The name of input parameter.dataType
- The data type of input parameter.static ProcedureParameter optional(String name, org.apache.spark.sql.types.DataType dataType)
name
- The name of input parameter.dataType
- The data type of input parameter.String name()
org.apache.spark.sql.types.DataType dataType()
boolean required()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.