@Namespace(value="arrow::io") @NoOffset @Properties(inherit=arrow.class) public class ReadableFile extends ReadableFileRandomAccessFileConcurrencyWrapper
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ReadableFile(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
closed()
\brief Return whether the stream is closed
|
int |
file_descriptor() |
static ReadableFileResult |
Open(BytePointer path) |
static ReadableFileResult |
Open(BytePointer path,
MemoryPool pool) |
static ReadableFileResult |
Open(int fd) |
static ReadableFileResult |
Open(int fd,
MemoryPool pool)
\brief Open a local file for reading
|
static ReadableFileResult |
Open(String path) |
static ReadableFileResult |
Open(String path,
MemoryPool pool)
\brief Open a local file for reading
|
Status |
WillNeed(ReadRange ranges)
EXPERIMENTAL: Inform that the given ranges may be read soon.
|
Abort, Close, GetSize, Peek, Read, Read, ReadAt, ReadAt, Seek, TellasSeekable, asSeekable, GetStreamAdvance, asReadable, asReadable, ReadMetadata, ReadMetadataAsync, ReadMetadataAsync, supports_zero_copymodeaddress, 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, zeropublic ReadableFile(Pointer p)
Pointer(Pointer).@ByVal public static ReadableFileResult Open(@StdString String path, MemoryPool pool)
path - [in] with UTF8 encodingpool - [in] a MemoryPool for memory allocations@ByVal public static ReadableFileResult Open(@StdString String path)
@ByVal public static ReadableFileResult Open(@StdString BytePointer path, MemoryPool pool)
@ByVal public static ReadableFileResult Open(@StdString BytePointer path)
@ByVal public static ReadableFileResult Open(int fd, MemoryPool pool)
fd - [in] file descriptorpool - [in] a MemoryPool for memory allocations@ByVal public static ReadableFileResult Open(int fd)
@Cast(value="bool") public boolean closed()
FileInterfaceclosed in class FileInterfacepublic int file_descriptor()
@ByVal public Status WillNeed(@StdVector ReadRange ranges)
RandomAccessFileWillNeed in class RandomAccessFileCopyright © 2022. All rights reserved.