LocalFileSystem

Constructors

this
this(arrow.local_file_system_options.LocalFileSystemOptions options)

Inherited Members

From FileSystem

create
arrow.file_system.FileSystem create(string uri)

This is a factory function to create a specific #GArrowFileSystem object.

copyFile
bool copyFile(string src, string dest)

Copy a file. If the destination exists and is a directory, an error is returned. Otherwise, it is replaced.

createDir
bool createDir(string path, bool recursive)

Create a directory and subdirectories. This function succeeds if the directory already exists.

deleteDir
bool deleteDir(string path)

Delete a directory and its contents, recursively.

deleteDirContents
bool deleteDirContents(string path)

Delete a directory's contents, recursively. Like arrow.file_system.FileSystem.deleteDir, but doesn't delete the directory itself. Passing an empty path ("") will wipe the entire file system tree.

deleteFile
bool deleteFile(string path)

Delete a file.

deleteFiles
bool deleteFiles(string[] paths)

Delete many files.

getFileInfo
arrow.file_info.FileInfo getFileInfo(string path)

Get information for the given target.

getFileInfosPaths
arrow.file_info.FileInfo[] getFileInfosPaths(string[] paths)

Get information same as arrow.file_system.FileSystem.getFileInfo for the given many targets at once.

getFileInfosSelector
arrow.file_info.FileInfo[] getFileInfosSelector(arrow.file_selector.FileSelector fileSelector)

Get information same as arrow.file_system.FileSystem.getFileInfo according to a selector.

getTypeName
string getTypeName()
move
bool move(string src, string dest)

Move / rename a file or a directory. If the destination exists:

  • if it is a non-empty directory, an error is returned
  • otherwise, if it has the same type as the source, it is replaced
  • otherwise, behavior is unspecified (implementation-dependent).
openAppendStream
arrow.output_stream.OutputStream openAppendStream(string path)

Open an output stream for appending. If the target doesn't exist, a new empty file is created.

openInputFile
arrow.seekable_input_stream.SeekableInputStream openInputFile(string path)

Open an input file for random access reading.

openInputStream
arrow.input_stream.InputStream openInputStream(string path)

Open an input stream for sequential reading.

openOutputStream
arrow.output_stream.OutputStream openOutputStream(string path)

Open an output stream for sequential writing. If the target already exists, the existing data is truncated.