DatasetDataElement Class

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

Implements

public final class DatasetDataElement
implements JsonSerializable<DatasetDataElement>

Columns that define the structure of the dataset.

Constructor Summary

Constructor Description
DatasetDataElement()

Creates an instance of DatasetDataElement class.

Method Summary

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

Reads an instance of DatasetDataElement from the JsonReader.

Object getName()

Get the name property: Name of the column.

Object getType()

Get the type property: Type of the column.

DatasetDataElement setName(Object name)

Set the name property: Name of the column.

DatasetDataElement setType(Object type)

Set the type property: Type of the column.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

DatasetDataElement

public DatasetDataElement()

Creates an instance of DatasetDataElement class.

Method Details

fromJson

public static DatasetDataElement fromJson(JsonReader jsonReader)

Reads an instance of DatasetDataElement from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getName

public Object getName()

Get the name property: Name of the column. Type: string (or Expression with resultType string).

Returns:

the name value.

getType

public Object getType()

Get the type property: Type of the column. Type: string (or Expression with resultType string).

Returns:

the type value.

setName

public DatasetDataElement setName(Object name)

Set the name property: Name of the column. Type: string (or Expression with resultType string).

Parameters:

name - the name value to set.

Returns:

the DatasetDataElement object itself.

setType

public DatasetDataElement setType(Object type)

Set the type property: Type of the column. Type: string (or Expression with resultType string).

Parameters:

type - the type value to set.

Returns:

the DatasetDataElement object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to