Class CachedBatchTransformation<TInput, TOutput>

A batch transformation will transform batches of data. The default batch size are 100000 rows. The batch transformation function allows you to process and modify each batch of data. You can use the BatchSize property to choose a smaller batch size. The batch size must always be smaller than the max buffer size. The default batch size are 1000 rows per batch. The batch transformation is a partial blocking transformation - it will always need at least enough memory to store a whole batch.

Inheritance
System.Object
DataFlowTransformation<TInput, TOutput>
BatchTransformation<TInput, TOutput>
CachedBatchTransformation<TInput, TOutput, TInput>
CachedBatchTransformation<TInput, TOutput>
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 CachedBatchTransformation<TInput, TOutput> : CachedBatchTransformation<TInput, TOutput, TInput>, ILoggableTask, IDataFlowLogging, IDataFlowTransformation<TInput, TOutput>, IDataFlowSource<TOutput>, IDataFlowSource, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent where TInput : class
Type Parameters
NameDescription
TInput

Type of ingoing data

TOutput

Type of outgoing data

Constructors

CachedBatchTransformation()

Declaration
    public CachedBatchTransformation()

CachedBatchTransformation(Int32)

Declaration
    public CachedBatchTransformation(int batchSize)
Parameters
TypeNameDescription
System.Int32batchSize

CachedBatchTransformation(Int32, Func<TInput[], ICollection<TInput>, TOutput[]>)

Declaration
    public CachedBatchTransformation(int batchSize, Func<TInput[], ICollection<TInput>, TOutput[]> batchTransformationFunc)
Parameters
TypeNameDescription
System.Int32batchSize
System.Func<TInput[], System.Collections.Generic.ICollection<TInput>, TOutput[]>batchTransformationFunc

Implements