C# Class FdoToolbox.Core.ETL.Operations.FdoOperationBase

Represent a single operation that can occur during the ETL process
Inheritance: WithLoggingMixin, IFdoOperation
Show file Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Dispose this object

Execute ( IEnumerable rows ) : IEnumerable

Executes the operation

GetAllErrors ( ) : IEnumerable

Gets all errors that occured when running this operation

PrepareForExecution ( IPipelineExecuter pipelineExecuter ) : void

Initializes this instance

RaiseBatchProcessed ( int count ) : void

Raises the OnBatchProcessed event

RaiseFailedFeatureProcessed ( FdoRow row, Exception ex ) : void

Raises the OnFeatureFailed event

RaiseFailedReadFeature ( string data, Exception ex ) : void

Raises the OnFeatureFailed event

RaiseFeatureProcessed ( FdoRow row ) : void

Raises the OnFeatureProcessed event

RaiseFinishedProcessing ( ) : void

Raises the OnFinishedProcessing event

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Dispose this object

Method Details

Dispose() public method

Dispose this object
public Dispose ( ) : void
return void

Dispose() protected method

Dispose this object
protected Dispose ( bool disposing ) : void
disposing bool
return void

Execute() public abstract method

Executes the operation
public abstract Execute ( IEnumerable rows ) : IEnumerable
rows IEnumerable
return IEnumerable

GetAllErrors() public method

Gets all errors that occured when running this operation
public GetAllErrors ( ) : IEnumerable
return IEnumerable

PrepareForExecution() public method

Initializes this instance
public PrepareForExecution ( IPipelineExecuter pipelineExecuter ) : void
pipelineExecuter IPipelineExecuter
return void

RaiseBatchProcessed() public method

Raises the OnBatchProcessed event
public RaiseBatchProcessed ( int count ) : void
count int
return void

RaiseFailedFeatureProcessed() public method

Raises the OnFeatureFailed event
public RaiseFailedFeatureProcessed ( FdoRow row, Exception ex ) : void
row FdoRow
ex System.Exception
return void

RaiseFailedReadFeature() public method

Raises the OnFeatureFailed event
public RaiseFailedReadFeature ( string data, Exception ex ) : void
data string
ex System.Exception
return void

RaiseFeatureProcessed() public method

Raises the OnFeatureProcessed event
public RaiseFeatureProcessed ( FdoRow row ) : void
row FdoRow
return void

RaiseFinishedProcessing() public method

Raises the OnFinishedProcessing event
public RaiseFinishedProcessing ( ) : void
return void