@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() |
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, TellasInputStream, asInputStream, asSeekable, asSeekable, GetStreamaddress, 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 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)
public int file_descriptor()
@ByVal public Status WillNeed(@StdVector ReadRange ranges)
RandomAccessFileWillNeed in class RandomAccessFileCopyright © 2021. All rights reserved.