IFileSystemOperations.DirectAppendAsync Method (String, String, Stream, Nullable<Int64>, CancellationToken)

 

Directly appends to a file with the specified content, without requiring a redirect. This API is NOT webhdfs compliant. It should be used only by tools that do not rely on webhdfs interoperability.

Namespace:   Microsoft.Azure.Management.DataLake.StoreFileSystem
Assembly:  Microsoft.Azure.Management.DataLake.StoreFileSystem (in Microsoft.Azure.Management.DataLake.StoreFileSystem.dll)

Syntax

Task<AzureOperationResponse> DirectAppendAsync(
    string filePath,
    string accountName,
    Stream streamContents,
    Nullable<long> bufferSize,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ DirectAppendAsync(
    String^ filePath,
    String^ accountName,
    Stream^ streamContents,
    Nullable<long long> bufferSize,
    CancellationToken cancellationToken
)
abstract DirectAppendAsync : 
        filePath:string *
        accountName:string *
        streamContents:Stream *
        bufferSize:Nullable<int64> *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function DirectAppendAsync (
    filePath As String,
    accountName As String,
    streamContents As Stream,
    bufferSize As Nullable(Of Long),
    cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

Parameters

  • filePath
    Type: System.String

    The path to the file to append to.

  • accountName
    Type: System.String

    The name of the Data Lake Store account to append to the file in

  • streamContents
    Type: System.IO.Stream

    The file contents to include when appending to the file.

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

See Also

IFileSystemOperations Interface
Microsoft.Azure.Management.DataLake.StoreFileSystem Namespace

Return to top