Interface IDataFlowStreamDestination<TInput>

Implemented by data flow destinations that allow writing data in a stream

Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
    public interface IDataFlowStreamDestination<TInput> : IDataFlowDestination<TInput>, IDataFlowStreamDestination, IDataFlowDestination, IDataFlowComponent, ILoggableTask
Type Parameters
NameDescription
TInput

Type of ingoing data

Properties

GetNextUri

This function returns the next url that is used for writing data. It will used until HasNextUri returns false. The incoming StreamMetaData holds information about the current progress and currently processed data row. This property can be used if you want to write into multiple files or send data into different web services.

Declaration
    Func<StreamMetaData, TInput, string> GetNextUri { get; set; }
Property Value
TypeDescription
Func<StreamMetaData, TInput, string>

HasNextUri

This func determines if the next data record should be written into another location. StreamMetaData has information about the current progress and currently processed data row.

Declaration
    Func<StreamMetaData, TInput, bool> HasNextUri { get; set; }
Property Value
TypeDescription
Func<StreamMetaData, TInput, bool>

WriteUri

The Uri used for the current write operation- this will only be different to the Uri if you use the GetNextUri and HasNextUri functions.

Declaration
    string WriteUri { get; }
Property Value
TypeDescription
string