Class ScriptActivityScriptBlock
java.lang.Object
com.azure.analytics.synapse.artifacts.models.ScriptActivityScriptBlock
Script block of scripts.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the parameters property: Array of script parameters.getText()
Get the text property: The query text.getType()
Get the type property: The type of the query.setParameters
(List<ScriptActivityParameter> parameters) Set the parameters property: Array of script parameters.Set the text property: The query text.setType
(ScriptType type) Set the type property: The type of the query.
-
Constructor Details
-
ScriptActivityScriptBlock
public ScriptActivityScriptBlock()
-
-
Method Details
-
getText
Get the text property: The query text. Type: string (or Expression with resultType string).- Returns:
- the text value.
-
setText
Set the text property: The query text. Type: string (or Expression with resultType string).- Parameters:
text
- the text value to set.- Returns:
- the ScriptActivityScriptBlock object itself.
-
getType
Get the type property: The type of the query. Type: string.- Returns:
- the type value.
-
setType
Set the type property: The type of the query. Type: string.- Parameters:
type
- the type value to set.- Returns:
- the ScriptActivityScriptBlock object itself.
-
getParameters
Get the parameters property: Array of script parameters. Type: array.- Returns:
- the parameters value.
-
setParameters
Set the parameters property: Array of script parameters. Type: array.- Parameters:
parameters
- the parameters value to set.- Returns:
- the ScriptActivityScriptBlock object itself.
-