Class RowMultiplication<TInput, TOutput>
This transformation allow you to transform one row of your input data into multiple rows.
Inheritance
System.Object
DataFlowSource<TOutput>
DataFlowTransformation<TInput, TOutput>
RowMultiplication<TInput, TOutput>
Implements
IDataFlowTransformation<TInput, TOutput>
IDataFlowSource<TOutput>
IDataFlowDestination<TInput>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ETLBox.DataFlow.Transformations
Assembly: ETLBox.dll
Syntax
public class RowMultiplication<TInput, TOutput> : DataFlowTransformation<TInput, TOutput>, IDataFlowLogging, ILoggableTask, IDataFlowTransformation<TInput, TOutput>, IDataFlowSource<TOutput>, IDataFlowSource, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent
Type Parameters
Name | Description |
---|---|
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
Type | Name | Description |
---|---|---|
System.Func<TInput, System.Collections.Generic.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
Type | Description |
---|---|
System.Func<TInput, System.Collections.Generic.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
Type | Description |
---|---|
System.Threading.Tasks.Dataflow.ISourceBlock<TOutput> |
Overrides
ETLBox.DataFlow.DataFlowSource<TOutput>.SourceBlock
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
Type | Description |
---|---|
System.Threading.Tasks.Dataflow.ITargetBlock<TInput> |
Overrides
ETLBox.DataFlow.DataFlowTransformation<TInput, TOutput>.TargetBlock
TaskName
A name to identify the task or component. Every component or task comes with a default name that can be overwritten.
Declaration
public override string TaskName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
CheckParameter()
Declaration
protected override void CheckParameter()
Overrides
CleanUpOnFaulted(Exception)
Declaration
protected override void CleanUpOnFaulted(Exception e)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | e |
Overrides
CleanUpOnSuccess()
Declaration
protected override void CleanUpOnSuccess()
Overrides
InitComponent()
Declaration
protected override void InitComponent()