IHadoopApplianceStorageClient Interface

 

Note

A newer version of HDInsight .NET SDK is available that uses the Azure Resource Manager (ARM) approach. 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.

Interface representing storage client for Hadoop on Appliance.

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

Syntax

public interface IHadoopApplianceStorageClient : IHadoopStorageClient, 
    IHadoopStorageSyncClient, IHadoopStorageAsyncClient, IHadoopStorageClientBase
public interface class IHadoopApplianceStorageClient : IHadoopStorageClient, 
    IHadoopStorageSyncClient, IHadoopStorageAsyncClient, IHadoopStorageClientBase
type IHadoopApplianceStorageClient = 
    interface
        interface IHadoopStorageClient
        interface IHadoopStorageSyncClient
        interface IHadoopStorageAsyncClient
        interface IHadoopStorageClientBase
    end
Public Interface IHadoopApplianceStorageClient
    Inherits IHadoopStorageClient, IHadoopStorageSyncClient, IHadoopStorageAsyncClient,
    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 Append(Stream, String)

Appends the content of the input stream to the file.(Inherited from IHadoopStorageSyncClient.)

System_CAPS_pubmethod AppendAsync(Stream, String)

Appends the content of the input stream to the file.(Inherited from IHadoopStorageAsyncClient.)

System_CAPS_pubmethod CreateDirectory(String)

Creates directory for the given path.(Inherited from IHadoopStorageSyncClient.)

System_CAPS_pubmethod CreateDirectoryAsync(String)

Creates directory for the given path.(Inherited from IHadoopStorageAsyncClient.)

System_CAPS_pubmethod Delete(String)

Deletes a file or directory at the given path. If directory is not empty exception will be thrown.(Inherited from IHadoopStorageSyncClient.)

System_CAPS_pubmethod Delete(String, Nullable<Boolean>)

Deletes a file or directory at the given path.(Inherited from IHadoopStorageSyncClient.)

System_CAPS_pubmethod DeleteAsync(String)

Deletes a file or directory at the given path. If directory is not empty exception will be thrown.(Inherited from IHadoopStorageAsyncClient.)

System_CAPS_pubmethod DeleteAsync(String, Nullable<Boolean>)

Deletes a file or directory at the given path.(Inherited from IHadoopStorageAsyncClient.)

System_CAPS_pubmethod Exists(String)

Checks whether given path exists in the file system.(Inherited from IHadoopStorageSyncClient.)

System_CAPS_pubmethod ExistsAsync(String)

Checks whether given path exists in the file system.(Inherited from IHadoopStorageAsyncClient.)

System_CAPS_pubmethod GetContentSummary(String)

Retrieves the content summary of a given path.

System_CAPS_pubmethod GetContentSummaryAsync(String)

Asynchronously retrieves the content summary of a given path.

System_CAPS_pubmethod GetDirectoryStatus(String)

Lists the statuses of the files/directories in the given path if the path is a directory.(Inherited from IHadoopStorageSyncClient.)

System_CAPS_pubmethod GetDirectoryStatusAsync(String)

List the statuses of the files/directories in the given path if the path is a directory.(Inherited from IHadoopStorageAsyncClient.)

System_CAPS_pubmethod GetFileStatus(String)

Returns a file status data for the given path.(Inherited from IHadoopStorageSyncClient.)

System_CAPS_pubmethod GetFileStatusAsync(String)

Return a file status data for the given path.(Inherited from IHadoopStorageAsyncClient.)

System_CAPS_pubmethod GetHomeDirectory()

Gets the current user's home directory in the file system.

System_CAPS_pubmethod GetHomeDirectoryAsync()

Asynchronously retrieves the current user's home directory in the file system.

System_CAPS_pubmethod Read(String)

Opens data stream at indicated path. Whole file will be read.(Inherited from IHadoopStorageSyncClient.)

System_CAPS_pubmethod Read(String, Nullable<Int32>)

Opens data stream at indicated path. Starting offset can be set.(Inherited from IHadoopStorageSyncClient.)

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

Opens data stream at indicated path. Starting offset and length of stream can be set.(Inherited from IHadoopStorageSyncClient.)

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

Opens data stream at indicated path.(Inherited from IHadoopStorageSyncClient.)

System_CAPS_pubmethod ReadAsync(String)

Opens data stream at indicated path. Whole file will be read.(Inherited from IHadoopStorageAsyncClient.)

System_CAPS_pubmethod ReadAsync(String, Nullable<Int32>)

Opens data stream at indicated path. Starting offset can be set.(Inherited from IHadoopStorageAsyncClient.)

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

Opens data stream at indicated path. Starting offset and length of stream can be set.(Inherited from IHadoopStorageAsyncClient.)

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

Opens data stream at indicated path.(Inherited from IHadoopStorageAsyncClient.)

System_CAPS_pubmethod Rename(String, String)

Renames file or directory at the given path.(Inherited from IHadoopStorageSyncClient.)

System_CAPS_pubmethod RenameAsync(String, String)

Renames file or directory at the given path.(Inherited from IHadoopStorageAsyncClient.)

System_CAPS_pubmethod SetOwner(String, String, String)

Sets owner of a path (i.e. a file or a directory).

System_CAPS_pubmethod SetOwnerAsync(String, String, String)

Asynchronously sets owner of a path (i.e. a file or a directory).

System_CAPS_pubmethod SetPermissions(String, String)

Sets the permissions of the client path.

System_CAPS_pubmethod SetPermissionsAsync(String, String)

Asynchronously sets the permissions of the path.

System_CAPS_pubmethod SetReplicationFactor(String, Int16)

Sets replication factor for an existing file.

System_CAPS_pubmethod SetReplicationFactorAsync(String, Int16)

Asynchronously sets the replication factor.

System_CAPS_pubmethod Write(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.(Inherited from IHadoopStorageSyncClient.)

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

Writes the content of the input stream to a file on a file system.(Inherited from IHadoopStorageSyncClient.)

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.(Inherited from IHadoopStorageAsyncClient.)

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

Writes the content of the input stream to a file on a file system.(Inherited from IHadoopStorageAsyncClient.)

See Also

Microsoft.HadoopAppliance.Client.HadoopStorageClientLayer Namespace

Return to top