C# Класс FdoToolbox.Core.ETL.Pipelines.BasePipelineExecuter

Base class for pipeline executers, handles all the details and leave the actual pipeline execution to the
Наследование: WithLoggingMixin, IPipelineExecuter
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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.

Описание методов

DecorateEnumerable() защищенный абстрактный Метод

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.
Результат IEnumerable

DisposeAllOperations() защищенный Метод

Destroys the pipeline.
protected DisposeAllOperations ( ICollection operations ) : void
operations ICollection
Результат void

Execute() публичный Метод

Executes the specified pipeline.
public Execute ( string pipelineName, ICollection pipeline ) : void
pipelineName string The name.
pipeline ICollection The pipeline.
Результат void

ExecutePipeline() защищенный Метод

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
Результат void

GetAllErrors() публичный Метод

Gets all errors that occured under this executer
public GetAllErrors ( ) : IEnumerable
Результат IEnumerable

PipelineToEnumerable() публичный Метод

Transform the pipeline to an enumerable
public PipelineToEnumerable ( ICollection pipeline, IEnumerable rows ) : IEnumerable
pipeline ICollection The pipeline.
rows IEnumerable The rows
Результат IEnumerable