SqlScriptContent Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. SqlScriptContent
- com.
Implements
public final class SqlScriptContent
implements JsonSerializable<SqlScriptContent>
The content of the SQL script.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlScriptContent() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| Map<String,Object> |
getAdditionalProperties()
Get the additional |
|
Sql |
getCurrentConnection()
Get the current |
|
Sql |
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 result |
|
Sql |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Sql |
setCurrentConnection(SqlConnection currentConnection)
Set the current |
|
Sql |
setMetadata(SqlScriptMetadata metadata)
Set the metadata property: The metadata of the SQL script. |
|
Sql |
setQuery(String query)
Set the query property: SQL query to execute. |
|
Sql |
setResultLimit(Integer resultLimit)
Set the result |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SqlScriptContent
public SqlScriptContent()
Creates an instance of SqlScriptContent class.
Method Details
fromJson
public static SqlScriptContent fromJson(JsonReader jsonReader)
Reads an instance of SqlScriptContent from the JsonReader.
Parameters:
Returns:
Throws:
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Get the additionalProperties property: The content of the SQL script.
Returns:
getCurrentConnection
public SqlConnection getCurrentConnection()
Get the currentConnection property: The connection used to execute the SQL script.
Returns:
getMetadata
public SqlScriptMetadata getMetadata()
Get the metadata property: The metadata of the SQL script.
Returns:
getQuery
public String getQuery()
Get the query property: SQL query to execute.
Returns:
getResultLimit
public Integer getResultLimit()
Get the resultLimit property: Limit of results, '-1' for no limit.
Returns:
setAdditionalProperties
public SqlScriptContent setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: The content of the SQL script.
Parameters:
Returns:
setCurrentConnection
public SqlScriptContent setCurrentConnection(SqlConnection currentConnection)
Set the currentConnection property: The connection used to execute the SQL script.
Parameters:
Returns:
setMetadata
public SqlScriptContent setMetadata(SqlScriptMetadata metadata)
Set the metadata property: The metadata of the SQL script.
Parameters:
Returns:
setQuery
public SqlScriptContent setQuery(String query)
Set the query property: SQL query to execute.
Parameters:
Returns:
setResultLimit
public SqlScriptContent setResultLimit(Integer resultLimit)
Set the resultLimit property: Limit of results, '-1' for no limit.
Parameters:
Returns: