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

Perform a join between two sources
Inheritance: FdoOperationBase
显示文件 Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
Execute ( IEnumerable ignored ) : IEnumerable

Executes this operation

GetAllErrors ( ) : IEnumerable

Gets all errors that occured when running this operation

Left ( IFdoOperation value ) : FdoJoinOperation

Sets the left part of the join

PrepareForExecution ( IPipelineExecuter pipelineExecuter ) : void

Initializes this instance

Right ( IFdoOperation value ) : FdoJoinOperation

Sets the right part of the join

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Initialize ( ) : void

Initializes this instance.

LeftOrphanRow ( FdoRow row ) : void

Called when a row on the left side was filtered by the join condition, allow a derived class to perform logic associated to that, such as logging

MergeRows ( FdoRow leftRow, FdoRow rightRow ) : FdoRow

Merges the two rows into a single row

RightOrphanRow ( FdoRow row ) : void

Called when a row on the right side was filtered by the join condition, allow a derived class to perform logic associated to that, such as logging

SetupJoinConditions ( ) : void

Setups the join conditions.

Private Methods

Method Description
GetRightEnumerable ( ) : IEnumerable
PrepareForJoin ( ) : void

Method Details

Dispose() protected method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Execute() public method

Executes this operation
public Execute ( IEnumerable ignored ) : IEnumerable
ignored IEnumerable Ignored rows
return IEnumerable

GetAllErrors() public method

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

Initialize() protected method

Initializes this instance.
protected Initialize ( ) : void
return void

Left() public method

Sets the left part of the join
public Left ( IFdoOperation value ) : FdoJoinOperation
value IFdoOperation
return FdoJoinOperation

LeftOrphanRow() protected method

Called when a row on the left side was filtered by the join condition, allow a derived class to perform logic associated to that, such as logging
protected LeftOrphanRow ( FdoRow row ) : void
row FdoRow The row.
return void

MergeRows() protected abstract method

Merges the two rows into a single row
protected abstract MergeRows ( FdoRow leftRow, FdoRow rightRow ) : FdoRow
leftRow FdoRow The left row.
rightRow FdoRow The right row.
return FdoRow

PrepareForExecution() public method

Initializes this instance
public PrepareForExecution ( IPipelineExecuter pipelineExecuter ) : void
pipelineExecuter IPipelineExecuter The current pipeline executer.
return void

Right() public method

Sets the right part of the join
public Right ( IFdoOperation value ) : FdoJoinOperation
value IFdoOperation
return FdoJoinOperation

RightOrphanRow() protected method

Called when a row on the right side was filtered by the join condition, allow a derived class to perform logic associated to that, such as logging
protected RightOrphanRow ( FdoRow row ) : void
row FdoRow
return void

SetupJoinConditions() protected abstract method

Setups the join conditions.
protected abstract SetupJoinConditions ( ) : void
return void