@Namespace(value="arrow::fs") @NoOffset @Properties(inherit=arrow.class) public class SubTreeFileSystem extends FileSystem
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
SubTreeFileSystem(BytePointer base_path,
FileSystem base_fs) |
SubTreeFileSystem(Pointer p)
Pointer cast constructor.
|
SubTreeFileSystem(String base_path,
FileSystem base_fs) |
| Modifier and Type | Method and Description |
|---|---|
FileSystem |
base_fs() |
String |
base_path() |
Status |
CopyFile(BytePointer src,
BytePointer dest) |
Status |
CopyFile(String src,
String dest)
Copy a file.
|
Status |
CreateDir(BytePointer path) |
Status |
CreateDir(BytePointer path,
boolean recursive) |
Status |
CreateDir(String path) |
Status |
CreateDir(String path,
boolean recursive)
Create a directory and subdirectories.
|
Status |
DeleteDir(BytePointer path) |
Status |
DeleteDir(String path)
Delete a directory and its contents, recursively.
|
Status |
DeleteDirContents(BytePointer path) |
Status |
DeleteDirContents(String path)
Delete a directory's contents, recursively.
|
Status |
DeleteFile(BytePointer path) |
Status |
DeleteFile(String path)
Delete a file.
|
Status |
DeleteRootDirContents()
EXPERIMENTAL: Delete the root directory's contents, recursively.
|
boolean |
Equals(FileSystem other) |
FileInfoResult |
GetFileInfo(BytePointer path) |
FileInfoVectorResult |
GetFileInfo(FileSelector select)
Same, according to a selector.
|
FileInfoResult |
GetFileInfo(String path)
\endcond
|
Pointer |
GetFileInfoGenerator(FileSelector select)
EXPERIMENTAL: streaming async version of GetFileInfo
The returned generator is not async-reentrant, i.e.
|
Status |
Move(BytePointer src,
BytePointer dest) |
Status |
Move(String src,
String dest)
Move / rename a file or directory.
|
StringResult |
NormalizePath(BytePointer path) |
StringResult |
NormalizePath(String path)
Normalize path for the given filesystem
The default implementation of this method is a no-op, but subclasses
may allow normalizing irregular path forms (such as Windows local paths).
|
OutputStreamResult |
OpenAppendStream(BytePointer path) |
OutputStreamResult |
OpenAppendStream(String path)
Open an output stream for appending.
|
RandomAccessFileResult |
OpenInputFile(BytePointer path) |
RandomAccessFileResult |
OpenInputFile(FileInfo info)
Open an input file for random access reading.
|
RandomAccessFileResult |
OpenInputFile(String path)
Open an input file for random access reading.
|
RandomAccessFileFuture |
OpenInputFileAsync(BytePointer path) |
RandomAccessFileFuture |
OpenInputFileAsync(FileInfo info)
EXPERIMENTAL: async version of OpenInputFile
|
RandomAccessFileFuture |
OpenInputFileAsync(String path)
EXPERIMENTAL: async version of OpenInputFile
|
InputStreamResult |
OpenInputStream(BytePointer path) |
InputStreamResult |
OpenInputStream(FileInfo info)
Open an input stream for sequential reading.
|
InputStreamResult |
OpenInputStream(String path)
Open an input stream for sequential reading.
|
InputStreamFuture |
OpenInputStreamAsync(BytePointer path) |
InputStreamFuture |
OpenInputStreamAsync(FileInfo info)
EXPERIMENTAL: async version of OpenInputStream
|
InputStreamFuture |
OpenInputStreamAsync(String path)
EXPERIMENTAL: async version of OpenInputStream
|
OutputStreamResult |
OpenOutputStream(BytePointer path) |
OutputStreamResult |
OpenOutputStream(String path)
Open an output stream for sequential writing.
|
String |
type_name() |
DeleteFiles, GetFileInfo, GetFileInfoAsync, io_contextaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic SubTreeFileSystem(Pointer p)
Pointer(Pointer).public SubTreeFileSystem(@StdString String base_path, @SharedPtr FileSystem base_fs)
public SubTreeFileSystem(@StdString BytePointer base_path, @SharedPtr FileSystem base_fs)
@StdString public String type_name()
type_name in class FileSystem@StdString public String base_path()
@SharedPtr public FileSystem base_fs()
@ByVal public StringResult NormalizePath(@StdString String path)
FileSystemNormalizePath in class FileSystem@ByVal public StringResult NormalizePath(@StdString BytePointer path)
NormalizePath in class FileSystem@Cast(value="bool") public boolean Equals(@Const @ByRef FileSystem other)
Equals in class FileSystem@ByVal public FileInfoResult GetFileInfo(@StdString String path)
GetFileInfo in class FileSystem@ByVal public FileInfoResult GetFileInfo(@StdString BytePointer path)
GetFileInfo in class FileSystem@ByVal public FileInfoVectorResult GetFileInfo(@Const @ByRef FileSelector select)
FileSystemFileSelector::allow_not_found.GetFileInfo in class FileSystem@ByVal @Cast(value="arrow::fs::FileInfoGenerator*") public Pointer GetFileInfoGenerator(@Const @ByRef FileSelector select)
FileSystemGetFileInfoGenerator in class FileSystem@ByVal public Status CreateDir(@StdString String path, @Cast(value="bool") boolean recursive)
FileSystemCreateDir in class FileSystem@ByVal public Status CreateDir(@StdString String path)
CreateDir in class FileSystem@ByVal public Status CreateDir(@StdString BytePointer path, @Cast(value="bool") boolean recursive)
CreateDir in class FileSystem@ByVal public Status CreateDir(@StdString BytePointer path)
CreateDir in class FileSystem@ByVal public Status DeleteDir(@StdString String path)
FileSystemDeleteDir in class FileSystem@ByVal public Status DeleteDir(@StdString BytePointer path)
DeleteDir in class FileSystem@ByVal public Status DeleteDirContents(@StdString String path)
FileSystemDeleteDirContents in class FileSystem@ByVal public Status DeleteDirContents(@StdString BytePointer path)
DeleteDirContents in class FileSystem@ByVal public Status DeleteRootDirContents()
FileSystemDeleteRootDirContents in class FileSystem@ByVal public Status DeleteFile(@StdString String path)
FileSystemDeleteFile in class FileSystem@ByVal public Status DeleteFile(@StdString BytePointer path)
DeleteFile in class FileSystem@ByVal public Status Move(@StdString String src, @StdString String dest)
FileSystemMove in class FileSystem@ByVal public Status Move(@StdString BytePointer src, @StdString BytePointer dest)
Move in class FileSystem@ByVal public Status CopyFile(@StdString String src, @StdString String dest)
FileSystemCopyFile in class FileSystem@ByVal public Status CopyFile(@StdString BytePointer src, @StdString BytePointer dest)
CopyFile in class FileSystem@ByVal public InputStreamResult OpenInputStream(@StdString String path)
FileSystemOpenInputStream in class FileSystem@ByVal public InputStreamResult OpenInputStream(@StdString BytePointer path)
OpenInputStream in class FileSystem@ByVal public InputStreamResult OpenInputStream(@Const @ByRef FileInfo info)
FileSystemOpenInputStream in class FileSystem@ByVal public RandomAccessFileResult OpenInputFile(@StdString String path)
FileSystemOpenInputFile in class FileSystem@ByVal public RandomAccessFileResult OpenInputFile(@StdString BytePointer path)
OpenInputFile in class FileSystem@ByVal public RandomAccessFileResult OpenInputFile(@Const @ByRef FileInfo info)
FileSystemOpenInputFile in class FileSystem@ByVal public InputStreamFuture OpenInputStreamAsync(@StdString String path)
FileSystemOpenInputStreamAsync in class FileSystem@ByVal public InputStreamFuture OpenInputStreamAsync(@StdString BytePointer path)
OpenInputStreamAsync in class FileSystem@ByVal public InputStreamFuture OpenInputStreamAsync(@Const @ByRef FileInfo info)
FileSystemOpenInputStreamAsync in class FileSystem@ByVal public RandomAccessFileFuture OpenInputFileAsync(@StdString String path)
FileSystemOpenInputFileAsync in class FileSystem@ByVal public RandomAccessFileFuture OpenInputFileAsync(@StdString BytePointer path)
OpenInputFileAsync in class FileSystem@ByVal public RandomAccessFileFuture OpenInputFileAsync(@Const @ByRef FileInfo info)
FileSystemOpenInputFileAsync in class FileSystem@ByVal public OutputStreamResult OpenOutputStream(@StdString String path)
FileSystemOpenOutputStream in class FileSystem@ByVal public OutputStreamResult OpenOutputStream(@StdString BytePointer path)
OpenOutputStream in class FileSystem@ByVal public OutputStreamResult OpenAppendStream(@StdString String path)
FileSystemOpenAppendStream in class FileSystem@ByVal public OutputStreamResult OpenAppendStream(@StdString BytePointer path)
OpenAppendStream in class FileSystemCopyright © 2021. All rights reserved.