Class CachedRowTransformation<TInput, TOutput, TCache>

Inheritance
object
DataFlowTransformation<TInput, TOutput>
RowTransformation<TInput, TOutput>
CachedRowTransformation<TInput, TOutput, TCache>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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, IEnumerable<TCache>, TOutput>)

Declaration
    public CachedRowTransformation(Func<TInput, IEnumerable<TCache>, TOutput> transformationFunc)
Parameters
TypeNameDescription
System.Func<T1, T2, TResult><TInput, System.Collections.Generic.IEnumerable<T><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
bool

MaxCacheSize

The maximum amount of previously records to store

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

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

TransformationFunc

Declaration
    public Func<TInput, IEnumerable<TCache>, TOutput> TransformationFunc { get; set; }
Property Value
TypeDescription
System.Func<T1, T2, TResult><TInput, System.Collections.Generic.IEnumerable<T><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