SqlScript Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. SqlScript
- com.
Implements
public final class SqlScript
implements JsonSerializable<SqlScript>
SQL script.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlScript() |
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 |
getContent()
Get the content property: The content of the SQL script. |
| String |
getDescription()
Get the description property: The description of the SQL script. |
|
Sql |
getFolder()
Get the folder property: The folder that this SQL script is in. |
|
Sql |
getType()
Get the type property: The type of the SQL script. |
|
Sql |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Sql |
setContent(SqlScriptContent content)
Set the content property: The content of the SQL script. |
|
Sql |
setDescription(String description)
Set the description property: The description of the SQL script. |
|
Sql |
setFolder(SqlScriptFolder folder)
Set the folder property: The folder that this SQL script is in. |
|
Sql |
setType(SqlScriptType type)
Set the type property: The type of the SQL script. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SqlScript
public SqlScript()
Creates an instance of SqlScript class.
Method Details
fromJson
public static SqlScript fromJson(JsonReader jsonReader)
Reads an instance of SqlScript from the JsonReader.
Parameters:
Returns:
Throws:
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Get the additionalProperties property: SQL script.
Returns:
getContent
public SqlScriptContent getContent()
Get the content property: The content of the SQL script.
Returns:
getDescription
public String getDescription()
Get the description property: The description of the SQL script.
Returns:
getFolder
public SqlScriptFolder getFolder()
Get the folder property: The folder that this SQL script is in. If not specified, this SQL script will appear at the root level.
Returns:
getType
public SqlScriptType getType()
Get the type property: The type of the SQL script.
Returns:
setAdditionalProperties
public SqlScript setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: SQL script.
Parameters:
Returns:
setContent
public SqlScript setContent(SqlScriptContent content)
Set the content property: The content of the SQL script.
Parameters:
Returns:
setDescription
public SqlScript setDescription(String description)
Set the description property: The description of the SQL script.
Parameters:
Returns:
setFolder
public SqlScript setFolder(SqlScriptFolder folder)
Set the folder property: The folder that this SQL script is in. If not specified, this SQL script will appear at the root level.
Parameters:
Returns:
setType
public SqlScript setType(SqlScriptType type)
Set the type property: The type of the SQL script.
Parameters:
Returns: