Class SqlScriptContent
java.lang.Object
com.azure.analytics.synapse.artifacts.models.SqlScriptContent
The content of the SQL script.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: The content of the SQL script.Get the currentConnection property: The connection used to execute the SQL script.Get the metadata property: The metadata of the SQL script.getQuery()
Get the query property: SQL query to execute.Get the resultLimit property: Limit of results, '-1' for no limit.setAdditionalProperties
(Map<String, Object> additionalProperties) Set the additionalProperties property: The content of the SQL script.setCurrentConnection
(SqlConnection currentConnection) Set the currentConnection property: The connection used to execute the SQL script.setMetadata
(SqlScriptMetadata metadata) Set the metadata property: The metadata of the SQL script.Set the query property: SQL query to execute.setResultLimit
(Integer resultLimit) Set the resultLimit property: Limit of results, '-1' for no limit.
-
Constructor Details
-
SqlScriptContent
public SqlScriptContent()
-
-
Method Details
-
getQuery
Get the query property: SQL query to execute.- Returns:
- the query value.
-
setQuery
Set the query property: SQL query to execute.- Parameters:
query
- the query value to set.- Returns:
- the SqlScriptContent object itself.
-
getCurrentConnection
Get the currentConnection property: The connection used to execute the SQL script.- Returns:
- the currentConnection value.
-
setCurrentConnection
Set the currentConnection property: The connection used to execute the SQL script.- Parameters:
currentConnection
- the currentConnection value to set.- Returns:
- the SqlScriptContent object itself.
-
getResultLimit
Get the resultLimit property: Limit of results, '-1' for no limit.- Returns:
- the resultLimit value.
-
setResultLimit
Set the resultLimit property: Limit of results, '-1' for no limit.- Parameters:
resultLimit
- the resultLimit value to set.- Returns:
- the SqlScriptContent object itself.
-
getMetadata
Get the metadata property: The metadata of the SQL script.- Returns:
- the metadata value.
-
setMetadata
Set the metadata property: The metadata of the SQL script.- Parameters:
metadata
- the metadata value to set.- Returns:
- the SqlScriptContent object itself.
-
getAdditionalProperties
Get the additionalProperties property: The content of the SQL script.- Returns:
- the additionalProperties value.
-
setAdditionalProperties
Set the additionalProperties property: The content of the SQL script.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the SqlScriptContent object itself.
-