Class DataFlowDestination<TInput>
Inheritance
DataFlowDestination<TInput>
Inherited Members
Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
public abstract class DataFlowDestination<TInput> : DataFlowComponent, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent, ILoggableTaskType Parameters
| Name | Description |
|---|---|
| TInput |
Fields
Buffer
Declaration
protected BatchBlock<TInput> BufferField Value
| Type | Description |
|---|---|
| BatchBlock<TInput> |
DEFAULT_BATCH_SIZE
Declaration
public const int DEFAULT_BATCH_SIZE = 1000Field Value
| Type | Description |
|---|---|
| int |
InternalBatchSize
Declaration
protected int InternalBatchSizeField Value
| Type | Description |
|---|---|
| int |
Properties
BufferTargetAction
Declaration
protected ActionBlock<TInput[]> BufferTargetAction { get; set; }Property Value
| Type | Description |
|---|---|
| ActionBlock<TInput[]> |
TargetAction
Declaration
protected ActionBlock<TInput> TargetAction { get; set; }Property Value
| Type | Description |
|---|---|
| ActionBlock<TInput> |
TargetBlock
TargetBlock from the underlying TPL.Dataflow which is used as output buffer for the component.
Declaration
public ITargetBlock<TInput> TargetBlock { get; }Property Value
| Type | Description |
|---|---|
| ITargetBlock<TInput> |
UseBufferBlock
Declaration
protected virtual bool UseBufferBlock { get; set; }Property Value
| Type | Description |
|---|---|
| bool |
Methods
CompleteBuffer()
Declaration
protected override void CompleteBuffer()Overrides
FaultBuffer(Exception)
Declaration
protected override void FaultBuffer(Exception e)Parameters
| Type | Name | Description |
|---|---|---|
| Exception | e |
Overrides
InitComponent()
Declaration
protected override void InitComponent()Overrides
WriteBatch(TInput[])
Declaration
protected virtual void WriteBatch(TInput[] data)Parameters
| Type | Name | Description |
|---|---|---|
| TInput[] | data |