Class CachedRowTransformation<TInput, TOutput, TCache>

Inheritance
System.Object
DataFlowTransformation<TInput, TOutput>
RowTransformation<TInput, TOutput>
CachedRowTransformation<TInput, TOutput, TCache>
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 CachedRowTransformation<TInput, TOutput, TCache> : RowTransformation<TInput, TOutput>, ILoggableTask, IDataFlowLogging, IDataFlowTransformation<TInput, TOutput>, IDataFlowSource<TOutput>, IDataFlowSource, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent
Type Parameters
NameDescription
TInput
TOutput
TCache

Constructors

CachedRowTransformation()

Declaration
    public CachedRowTransformation()

CachedRowTransformation(Func<TInput, ICollection<TCache>, TOutput>)

Declaration
    public CachedRowTransformation(Func<TInput, ICollection<TCache>, TOutput> transformationFunc)
Parameters
TypeNameDescription
System.Func<TInput, System.Collections.Generic.ICollection<TCache>, TOutput>transformationFunc

Will set the TransformationFunc

Properties

CacheManager

The CacheManager used for caching data

Declaration
    public ICacheManager<TInput, TCache> CacheManager { get; }
Property Value
TypeDescription
ICacheManager<TInput, TCache>

FillCacheAfterTranformation

If set to true, the incoming row will be added to the cache after the transformation func has been invoked.

Declaration
    public bool FillCacheAfterTranformation { get; set; }
Property Value
TypeDescription
System.Boolean

MaxCacheSize

The maximum amount of previously records to store

Declaration
    public int MaxCacheSize { get; set; }
Property Value
TypeDescription
System.Int32

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
TypeDescription
System.String
Overrides
ETLBox.DataFlow.Transformations.RowTransformation<TInput, TOutput>.TaskName

TransformationFunc

Declaration
    public Func<TInput, ICollection<TCache>, TOutput> TransformationFunc { get; set; }
Property Value
TypeDescription
System.Func<TInput, System.Collections.Generic.ICollection<TCache>, TOutput>

Methods

CheckParameter()

Declaration
    protected override void CheckParameter()
Overrides
ETLBox.DataFlow.Transformations.RowTransformation<TInput, TOutput>.CheckParameter()

InvokeInitActionOnce()

Declaration
    protected override void InvokeInitActionOnce()
Overrides
ETLBox.DataFlow.Transformations.RowTransformation<TInput, TOutput>.InvokeInitActionOnce()

InvokeTransformationFunc(TInput)

Declaration
    protected override TOutput InvokeTransformationFunc(TInput row)
Parameters
TypeNameDescription
TInputrow
Returns
TypeDescription
TOutput
Overrides
ETLBox.DataFlow.Transformations.RowTransformation<TInput, TOutput>.InvokeTransformationFunc(TInput)

Implements