Compartilhar via


MockAdlsClient.BulkUpload Método

Definição

Carrega apenas o arquivo em massa. Lê um arquivo local e mantém o fluxo de memória para a entrada

public override Microsoft.Azure.DataLake.Store.FileTransfer.TransferStatus BulkUpload (string srcPath, string destPath, int numThreads = -1, Microsoft.Azure.DataLake.Store.IfExists shouldOverwrite = Microsoft.Azure.DataLake.Store.IfExists.Overwrite, IProgress<Microsoft.Azure.DataLake.Store.FileTransfer.TransferStatus> progressTracker = default, bool notRecurse = false, bool resume = false, bool isBinary = false, System.Threading.CancellationToken cancelToken = default);
override this.BulkUpload : string * string * int * Microsoft.Azure.DataLake.Store.IfExists * IProgress<Microsoft.Azure.DataLake.Store.FileTransfer.TransferStatus> * bool * bool * bool * System.Threading.CancellationToken -> Microsoft.Azure.DataLake.Store.FileTransfer.TransferStatus
Public Overrides Function BulkUpload (srcPath As String, destPath As String, Optional numThreads As Integer = -1, Optional shouldOverwrite As IfExists = Microsoft.Azure.DataLake.Store.IfExists.Overwrite, Optional progressTracker As IProgress(Of TransferStatus) = Nothing, Optional notRecurse As Boolean = false, Optional resume As Boolean = false, Optional isBinary As Boolean = false, Optional cancelToken As CancellationToken = Nothing) As TransferStatus

Parâmetros

srcPath
String

Caminho de origem local

destPath
String

Caminho de destino remoto – deve ser sempre um diretório.

numThreads
Int32

Não usado

shouldOverwrite
IfExists

Se deseja substituir ou ignorar se o destino existe

progressTracker
IProgress<TransferStatus>

Não usado

notRecurse
Boolean

Não usado

resume
Boolean

Não usado

isBinary
Boolean

Não usado

cancelToken
CancellationToken

Retornos

Status de Transferência encapsulando os detalhes do upload

Aplica-se a