IDataFlowStreamDestination
Interface IDataFlowStreamDestination
Implemented by data flow destinations that allow writing data in a stream
Inherited Members
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
Properties
AzureBlobStorage
Use this to pass your AzureBlobStorage connection information. There are different methods to connect with Azure Blob Storage: Option 1: provide an existing BlockBlobClient Option 2: create BlockBlobClient based on the Uri and optional credential tokens - the Uri needs to be the blob url Option 3: create BlobkBlobClient with provided ConnectionString and ContainerName, the Uri is then the name of the blob
Declaration
Property Value
Type | Description |
---|---|
AzureBlobStorageConfiguration |
CreateStreamWriter
By default, stream are created internally based on Uri & ResourceType. If you already have an existing stream, use this function to returns a new StreamWriter based on this stream.
Declaration
Property Value
Type | Description |
---|---|
Func<string, StreamWriter> |
Encoding
Encoding used to write data into the source file or web request.
Declaration
Property Value
Type | Description |
---|---|
Encoding |
HttpClient
The System.Net.HttpClient used to connect with the destination (only needed when the ResourceType is Http.
Declaration
Property Value
Type | Description |
---|---|
HttpClient |
HttpContentType
The content type used when sending the http request content.
Declaration
Property Value
Type | Description |
---|---|
string |
HttpRequestMessage
The System.Net.Http.HttpRequestMessage used for the request in the HttpClient. Use this property to add additional header data type or to change the http method (e.g. for POST requests).
Declaration
Property Value
Type | Description |
---|---|
HttpRequestMessage |
HttpResponseMessage
The System.Net.HttpResponseMessage returned from the current request. The response message is avaiable after all data rows were sent to the destination.
Declaration
Property Value
Type | Description |
---|---|
HttpResponseMessage |
ResourceType
Specifies the resource type. Use ResourceType.File if you want to write into a file (default) Use ResourceType.Http to write into a web endpoint.
Declaration
Property Value
Type | Description |
---|---|
ResourceType |
StreamWriter
The stream writer used for the current request.
Declaration
Property Value
Type | Description |
---|---|
StreamWriter |
Uri
The Url of the webservice (e.g. https://test.com/foo) or the file name (relative or absolute)
Declaration
Property Value
Type | Description |
---|---|
string |