SqlScriptMetadata Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.SqlScriptMetadata

Implements

public final class SqlScriptMetadata
implements JsonSerializable<SqlScriptMetadata>

The metadata of the SQL script.

Constructor Summary

Constructor Description
SqlScriptMetadata()

Creates an instance of SqlScriptMetadata class.

Method Summary

Modifier and Type Method and Description
static SqlScriptMetadata fromJson(JsonReader jsonReader)

Reads an instance of SqlScriptMetadata from the JsonReader.

Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: The metadata of the SQL script.

String getLanguage()

Get the language property: The language of the SQL script.

SqlScriptMetadata setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: The metadata of the SQL script.

SqlScriptMetadata setLanguage(String language)

Set the language property: The language of the SQL script.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SqlScriptMetadata

public SqlScriptMetadata()

Creates an instance of SqlScriptMetadata class.

Method Details

fromJson

public static SqlScriptMetadata fromJson(JsonReader jsonReader)

Reads an instance of SqlScriptMetadata from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlScriptMetadata if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SqlScriptMetadata.

getAdditionalProperties

public Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: The metadata of the SQL script.

Returns:

the additionalProperties value.

getLanguage

public String getLanguage()

Get the language property: The language of the SQL script.

Returns:

the language value.

setAdditionalProperties

public SqlScriptMetadata setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: The metadata of the SQL script.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the SqlScriptMetadata object itself.

setLanguage

public SqlScriptMetadata setLanguage(String language)

Set the language property: The language of the SQL script.

Parameters:

language - the language value to set.

Returns:

the SqlScriptMetadata object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to