Share via


MapperAttributeMapping Class

Source and target column mapping details.

Constructor

MapperAttributeMapping(*, name: str | None = None, type: str | _models.MappingType | None = None, function_name: str | None = None, expression: str | None = None, attribute_reference: _models.MapperAttributeReference | None = None, attribute_references: List[_models.MapperAttributeReference] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

Name of the target column.

Default value: None
type

Type of the CDC attribute mapping. Note: 'Advanced' mapping type is also saved as 'Derived'. Known values are: "Direct", "Derived", and "Aggregate".

Default value: None
function_name
str

Name of the function used for 'Aggregate' and 'Derived' (except 'Advanced') type mapping.

Default value: None
expression
str

Expression used for 'Aggregate' and 'Derived' type mapping.

Default value: None
attribute_reference

Reference of the source column used in the mapping. It is used for 'Direct' mapping type only.

Default value: None
attribute_references

List of references for source columns. It is used for 'Derived' and 'Aggregate' type mappings only.

Default value: None

Variables

Name Description
name
str

Name of the target column.

type

Type of the CDC attribute mapping. Note: 'Advanced' mapping type is also saved as 'Derived'. Known values are: "Direct", "Derived", and "Aggregate".

function_name
str

Name of the function used for 'Aggregate' and 'Derived' (except 'Advanced') type mapping.

expression
str

Expression used for 'Aggregate' and 'Derived' type mapping.

attribute_reference

Reference of the source column used in the mapping. It is used for 'Direct' mapping type only.

attribute_references

List of references for source columns. It is used for 'Derived' and 'Aggregate' type mappings only.