Interface IDataFlowStreamDestination<TInput>

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

Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
    public interface IDataFlowStreamDestination<TInput> : IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent, IDataFlowStreamDestination
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
System.Func<StreamMetaData, TInput, System.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
System.Func<StreamMetaData, TInput, System.Boolean>