Table of Contents

Class Pipeline

Namespace
The.Import.Data
Assembly
Instagile.dll

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

dataPaths IEnumerable<string>
model ModelSnapshot
tables IEnumerable<SourceTable>
relationships IEnumerable<SourceRelation>

Pipeline(string, ModelSnapshot, IEnumerable<SourceTable>, IEnumerable<SourceRelation>?)

public Pipeline(string name, ModelSnapshot model, IEnumerable<SourceTable> tables, IEnumerable<SourceRelation>? relationships = null)

Parameters

name string
model ModelSnapshot
tables IEnumerable<SourceTable>
relationships IEnumerable<SourceRelation>

Fields

DataPaths

data location to be interpreted by an IImportFormat

public IEnumerable<string> DataPaths

Field Value

IEnumerable<string>

Model

app model from which this pipeline was built

public ModelSnapshot Model

Field Value

ModelSnapshot

Relationships

public readonly List<SourceRelation> Relationships

Field Value

List<SourceRelation>

Tables

public readonly List<SourceTable> Tables

Field Value

List<SourceTable>

Methods

SetCustomConversion(string, string, Func<object?, object?>)

public void SetCustomConversion(string tableSource, string columnSource, Func<object?, object?> conversion)

Parameters

tableSource string
columnSource string
conversion Func<object, object>

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

sourceType AttributeType
destinationType AttributeType
conversion Func<object, object>

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.