RowMultiplication<TInput, TOutput>

Class RowMultiplication<TInput, TOutput>

This transformation allow you to transform one row of your input data into multiple rows.

Inherited Members
Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
    public class RowMultiplication<TInput, TOutput> : DataFlowTransformation<TInput, TOutput>, IDataFlowTransformation<TInput, TOutput>, IDataFlowSource<TOutput>, IDataFlowSource, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent, ILoggableTask
Type Parameters
NameDescription
TInput

Type of ingoing data.

TOutput

Type of outgoing data.

Constructors

RowMultiplication()

Declaration
    public RowMultiplication()

RowMultiplication(Func<TInput, IEnumerable<TOutput>>)

Declaration
    public RowMultiplication(Func<TInput, IEnumerable<TOutput>> multiplicationFunc)
Parameters
TypeNameDescription
Func<TInput, IEnumerable<TOutput>>multiplicationFunc

Sets the MultiplicationFunc

Properties

MultiplicationFunc

The transformation func that produces multiple rows for each ingoing row.

Declaration
    public Func<TInput, IEnumerable<TOutput>> MultiplicationFunc { get; set; }
Property Value
TypeDescription
Func<TInput, IEnumerable<TOutput>>

SourceBlock

SourceBlock from the underlying TPL.Dataflow which is used as output buffer for the component.

Declaration
    public override ISourceBlock<TOutput> SourceBlock { get; }
Property Value
TypeDescription
ISourceBlock<TOutput>
Overrides

TargetBlock

TargetBlock from the underlying TPL.Dataflow which is used as input buffer for the component.

Declaration
    public override ITargetBlock<TInput> TargetBlock { get; }
Property Value
TypeDescription
ITargetBlock<TInput>
Overrides

Methods

CheckParameter()

Declaration
    protected override void CheckParameter()
Overrides

CleanUpOnFaulted(Exception)

Declaration
    protected override void CleanUpOnFaulted(Exception e)
Parameters
TypeNameDescription
Exceptione
Overrides

CleanUpOnSuccess()

Declaration
    protected override void CleanUpOnSuccess()
Overrides

InitComponent()

Declaration
    protected override void InitComponent()
Overrides

Implements