Class SqlScriptContent
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.SqlScriptContent
-
public final class SqlScriptContent extends Object
The content of the SQL script.
-
-
Constructor Summary
Constructors Constructor Description SqlScriptContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
Get the additionalProperties property: The content of the SQL script.SqlConnection
getCurrentConnection()
Get the currentConnection property: The connection used to execute the SQL script.SqlScriptMetadata
getMetadata()
Get the metadata property: The metadata of the SQL script.String
getQuery()
Get the query property: SQL query to execute.Integer
getResultLimit()
Get the resultLimit property: Limit of results, '-1' for no limit.SqlScriptContent
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: The content of the SQL script.SqlScriptContent
setCurrentConnection(SqlConnection currentConnection)
Set the currentConnection property: The connection used to execute the SQL script.SqlScriptContent
setMetadata(SqlScriptMetadata metadata)
Set the metadata property: The metadata of the SQL script.SqlScriptContent
setQuery(String query)
Set the query property: SQL query to execute.SqlScriptContent
setResultLimit(Integer resultLimit)
Set the resultLimit property: Limit of results, '-1' for no limit.
-
-
-
Method Detail
-
getQuery
public String getQuery()
Get the query property: SQL query to execute.- Returns:
- the query value.
-
setQuery
public SqlScriptContent setQuery(String query)
Set the query property: SQL query to execute.- Parameters:
query
- the query value to set.- Returns:
- the SqlScriptContent object itself.
-
getCurrentConnection
public SqlConnection getCurrentConnection()
Get the currentConnection property: The connection used to execute the SQL script.- Returns:
- the currentConnection value.
-
setCurrentConnection
public SqlScriptContent setCurrentConnection(SqlConnection currentConnection)
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
public Integer getResultLimit()
Get the resultLimit property: Limit of results, '-1' for no limit.- Returns:
- the resultLimit value.
-
setResultLimit
public SqlScriptContent setResultLimit(Integer resultLimit)
Set the resultLimit property: Limit of results, '-1' for no limit.- Parameters:
resultLimit
- the resultLimit value to set.- Returns:
- the SqlScriptContent object itself.
-
getMetadata
public SqlScriptMetadata getMetadata()
Get the metadata property: The metadata of the SQL script.- Returns:
- the metadata value.
-
setMetadata
public SqlScriptContent setMetadata(SqlScriptMetadata metadata)
Set the metadata property: The metadata of the SQL script.- Parameters:
metadata
- the metadata value to set.- Returns:
- the SqlScriptContent object itself.
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Get the additionalProperties property: The content of the SQL script.- Returns:
- the additionalProperties value.
-
setAdditionalProperties
public SqlScriptContent setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: The content of the SQL script.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the SqlScriptContent object itself.
-
-