@Namespace(value="parquet") @Properties(inherit=parquet.class) public class RandomAccessSource extends FileInterface
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
RandomAccessSource(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ArrowBuffer |
Read(long nbytes) |
long |
Read(long nbytes,
byte[] out) |
long |
Read(long nbytes,
ByteBuffer out) |
long |
Read(long nbytes,
BytePointer out) |
ArrowBuffer |
ReadAt(long _position,
long nbytes) |
long |
ReadAt(long _position,
long nbytes,
byte[] out) |
long |
ReadAt(long _position,
long nbytes,
ByteBuffer out) |
long |
ReadAt(long _position,
long nbytes,
BytePointer out)
Returns bytes read
|
long |
Size() |
Close, Telladdress, 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 RandomAccessSource(Pointer p)
Pointer(Pointer).@Cast(value="int64_t") public long Read(@Cast(value="int64_t") long nbytes, @Cast(value="uint8_t*") BytePointer out)
@Cast(value="int64_t") public long Read(@Cast(value="int64_t") long nbytes, @Cast(value="uint8_t*") ByteBuffer out)
@Cast(value="int64_t") public long Read(@Cast(value="int64_t") long nbytes, @Cast(value="uint8_t*") byte[] out)
@Cast(value="parquet::Buffer*") @SharedPtr public ArrowBuffer Read(@Cast(value="int64_t") long nbytes)
@Cast(value="parquet::Buffer*") @SharedPtr public ArrowBuffer ReadAt(@Cast(value="int64_t") long _position, @Cast(value="int64_t") long nbytes)
@Cast(value="int64_t") public long ReadAt(@Cast(value="int64_t") long _position, @Cast(value="int64_t") long nbytes, @Cast(value="uint8_t*") BytePointer out)
@Cast(value="int64_t") public long ReadAt(@Cast(value="int64_t") long _position, @Cast(value="int64_t") long nbytes, @Cast(value="uint8_t*") ByteBuffer out)
Copyright © 2021. All rights reserved.