DataMapperMapping Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.DataMapperMapping

Implements

public final class DataMapperMapping
implements JsonSerializable<DataMapperMapping>

Source and target table mapping details.

Constructor Summary

Constructor Description
DataMapperMapping()

Creates an instance of DataMapperMapping class.

Method Summary

Modifier and Type Method and Description
MapperAttributeMappings attributeMappingInfo()

Get the attributeMappingInfo property: This holds the user provided attribute mapping information.

static DataMapperMapping fromJson(JsonReader jsonReader)

Reads an instance of DataMapperMapping from the JsonReader.

MapperConnectionReference sourceConnectionReference()

Get the sourceConnectionReference property: The connection reference for the source connection.

Object sourceDenormalizeInfo()

Get the sourceDenormalizeInfo property: This holds the source denormalization information used while joining multiple sources.

String sourceEntityName()

Get the sourceEntityName property: Name of the source table.

String targetEntityName()

Get the targetEntityName property: Name of the target table.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataMapperMapping withAttributeMappingInfo(MapperAttributeMappings attributeMappingInfo)

Set the attributeMappingInfo property: This holds the user provided attribute mapping information.

DataMapperMapping withSourceConnectionReference(MapperConnectionReference sourceConnectionReference)

Set the sourceConnectionReference property: The connection reference for the source connection.

DataMapperMapping withSourceDenormalizeInfo(Object sourceDenormalizeInfo)

Set the sourceDenormalizeInfo property: This holds the source denormalization information used while joining multiple sources.

DataMapperMapping withSourceEntityName(String sourceEntityName)

Set the sourceEntityName property: Name of the source table.

DataMapperMapping withTargetEntityName(String targetEntityName)

Set the targetEntityName property: Name of the target table.

Methods inherited from java.lang.Object

Constructor Details

DataMapperMapping

public DataMapperMapping()

Creates an instance of DataMapperMapping class.

Method Details

attributeMappingInfo

public MapperAttributeMappings attributeMappingInfo()

Get the attributeMappingInfo property: This holds the user provided attribute mapping information.

Returns:

the attributeMappingInfo value.

fromJson

public static DataMapperMapping fromJson(JsonReader jsonReader)

Reads an instance of DataMapperMapping from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

sourceConnectionReference

public MapperConnectionReference sourceConnectionReference()

Get the sourceConnectionReference property: The connection reference for the source connection.

Returns:

the sourceConnectionReference value.

sourceDenormalizeInfo

public Object sourceDenormalizeInfo()

Get the sourceDenormalizeInfo property: This holds the source denormalization information used while joining multiple sources.

Returns:

the sourceDenormalizeInfo value.

sourceEntityName

public String sourceEntityName()

Get the sourceEntityName property: Name of the source table.

Returns:

the sourceEntityName value.

targetEntityName

public String targetEntityName()

Get the targetEntityName property: Name of the target table.

Returns:

the targetEntityName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAttributeMappingInfo

public DataMapperMapping withAttributeMappingInfo(MapperAttributeMappings attributeMappingInfo)

Set the attributeMappingInfo property: This holds the user provided attribute mapping information.

Parameters:

attributeMappingInfo - the attributeMappingInfo value to set.

Returns:

the DataMapperMapping object itself.

withSourceConnectionReference

public DataMapperMapping withSourceConnectionReference(MapperConnectionReference sourceConnectionReference)

Set the sourceConnectionReference property: The connection reference for the source connection.

Parameters:

sourceConnectionReference - the sourceConnectionReference value to set.

Returns:

the DataMapperMapping object itself.

withSourceDenormalizeInfo

public DataMapperMapping withSourceDenormalizeInfo(Object sourceDenormalizeInfo)

Set the sourceDenormalizeInfo property: This holds the source denormalization information used while joining multiple sources.

Parameters:

sourceDenormalizeInfo - the sourceDenormalizeInfo value to set.

Returns:

the DataMapperMapping object itself.

withSourceEntityName

public DataMapperMapping withSourceEntityName(String sourceEntityName)

Set the sourceEntityName property: Name of the source table.

Parameters:

sourceEntityName - the sourceEntityName value to set.

Returns:

the DataMapperMapping object itself.

withTargetEntityName

public DataMapperMapping withTargetEntityName(String targetEntityName)

Set the targetEntityName property: Name of the target table.

Parameters:

targetEntityName - the targetEntityName value to set.

Returns:

the DataMapperMapping object itself.

Applies to