Class RowMultiplication<TInput, TOutput>
This transformation allow you to transform one row of your input data into multiple rows.
Inheritance
object
DataFlowSource<TOutput>
DataFlowTransformation<TInput, TOutput>
RowMultiplication<TInput, TOutput>
Implements
IDataFlowTransformation<TInput, TOutput>
IDataFlowSource<TOutput>
IDataFlowDestination<TInput>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ETLBox.DataFlow
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<T, TResult><TInput, System.Collections.Generic.IEnumerable<T><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<T, TResult><TInput, System.Collections.Generic.IEnumerable<T><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 |
---|---|
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 |
---|---|
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 |
---|---|
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()