Class ToTypeColumnMappings
The output from a ToTypeColumnMapper<TTo> row mapper, which maps
from a flat list of user supplied or automatically generated source 'from' columns (described by
From
This class does not include the Row() method,
and should be used when the Row()
method is not supported by the worker in question.
Also see IRow
Also see the Dataflow Column Mapping and
Mapping and Copying
examples, as well as IRow
Namespace: actionETL
Assembly: actionETL.dll
Syntax
public class ToTypeColumnMappings
Properties
FromMapCounts
Gets an instance that tracks the number of times each 'from' column has been mapped. This is often used to control how a column is copied, e.g. cloning any copies after the first one.
Declaration
public RowSchemaMapCounts FromMapCounts { get; }
Property Value
Type | Description |
---|---|
Row |
FromRowSchema
Gets an instance that describes the 'from' side of the mapping.
Declaration
public FlatRowSchema FromRowSchema { get; }
Property Value
Type | Description |
---|---|
Flat |
SchemaMapFromIndexes
Gets the distinct From
Declaration
public IEnumerable<int> SchemaMapFromIndexes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Int32> |
SchemaMaps
Gets a list of mappings between 'from' columns and 'to' columns in a dataflow row,
based on column indexes into the
Schema
Declaration
public IReadOnlyList<SchemaMap> SchemaMaps { get; }
Property Value
Type | Description |
---|---|
IRead |
SchemaMapToIndexes
Gets the distinct To
Declaration
public IEnumerable<int> SchemaMapToIndexes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Int32> |
ToMapCounts
Gets an instance that tracks the number of times each 'to' column has been mapped. This is often used to guard against multiple mappings to the same column.
Declaration
public RowSchemaMapCounts ToMapCounts { get; }
Property Value
Type | Description |
---|---|
Row |
ToRowSchema
Gets an instance that describes the 'to' side of the mapping.
Declaration
public TypeRowSchema ToRowSchema { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
ToStringMapped()
Return a string that describes how many and which columns have been mapped.
Declaration
public string ToStringMapped()
Returns
Type | Description |
---|---|
String |
ToStringMappedUnmapped()
Return a string that describes how many and which columns have been mapped, as well as which columns are not mapped.
Declaration
public string ToStringMappedUnmapped()
Returns
Type | Description |
---|---|
String |