CachedBatchTransformation<TInput>

Class CachedBatchTransformation<TInput>

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
DataFlowTransformation<TInput, TInput>
BatchTransformation<TInput, TInput>
CachedBatchTransformation<TInput, TInput, TInput>
CachedBatchTransformation<TInput>
Inherited Members
Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
    public class CachedBatchTransformation<TInput> : CachedBatchTransformation<TInput, TInput, TInput>, IDataFlowTransformation<TInput, TInput>, IDataFlowSource<TInput>, IDataFlowSource, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent, ILoggableTask where TInput : class
Type Parameters
NameDescription
TInput

Type of ingoing data.

Constructors

CachedBatchTransformation()

Declaration
    public CachedBatchTransformation()

CachedBatchTransformation(int)

Declaration
    public CachedBatchTransformation(int batchSize)
Parameters
TypeNameDescription
intbatchSize

CachedBatchTransformation(int, Func<TInput[], CachedData<TInput>, TInput[]>)

Declaration
    public CachedBatchTransformation(int batchSize, Func<TInput[], CachedData<TInput>, TInput[]> batchTransformationFunc)
Parameters
TypeNameDescription
intbatchSize
Func<TInput[], CachedData<TInput>, TInput[]>batchTransformationFunc

Methods

Reset()

Declaration
    protected override void Reset()
Overrides

Implements