pyarrow.fs.FileSystemHandler¶
- class pyarrow.fs.FileSystemHandler¶
Bases:
abc.ABC
An abstract class exposing methods to implement PyFileSystem’s behavior.
- __init__()¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
copy_file
(src, dest)Implement PyFileSystem.copy_file(…).
create_dir
(path, recursive)Implement PyFileSystem.create_dir(…).
delete_dir
(path)Implement PyFileSystem.delete_dir(…).
delete_dir_contents
(path)Implement PyFileSystem.delete_dir_contents(…).
delete_file
(path)Implement PyFileSystem.delete_file(…).
Implement PyFileSystem.delete_dir_contents(“/”, accept_root_dir=True).
get_file_info
(paths)Implement PyFileSystem.get_file_info(paths).
get_file_info_selector
(selector)Implement PyFileSystem.get_file_info(selector).
Implement PyFileSystem.type_name.
move
(src, dest)Implement PyFileSystem.move(…).
normalize_path
(path)Implement PyFileSystem.normalize_path(…).
open_append_stream
(path)Implement PyFileSystem.open_append_stream(…).
open_input_file
(path)Implement PyFileSystem.open_input_file(…).
open_input_stream
(path)Implement PyFileSystem.open_input_stream(…).
open_output_stream
(path)Implement PyFileSystem.open_output_stream(…).
- abstract copy_file(src, dest)¶
Implement PyFileSystem.copy_file(…).
- abstract create_dir(path, recursive)¶
Implement PyFileSystem.create_dir(…).
- abstract delete_dir(path)¶
Implement PyFileSystem.delete_dir(…).
- abstract delete_dir_contents(path)¶
Implement PyFileSystem.delete_dir_contents(…).
- abstract delete_file(path)¶
Implement PyFileSystem.delete_file(…).
- abstract delete_root_dir_contents()¶
Implement PyFileSystem.delete_dir_contents(“/”, accept_root_dir=True).
- abstract get_file_info(paths)¶
Implement PyFileSystem.get_file_info(paths).
- abstract get_file_info_selector(selector)¶
Implement PyFileSystem.get_file_info(selector).
- abstract get_type_name()¶
Implement PyFileSystem.type_name.
- abstract move(src, dest)¶
Implement PyFileSystem.move(…).
- abstract normalize_path(path)¶
Implement PyFileSystem.normalize_path(…).
- abstract open_append_stream(path)¶
Implement PyFileSystem.open_append_stream(…).
- abstract open_input_file(path)¶
Implement PyFileSystem.open_input_file(…).
- abstract open_input_stream(path)¶
Implement PyFileSystem.open_input_stream(…).
- abstract open_output_stream(path)¶
Implement PyFileSystem.open_output_stream(…).