FileSystemOperationsExtensions.DirectAppend Method (IFileSystemOperations, String, String, Stream, Nullable<Int64>)
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
public static AzureOperationResponse DirectAppend(
this IFileSystemOperations operations,
string filePath,
string accountName,
Stream streamContents,
Nullable<long> bufferSize
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ DirectAppend(
IFileSystemOperations^ operations,
String^ filePath,
String^ accountName,
Stream^ streamContents,
Nullable<long long> bufferSize
)
static member DirectAppend :
operations:IFileSystemOperations *
filePath:string *
accountName:string *
streamContents:Stream *
bufferSize:Nullable<int64> -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function DirectAppend (
operations As IFileSystemOperations,
filePath As String,
accountName As String,
streamContents As Stream,
bufferSize As Nullable(Of Long)
) As AzureOperationResponse
Parameters
operations
Type: Microsoft.Azure.Management.DataLake.StoreFileSystem.IFileSystemOperationsReference to the Microsoft.Azure.Management.DataLake.StoreFileSystem.IFileSystemOperations.
filePath
Type: System.StringRequired. The path to the file to append to.
accountName
Type: System.StringRequired. The name of the Data Lake Store account to append to the file in
streamContents
Type: System.IO.StreamRequired. The file contents to include when appending to the file.
bufferSize
Type: System.Nullable<Int64>Required. The optional buffer size to use when appending data
Return Value
Type: Microsoft.Azure.AzureOperationResponse
A standard service response including an HTTP status code and request ID.
See Also
FileSystemOperationsExtensions Class
Microsoft.Azure.Management.DataLake.StoreFileSystem Namespace
Return to top