@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 Status |
Open(BytePointer path,
MemoryPool pool,
ReadableFile file)
Deprecated.
|
static Status |
Open(BytePointer path,
ReadableFile file)
Deprecated.
|
static ReadableFileResult |
Open(int fd) |
static ReadableFileResult |
Open(int fd,
MemoryPool pool)
\brief Open a local file for reading
|
static Status |
Open(int fd,
MemoryPool pool,
ReadableFile file)
Deprecated.
|
static Status |
Open(int fd,
ReadableFile file)
Deprecated.
|
static ReadableFileResult |
Open(String path) |
static ReadableFileResult |
Open(String path,
MemoryPool pool)
\brief Open a local file for reading
|
static Status |
Open(String path,
MemoryPool pool,
ReadableFile file)
Deprecated.
|
static Status |
Open(String path,
ReadableFile file)
Deprecated.
|
Abort, Close, GetSize, Peek, Read, Read, ReadAt, ReadAt, Seek, TellasSeekable, asSeekable, GetSize, GetSize, GetSize, GetStream, ReadAt, ReadAt, ReadAt, ReadAtAdvance, asReadable, asReadable, supports_zero_copymode, Tell, Tell, Telladdress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic ReadableFile(Pointer p)
Pointer.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)
@Deprecated @ByVal public static Status Open(@StdString String path, @SharedPtr ReadableFile file)
@Deprecated @ByVal public static Status Open(@StdString BytePointer path, @SharedPtr ReadableFile file)
@Deprecated @ByVal public static Status Open(@StdString String path, MemoryPool pool, @SharedPtr ReadableFile file)
@Deprecated @ByVal public static Status Open(@StdString BytePointer path, MemoryPool pool, @SharedPtr ReadableFile file)
@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)
@Deprecated @ByVal public static Status Open(int fd, @SharedPtr ReadableFile file)
@Deprecated @ByVal public static Status Open(int fd, MemoryPool pool, @SharedPtr ReadableFile file)
@Cast(value="bool") public boolean closed()
FileInterfaceclosed in class FileInterfacepublic int file_descriptor()
Copyright © 2020. All rights reserved.