Share via


Core.ConcatAsync Method

Definition

Overloads

ConcatAsync(String, List<String>, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

Concatenate source files to a destination file. By default it wont delete source directory

ConcatAsync(String, List<String>, Boolean, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

Concatenate source files to a destination file

ConcatAsync(String, List<String>, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

Concatenate source files to a destination file. By default it wont delete source directory

public static System.Threading.Tasks.Task ConcatAsync (string path, System.Collections.Generic.List<string> sourceFiles, Microsoft.Azure.DataLake.Store.AdlsClient client, Microsoft.Azure.DataLake.Store.RequestOptions req, Microsoft.Azure.DataLake.Store.OperationResponse resp, System.Threading.CancellationToken cancelToken = default);
static member ConcatAsync : string * System.Collections.Generic.List<string> * Microsoft.Azure.DataLake.Store.AdlsClient * Microsoft.Azure.DataLake.Store.RequestOptions * Microsoft.Azure.DataLake.Store.OperationResponse * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function ConcatAsync (path As String, sourceFiles As List(Of String), client As AdlsClient, req As RequestOptions, resp As OperationResponse, Optional cancelToken As CancellationToken = Nothing) As Task

Parameters

path
String

Path of the destination

sourceFiles
List<String>

List containing paths of the source files

client
AdlsClient

ADLS Client

req
RequestOptions

Options to change behavior of the Http request

resp
OperationResponse

Stores the response/ouput of the Http request

cancelToken
CancellationToken

CancellationToken to cancel the request

Returns

Applies to

ConcatAsync(String, List<String>, Boolean, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

Concatenate source files to a destination file

public static System.Threading.Tasks.Task ConcatAsync (string path, System.Collections.Generic.List<string> sourceFiles, bool deleteSourceDirectory, Microsoft.Azure.DataLake.Store.AdlsClient client, Microsoft.Azure.DataLake.Store.RequestOptions req, Microsoft.Azure.DataLake.Store.OperationResponse resp, System.Threading.CancellationToken cancelToken = default);
static member ConcatAsync : string * System.Collections.Generic.List<string> * bool * Microsoft.Azure.DataLake.Store.AdlsClient * Microsoft.Azure.DataLake.Store.RequestOptions * Microsoft.Azure.DataLake.Store.OperationResponse * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function ConcatAsync (path As String, sourceFiles As List(Of String), deleteSourceDirectory As Boolean, client As AdlsClient, req As RequestOptions, resp As OperationResponse, Optional cancelToken As CancellationToken = Nothing) As Task

Parameters

path
String

Path of the destination

sourceFiles
List<String>

List containing paths of the source files

deleteSourceDirectory
Boolean

If true then deletes the source directory if all the files under it are concatenated

client
AdlsClient

ADLS Client

req
RequestOptions

Options to change behavior of the Http request

resp
OperationResponse

Stores the response/ouput of the Http request

cancelToken
CancellationToken

CancellationToken to cancel the request

Returns

Applies to