C# Class FdoToolbox.Core.ETL.Pipelines.BasePipelineExecuter

Base class for pipeline executers, handles all the details and leave the actual pipeline execution to the
Inheritance: WithLoggingMixin, IPipelineExecuter
Afficher le fichier Open project: jumpinjackie/fdotoolbox

Méthodes publiques

Méthode Description
Execute ( string pipelineName, ICollection pipeline ) : void

Executes the specified pipeline.

GetAllErrors ( ) : IEnumerable

Gets all errors that occured under this executer

PipelineToEnumerable ( ICollection pipeline, IEnumerable rows ) : IEnumerable

Transform the pipeline to an enumerable

Méthodes protégées

Méthode Description
DecorateEnumerable ( IFdoOperation operation, IEnumerable enumerator ) : IEnumerable

Add a decorator to the enumerable for additional processing

DisposeAllOperations ( ICollection operations ) : void

Destroys the pipeline.

ExecutePipeline ( IEnumerable pipeline ) : void

Iterates the specified enumerable. Since we use a pipeline, we need to force it to execute at some point. We aren't really interested in the result, just in that the pipeline would execute.

Method Details

DecorateEnumerable() protected abstract méthode

Add a decorator to the enumerable for additional processing
protected abstract DecorateEnumerable ( IFdoOperation operation, IEnumerable enumerator ) : IEnumerable
operation IFdoOperation The operation.
enumerator IEnumerable The enumerator.
Résultat IEnumerable

DisposeAllOperations() protected méthode

Destroys the pipeline.
protected DisposeAllOperations ( ICollection operations ) : void
operations ICollection
Résultat void

Execute() public méthode

Executes the specified pipeline.
public Execute ( string pipelineName, ICollection pipeline ) : void
pipelineName string The name.
pipeline ICollection The pipeline.
Résultat void

ExecutePipeline() protected méthode

Iterates the specified enumerable. Since we use a pipeline, we need to force it to execute at some point. We aren't really interested in the result, just in that the pipeline would execute.
protected ExecutePipeline ( IEnumerable pipeline ) : void
pipeline IEnumerable
Résultat void

GetAllErrors() public méthode

Gets all errors that occured under this executer
public GetAllErrors ( ) : IEnumerable
Résultat IEnumerable

PipelineToEnumerable() public méthode

Transform the pipeline to an enumerable
public PipelineToEnumerable ( ICollection pipeline, IEnumerable rows ) : IEnumerable
pipeline ICollection The pipeline.
rows IEnumerable The rows
Résultat IEnumerable