KqlScriptContent Class

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

Implements

public final class KqlScriptContent
implements JsonSerializable<KqlScriptContent>

The KqlScriptContent model.

Constructor Summary

Constructor Description
KqlScriptContent()

Creates an instance of KqlScriptContent class.

Method Summary

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

Reads an instance of KqlScriptContent from the JsonReader.

KqlScriptContentCurrentConnection getCurrentConnection()

Get the currentConnection property: The currentConnection property.

KqlScriptContentMetadata getMetadata()

Get the metadata property: The metadata property.

String getQuery()

Get the query property: The query property.

KqlScriptContent setCurrentConnection(KqlScriptContentCurrentConnection currentConnection)

Set the currentConnection property: The currentConnection property.

KqlScriptContent setMetadata(KqlScriptContentMetadata metadata)

Set the metadata property: The metadata property.

KqlScriptContent setQuery(String query)

Set the query property: The query property.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

KqlScriptContent

public KqlScriptContent()

Creates an instance of KqlScriptContent class.

Method Details

fromJson

public static KqlScriptContent fromJson(JsonReader jsonReader)

Reads an instance of KqlScriptContent from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of KqlScriptContent 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 KqlScriptContent.

getCurrentConnection

public KqlScriptContentCurrentConnection getCurrentConnection()

Get the currentConnection property: The currentConnection property.

Returns:

the currentConnection value.

getMetadata

public KqlScriptContentMetadata getMetadata()

Get the metadata property: The metadata property.

Returns:

the metadata value.

getQuery

public String getQuery()

Get the query property: The query property.

Returns:

the query value.

setCurrentConnection

public KqlScriptContent setCurrentConnection(KqlScriptContentCurrentConnection currentConnection)

Set the currentConnection property: The currentConnection property.

Parameters:

currentConnection - the currentConnection value to set.

Returns:

the KqlScriptContent object itself.

setMetadata

public KqlScriptContent setMetadata(KqlScriptContentMetadata metadata)

Set the metadata property: The metadata property.

Parameters:

metadata - the metadata value to set.

Returns:

the KqlScriptContent object itself.

setQuery

public KqlScriptContent setQuery(String query)

Set the query property: The query property.

Parameters:

query - the query value to set.

Returns:

the KqlScriptContent object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to