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

Type of ingoing data.

Constructors

BatchTransformation()

Declaration
    public BatchTransformation()

BatchTransformation(int)

Declaration
    public BatchTransformation(int batchSize)
Parameters
TypeNameDescription
intbatchSize

BatchTransformation(int, Func<TInput[], TInput[]>)

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

Implements