Interface ProcedureParameter
@Evolving
public interface ProcedureParameter
A
procedure parameter.- Since:
- 4.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic enumAn enum representing procedure parameter modes. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA field metadata key that indicates whether an argument is passed by name. -
Method Summary
Modifier and TypeMethodDescriptioncomment()Returns the comment of this parameter or null if not provided.dataType()Returns the data type of this parameter.Returns the SQL string (Spark SQL dialect) of the default value expression of this parameter or null if not provided.static ProcedureParameter.BuilderCreates a builder for an IN procedure parameter.mode()Returns the mode of this parameter.name()Returns the name of this parameter.
-
Field Details
-
BY_NAME_METADATA_KEY
A field metadata key that indicates whether an argument is passed by name.- See Also:
-
-
Method Details
-
in
Creates a builder for an IN procedure parameter.- Parameters:
name- the name of the parameterdataType- the type of the parameter- Returns:
- the constructed stored procedure parameter
-
mode
ProcedureParameter.Mode mode()Returns the mode of this parameter. -
name
String name()Returns the name of this parameter. -
dataType
DataType dataType()Returns the data type of this parameter. -
defaultValue
Returns the SQL string (Spark SQL dialect) of the default value expression of this parameter or null if not provided. -
comment
Returns the comment of this parameter or null if not provided.
-