IHadoopStorageAsyncClient Interface

 

Note

This version of the HDInsight .NET SDK is deprecated and will be removed by January 1, 2017. You are encouraged to use the newer ARM-based version of HDInsight .NET SDK going forward. For instructions on how to use the new HDInsight .NET SDK to create a cluster, see Create HDInsight Linux clusters using .NET SDK. For instructions on how to submit jobs using the new .NET SDK and other approaches, see Submit jobs to an HDInsight cluster. The HDInsight SDK reference for the newer version is available at HDInsight .NET SDK Reference.

Represents a Hadoop storage client with asynchronous operations.

Namespace:   Microsoft.Hadoop.Client.HadoopStorageClientLayer
Assembly:  Microsoft.Hadoop.Client (in Microsoft.Hadoop.Client.dll)

Syntax

public interface IHadoopStorageAsyncClient : IHadoopStorageClientBase
public interface class IHadoopStorageAsyncClient : IHadoopStorageClientBase
type IHadoopStorageAsyncClient = 
    interface
        interface IHadoopStorageClientBase
    end
Public Interface IHadoopStorageAsyncClient
    Inherits IHadoopStorageClientBase

Properties

Name Description
System_CAPS_pubproperty IgnoreSslErrors

Gets or sets a value indicating whether or not SSL errors should be ignored.(Inherited from IHadoopStorageClientBase.)

System_CAPS_pubproperty Timeout

Gets or sets a maximum time span for storage commands.(Inherited from IHadoopStorageClientBase.)

Methods

Name Description
System_CAPS_pubmethod AppendAsync(Stream, String)

Appends the content of the input stream to the file.

System_CAPS_pubmethod CreateDirectoryAsync(String)

Creates directory for the given path.

System_CAPS_pubmethod DeleteAsync(String)

Deletes a file or directory at the given path. If directory is not empty exception will be thrown.

System_CAPS_pubmethod DeleteAsync(String, Nullable<Boolean>)

Deletes a file or directory at the given path.

System_CAPS_pubmethod ExistsAsync(String)

Checks whether given path exists in the file system.

System_CAPS_pubmethod GetDirectoryStatusAsync(String)

List the statuses of the files/directories in the given path if the path is a directory.

System_CAPS_pubmethod GetFileStatusAsync(String)

Return a file status data for the given path.

System_CAPS_pubmethod ReadAsync(String)

Opens data stream at indicated path. Whole file will be read.

System_CAPS_pubmethod ReadAsync(String, Nullable<Int32>)

Opens data stream at indicated path. Starting offset can be set.

System_CAPS_pubmethod ReadAsync(String, Nullable<Int32>, Nullable<Int32>)

Opens data stream at indicated path. Starting offset and length of stream can be set.

System_CAPS_pubmethod ReadAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Opens data stream at indicated path.

System_CAPS_pubmethod RenameAsync(String, String)

Renames file or directory at the given path.

System_CAPS_pubmethod WriteAsync(Stream, String)

Writes the content of the input stream to a file on a file system. If file does not exists, exception will be thrown.

System_CAPS_pubmethod WriteAsync(Stream, String, Nullable<Boolean>)

Writes the content of the input stream to a file on a file system.

See Also

Microsoft.Hadoop.Client.HadoopStorageClientLayer Namespace

Return to top