@Namespace(value="arrow::fs::internal") @NoOffset @Properties(inherit=arrow.class) public class MockFileSystem extends FileSystem
Modifier and Type | Class and Description |
---|---|
static class |
MockFileSystem.Impl |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MockFileSystem(Pointer current_time) |
MockFileSystem(Pointer current_time,
IOContext arg1) |
DeleteFiles, GetFileInfo, GetFileInfoAsync, GetFileInfoGenerator, io_context, NormalizePath, NormalizePath, OpenInputFile, OpenInputFileAsync, OpenInputFileAsync, OpenInputFileAsync, OpenInputStream, OpenInputStreamAsync, OpenInputStreamAsync, OpenInputStreamAsync
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public MockFileSystem(@ByVal @Cast(value="arrow::fs::TimePoint*") Pointer current_time, @Const @ByRef(nullValue="arrow::io::IOContext(arrow::io::default_io_context())") IOContext arg1)
@StdString public String type_name()
type_name
in class FileSystem
@Cast(value="bool") public boolean Equals(@Const @ByRef FileSystem other)
Equals
in class FileSystem
@ByVal public FileInfoResult GetFileInfo(@StdString String path)
FileSystem
GetFileInfo
in class FileSystem
@ByVal public FileInfoResult GetFileInfo(@StdString BytePointer path)
GetFileInfo
in class FileSystem
@ByVal public FileInfoVectorResult GetFileInfo(@Const @ByRef FileSelector select)
FileSystem
FileSelector::allow_not_found
.GetFileInfo
in class FileSystem
@ByVal public Status CreateDir(@StdString String path, @Cast(value="bool") boolean recursive)
FileSystem
CreateDir
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)
FileSystem
DeleteDir
in class FileSystem
@ByVal public Status DeleteDir(@StdString BytePointer path)
DeleteDir
in class FileSystem
@ByVal public Status DeleteDirContents(@StdString String path)
FileSystem
DeleteDirContents
in class FileSystem
@ByVal public Status DeleteDirContents(@StdString BytePointer path)
DeleteDirContents
in class FileSystem
@ByVal public Status DeleteRootDirContents()
FileSystem
DeleteRootDirContents
in class FileSystem
@ByVal public Status DeleteFile(@StdString String path)
FileSystem
DeleteFile
in class FileSystem
@ByVal public Status DeleteFile(@StdString BytePointer path)
DeleteFile
in class FileSystem
@ByVal public Status Move(@StdString String src, @StdString String dest)
FileSystem
Move
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)
FileSystem
CopyFile
in class FileSystem
@ByVal public Status CopyFile(@StdString BytePointer src, @StdString BytePointer dest)
CopyFile
in class FileSystem
@ByVal public InputStreamResult OpenInputStream(@StdString String path)
FileSystem
OpenInputStream
in class FileSystem
@ByVal public InputStreamResult OpenInputStream(@StdString BytePointer path)
OpenInputStream
in class FileSystem
@ByVal public RandomAccessFileResult OpenInputFile(@StdString String path)
FileSystem
OpenInputFile
in class FileSystem
@ByVal public RandomAccessFileResult OpenInputFile(@StdString BytePointer path)
OpenInputFile
in class FileSystem
@ByVal public OutputStreamResult OpenOutputStream(@StdString String path, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
FileSystem
OpenOutputStream
in class FileSystem
@ByVal public OutputStreamResult OpenOutputStream(@StdString String path)
OpenOutputStream
in class FileSystem
@ByVal public OutputStreamResult OpenOutputStream(@StdString BytePointer path, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
OpenOutputStream
in class FileSystem
@ByVal public OutputStreamResult OpenOutputStream(@StdString BytePointer path)
OpenOutputStream
in class FileSystem
@ByVal public OutputStreamResult OpenAppendStream(@StdString String path, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
FileSystem
OpenAppendStream
in class FileSystem
@ByVal public OutputStreamResult OpenAppendStream(@StdString String path)
OpenAppendStream
in class FileSystem
@ByVal public OutputStreamResult OpenAppendStream(@StdString BytePointer path, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
OpenAppendStream
in class FileSystem
@ByVal public OutputStreamResult OpenAppendStream(@StdString BytePointer path)
OpenAppendStream
in class FileSystem
@StdVector public MockDirInfo AllDirs()
@StdVector public MockFileInfo AllFiles()
@ByVal public static FileSystemResult Make(@ByVal @Cast(value="arrow::fs::TimePoint*") Pointer current_time, @Const @ByRef FileInfoVector infos)
Copyright © 2022. All rights reserved.