Interface IDataFlowComponent

Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
    public interface IDataFlowComponent : ILoggableTask

Properties

Completion

The completion task of the component. A component is completed when all predecessors (if any) are completed and the current component has completed its buffer.

Declaration
    Task Completion { get; }
Property Value
TypeDescription
Task

ErrorSource

The ErrorSource is the source block used for sending errors into the linked error flow.

Declaration
    ErrorSource ErrorSource { get; set; }
Property Value
TypeDescription
ErrorSource

Exception

If a component encountered an exception or entered a fault state because another component in the data flow faulted, the thrown exception will be stored in this property.

Declaration
    Exception Exception { get; }
Property Value
TypeDescription
Exception

IsReadyForProcessing

Indicates if a component was successfully initialized, linked and prepared for execution.

Declaration
    bool IsReadyForProcessing { get; }
Property Value
TypeDescription
bool

MaxBufferSize

Each component can have one or more buffers to improve throughput and allow faster processing of data. Set this value to restrict the number of rows that can be stored in the buffer. The default value is -1 (unlimited)

Declaration
    int MaxBufferSize { get; set; }
Property Value
TypeDescription
int

OnCompletion

When a component has completed and processed all rows, the OnCompletion action is executed.

Declaration
    Action OnCompletion { get; set; }
Property Value
TypeDescription
Action

Predecessors

All predecessors that are linked to this component.

Declaration
    List<DataFlowComponent> Predecessors { get; }
Property Value
TypeDescription
List<DataFlowComponent>

Successors

All successors that this component is linked to.

Declaration
    List<DataFlowComponent> Successors { get; }
Property Value
TypeDescription
List<DataFlowComponent>