@Namespace(value="arrow::io::internal") @NoOffset @Properties(inherit=arrow.class) public class ReadRangeCache extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description |
|---|---|
static long |
kDefaultHoleSizeLimit |
static long |
kDefaultRangeSizeLimit |
| Constructor and Description |
|---|
ReadRangeCache(Pointer p)
Pointer cast constructor.
|
ReadRangeCache(RandomAccessFile file,
IOContext ctx)
Construct a read cache with default
|
ReadRangeCache(RandomAccessFile file,
IOContext ctx,
CacheOptions options)
Construct a read cache with given options
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Cache(ReadRange ranges)
\brief Cache the given ranges in the background.
|
static long |
kDefaultHoleSizeLimit() |
static long |
kDefaultRangeSizeLimit() |
BufferResult |
Read(ReadRange range)
\brief Read a range previously given to Cache().
|
Future |
Wait()
\brief Wait until all ranges added so far have been cached.
|
address, 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 static final long kDefaultHoleSizeLimit
public static final long kDefaultRangeSizeLimit
public ReadRangeCache(Pointer p)
Pointer(Pointer).public ReadRangeCache(@SharedPtr RandomAccessFile file, @ByVal IOContext ctx)
public ReadRangeCache(@SharedPtr RandomAccessFile file, @ByVal IOContext ctx, @ByVal CacheOptions options)
@MemberGetter @Cast(value="const int64_t") public static long kDefaultHoleSizeLimit()
@MemberGetter @Cast(value="const int64_t") public static long kDefaultRangeSizeLimit()
@ByVal public Status Cache(@StdVector ReadRange ranges)
@ByVal public BufferResult Read(@ByVal ReadRange range)
Copyright © 2021. All rights reserved.