Class Pipeline
set of operations required to import data from an IImportSource
public class Pipeline
- Inheritance
-
Pipeline
- Inherited Members
Constructors
Pipeline(IEnumerable<string>, ModelSnapshot, IEnumerable<SourceTable>, IEnumerable<SourceRelation>?)
public Pipeline(IEnumerable<string> dataPaths, ModelSnapshot model, IEnumerable<SourceTable> tables, IEnumerable<SourceRelation>? relationships = null)
Parameters
dataPathsIEnumerable<string>modelModelSnapshottablesIEnumerable<SourceTable>relationshipsIEnumerable<SourceRelation>
Pipeline(string, ModelSnapshot, IEnumerable<SourceTable>, IEnumerable<SourceRelation>?)
public Pipeline(string name, ModelSnapshot model, IEnumerable<SourceTable> tables, IEnumerable<SourceRelation>? relationships = null)
Parameters
namestringmodelModelSnapshottablesIEnumerable<SourceTable>relationshipsIEnumerable<SourceRelation>
Fields
DataPaths
data location to be interpreted by an IImportFormat
public IEnumerable<string> DataPaths
Field Value
Model
app model from which this pipeline was built
public ModelSnapshot Model
Field Value
Relationships
public readonly List<SourceRelation> Relationships
Field Value
Tables
public readonly List<SourceTable> Tables
Field Value
Methods
SetCustomConversion(string, string, Func<object?, object?>)
public void SetCustomConversion(string tableSource, string columnSource, Func<object?, object?> conversion)
Parameters
SetCustomConversion(AttributeType, AttributeType, Func<object?, object?>)
Sets the custom conversion for all columns with the given source and destination types.
public void SetCustomConversion(AttributeType sourceType, AttributeType destinationType, Func<object?, object?> conversion)
Parameters
sourceTypeAttributeTypedestinationTypeAttributeTypeconversionFunc<object, object>
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.