A file system abstraction.
More...
Inherited by Org.Apache.REEF.IO.FileSystem.AzureBlob.AzureBlockBlobFileSystem, Org.Apache.REEF.IO.FileSystem.Hadoop.HadoopFileSystem, and Org.Apache.REEF.IO.FileSystem.Local.LocalFileSystem.
A file system abstraction.
void Org.Apache.REEF.IO.FileSystem.IFileSystem.Copy |
( |
Uri |
sourceUri, |
|
|
Uri |
destinationUri |
|
) |
| |
Copies the file referenced by sourceUri to destinationUri.
- Parameters
-
- Exceptions
-
void Org.Apache.REEF.IO.FileSystem.IFileSystem.CopyFromLocal |
( |
string |
localFileName, |
|
|
Uri |
remoteFileUri |
|
) |
| |
Copies the specified file to the remote location.
- Parameters
-
localFileName | |
remoteFileUri | |
- Exceptions
-
void Org.Apache.REEF.IO.FileSystem.IFileSystem.CopyToLocal |
( |
Uri |
remoteFileUri, |
|
|
string |
localName |
|
) |
| |
Copies the remote file to a local file.
- Parameters
-
- Exceptions
-
Stream Org.Apache.REEF.IO.FileSystem.IFileSystem.Create |
( |
Uri |
fileUri | ) |
|
Creates a new file under the given URI.
- Parameters
-
- Returns
- Exceptions
-
IOException | If the URI couldn't be created. |
void Org.Apache.REEF.IO.FileSystem.IFileSystem.CreateDirectory |
( |
Uri |
directoryUri | ) |
|
Creates a new directory.
- Parameters
-
- Exceptions
-
Uri Org.Apache.REEF.IO.FileSystem.IFileSystem.CreateUriForPath |
( |
string |
path | ) |
|
Create Uri from a given file path.
The file path can be full with prefix or relative without prefix. If null is passed as the path, ArgumentException will be thrown.
- Parameters
-
- Returns
void Org.Apache.REEF.IO.FileSystem.IFileSystem.Delete |
( |
Uri |
fileUri | ) |
|
Deletes the file under the given URI.
- Parameters
-
- Exceptions
-
void Org.Apache.REEF.IO.FileSystem.IFileSystem.DeleteDirectory |
( |
Uri |
directoryUri | ) |
|
Deletes a directory.
- Parameters
-
- Exceptions
-
bool Org.Apache.REEF.IO.FileSystem.IFileSystem.Exists |
( |
Uri |
fileUri | ) |
|
Determines whether a file exists under the given URI.
- Parameters
-
- Returns
IEnumerable<Uri> Org.Apache.REEF.IO.FileSystem.IFileSystem.GetChildren |
( |
Uri |
directoryUri | ) |
|
Get the children on the given URI, if that refers to a directory.
- Parameters
-
- Returns
- Exceptions
-
FileStatus Org.Apache.REEF.IO.FileSystem.IFileSystem.GetFileStatus |
( |
Uri |
remoteFileUri | ) |
|
Gets the FileStatus for remote file.
- Parameters
-
- Exceptions
-
ArgumentNullException | If remote file URI is null |
- Returns
- FileStatus
Stream Org.Apache.REEF.IO.FileSystem.IFileSystem.Open |
( |
Uri |
fileUri | ) |
|
Opens the given URI for reading
- Parameters
-
- Returns
- Exceptions
-
IOException | If the URI couldn't be opened. |
The documentation for this interface was generated from the following file: