@Name(value="arrow::io::internal::RandomAccessFileConcurrencyWrapper<arrow::io::BufferReader>") @NoOffset @Properties(inherit=arrow.class) public class BufferReaderRandomAccessFileConcurrencyWrapper extends RandomAccessFile
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
BufferReaderRandomAccessFileConcurrencyWrapper(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Abort() |
Status |
Close() |
LongResult |
GetSize()
\brief Return the total file size in bytes.
|
StringViewResult |
Peek(long nbytes) |
BufferResult |
Read(long nbytes) |
LongResult |
Read(long nbytes,
Pointer out) |
BufferResult |
ReadAt(long _position,
long nbytes)
\brief Read data from given file position.
|
LongResult |
ReadAt(long _position,
long nbytes,
Pointer out)
\brief Read data from given file position.
|
Status |
Seek(long _position) |
LongResult |
Tell() |
asInputStream, asInputStream, asSeekable, asSeekable, GetStream, WillNeedaddress, 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, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic BufferReaderRandomAccessFileConcurrencyWrapper(Pointer p)
Pointer(Pointer).@ByVal public LongResult Tell()
@ByVal public LongResult Read(@Cast(value="int64_t") long nbytes, Pointer out)
@ByVal public BufferResult Read(@Cast(value="int64_t") long nbytes)
@ByVal public StringViewResult Peek(@Cast(value="int64_t") long nbytes)
@ByVal public LongResult GetSize()
RandomAccessFileGetSize in class RandomAccessFile@ByVal public LongResult ReadAt(@Cast(value="int64_t") long _position, @Cast(value="int64_t") long nbytes, Pointer out)
RandomAccessFilenbytes bytes are read. The number of bytes read is returned
(it can be less than nbytes if EOF is reached).
This method can be safely called from multiple threads concurrently.
It is unspecified whether this method updates the file position or not.
The default RandomAccessFile-provided implementation uses Seek() and Read(),
but subclasses may override it with a more efficient implementation
that doesn't depend on implicit file positioning.ReadAt in class RandomAccessFilenbytes - [in] The number of bytes to readout - [out] The buffer to read bytes into@ByVal public BufferResult ReadAt(@Cast(value="int64_t") long _position, @Cast(value="int64_t") long nbytes)
RandomAccessFilenbytes bytes are read, but it can be less if EOF is reached.ReadAt in class RandomAccessFilenbytes - [in] The number of bytes to readCopyright © 2021. All rights reserved.