IHadoopStorageClient 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 storage client for Hadoop.
Namespace: Microsoft.Hadoop.Client.HadoopStorageClientLayer
Assembly: Microsoft.Hadoop.Client (in Microsoft.Hadoop.Client.dll)
Syntax
public interface IHadoopStorageClient : IHadoopStorageSyncClient,
IHadoopStorageAsyncClient, IHadoopStorageClientBase
public interface class IHadoopStorageClient : IHadoopStorageSyncClient,
IHadoopStorageAsyncClient, IHadoopStorageClientBase
type IHadoopStorageClient =
interface
interface IHadoopStorageSyncClient
interface IHadoopStorageAsyncClient
interface IHadoopStorageClientBase
end
Public Interface IHadoopStorageClient
Inherits IHadoopStorageSyncClient, IHadoopStorageAsyncClient,
IHadoopStorageClientBase
Properties
Name | Description | |
---|---|---|
IgnoreSslErrors | Gets or sets a value indicating whether or not SSL errors should be ignored.(Inherited from IHadoopStorageClientBase.) |
|
Timeout | Gets or sets a maximum time span for storage commands.(Inherited from IHadoopStorageClientBase.) |
Methods
Name | Description | |
---|---|---|
Append(Stream, String) | Appends the content of the input stream to the file.(Inherited from IHadoopStorageSyncClient.) |
|
AppendAsync(Stream, String) | Appends the content of the input stream to the file.(Inherited from IHadoopStorageAsyncClient.) |
|
CreateDirectory(String) | Creates directory for the given path.(Inherited from IHadoopStorageSyncClient.) |
|
CreateDirectoryAsync(String) | Creates directory for the given path.(Inherited from IHadoopStorageAsyncClient.) |
|
Delete(String) | Deletes a file or directory at the given path. If directory is not empty exception will be thrown.(Inherited from IHadoopStorageSyncClient.) |
|
Delete(String, Nullable<Boolean>) | Deletes a file or directory at the given path.(Inherited from IHadoopStorageSyncClient.) |
|
DeleteAsync(String) | Deletes a file or directory at the given path. If directory is not empty exception will be thrown.(Inherited from IHadoopStorageAsyncClient.) |
|
DeleteAsync(String, Nullable<Boolean>) | Deletes a file or directory at the given path.(Inherited from IHadoopStorageAsyncClient.) |
|
Exists(String) | Checks whether given path exists in the file system.(Inherited from IHadoopStorageSyncClient.) |
|
ExistsAsync(String) | Checks whether given path exists in the file system.(Inherited from IHadoopStorageAsyncClient.) |
|
GetDirectoryStatus(String) | Lists the statuses of the files/directories in the given path if the path is a directory.(Inherited from IHadoopStorageSyncClient.) |
|
GetDirectoryStatusAsync(String) | List the statuses of the files/directories in the given path if the path is a directory.(Inherited from IHadoopStorageAsyncClient.) |
|
GetFileStatus(String) | Returns a file status data for the given path.(Inherited from IHadoopStorageSyncClient.) |
|
GetFileStatusAsync(String) | Return a file status data for the given path.(Inherited from IHadoopStorageAsyncClient.) |
|
Read(String) | Opens data stream at indicated path. Whole file will be read.(Inherited from IHadoopStorageSyncClient.) |
|
Read(String, Nullable<Int32>) | Opens data stream at indicated path. Starting offset can be set.(Inherited from IHadoopStorageSyncClient.) |
|
Read(String, Nullable<Int32>, Nullable<Int32>) | Opens data stream at indicated path. Starting offset and length of stream can be set.(Inherited from IHadoopStorageSyncClient.) |
|
Read(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>) | Opens data stream at indicated path.(Inherited from IHadoopStorageSyncClient.) |
|
ReadAsync(String) | Opens data stream at indicated path. Whole file will be read.(Inherited from IHadoopStorageAsyncClient.) |
|
ReadAsync(String, Nullable<Int32>) | Opens data stream at indicated path. Starting offset can be set.(Inherited from IHadoopStorageAsyncClient.) |
|
ReadAsync(String, Nullable<Int32>, Nullable<Int32>) | Opens data stream at indicated path. Starting offset and length of stream can be set.(Inherited from IHadoopStorageAsyncClient.) |
|
ReadAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>) | Opens data stream at indicated path.(Inherited from IHadoopStorageAsyncClient.) |
|
Rename(String, String) | Renames file or directory at the given path.(Inherited from IHadoopStorageSyncClient.) |
|
RenameAsync(String, String) | Renames file or directory at the given path.(Inherited from IHadoopStorageAsyncClient.) |
|
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.) |
|
Write(Stream, String, Nullable<Boolean>) | Writes the content of the input stream to a file on a file system.(Inherited from IHadoopStorageSyncClient.) |
|
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.) |
|
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.Hadoop.Client.HadoopStorageClientLayer Namespace
Return to top