Compartilhar via


FileSystemOperationsExtensions.ConcatAsync Método

Definição

Concatena a lista de arquivos de origem no arquivo de destino, removendo todos os arquivos de origem após o êxito.

public static System.Threading.Tasks.Task ConcatAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string destinationPath, System.Collections.Generic.IList<string> sources, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task ConcatAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, System.Collections.Generic.IList<string> sources, System.Threading.CancellationToken cancellationToken = default);
static member ConcatAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
static member ConcatAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ConcatAsync (operations As IFileSystemOperations, accountName As String, destinationPath As String, sources As IList(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task
<Extension()>
Public Function ConcatAsync (operations As IFileSystemOperations, accountName As String, path As String, sources As IList(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

operations
IFileSystemOperations

O grupo de operações para esse método de extensão.

accountName
String

A conta do Azure Data Lake Store na qual executar operações do sistema de arquivos.

destinationPathpath
String

O caminho do Data Lake Store (começando com '/') do arquivo de destino resultante da concatenação.

sources
IList<String>

Uma lista de caminhos separados por vírgulas do Data Lake Store (começando com '/') dos arquivos a serem concatenar, na ordem em que eles devem ser concatenados.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a