DatasetReference Class

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

Implements

public final class DatasetReference
implements JsonSerializable<DatasetReference>

Dataset reference type.

Constructor Summary

Constructor Description
DatasetReference()

Creates an instance of DatasetReference class.

Method Summary

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

Reads an instance of DatasetReference from the JsonReader.

Map<String,Object> getParameters()

Get the parameters property: Arguments for dataset.

String getReferenceName()

Get the referenceName property: Reference dataset name.

DatasetReferenceType getType()

Get the type property: Dataset reference type.

DatasetReference setParameters(Map<String,Object> parameters)

Set the parameters property: Arguments for dataset.

DatasetReference setReferenceName(String referenceName)

Set the referenceName property: Reference dataset name.

DatasetReference setType(DatasetReferenceType type)

Set the type property: Dataset reference type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

DatasetReference

public DatasetReference()

Creates an instance of DatasetReference class.

Method Details

fromJson

public static DatasetReference fromJson(JsonReader jsonReader)

Reads an instance of DatasetReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getParameters

public Map<String,Object> getParameters()

Get the parameters property: Arguments for dataset.

Returns:

the parameters value.

getReferenceName

public String getReferenceName()

Get the referenceName property: Reference dataset name.

Returns:

the referenceName value.

getType

public DatasetReferenceType getType()

Get the type property: Dataset reference type.

Returns:

the type value.

setParameters

public DatasetReference setParameters(Map<String,Object> parameters)

Set the parameters property: Arguments for dataset.

Parameters:

parameters - the parameters value to set.

Returns:

the DatasetReference object itself.

setReferenceName

public DatasetReference setReferenceName(String referenceName)

Set the referenceName property: Reference dataset name.

Parameters:

referenceName - the referenceName value to set.

Returns:

the DatasetReference object itself.

setType

public DatasetReference setType(DatasetReferenceType type)

Set the type property: Dataset reference type.

Parameters:

type - the type value to set.

Returns:

the DatasetReference object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to