Package io.deephaven.generic.region
Interface AppendOnlyRegionAccessor<ATTR extends Any>
- All Superinterfaces:
LongSizedDataStructure
Minimal interface for an append-only flat data source, with contiguous rows from 0, inclusive, to
size, exclusive.-
Method Summary
Modifier and TypeMethodDescriptionvoidreadChunkPage(long firstRowPosition, int minimumSize, @NotNull WritableChunk<ATTR> destination) Read a suffix of a page from this region intodestination, beginning at chunk position 0.Methods inherited from interface io.deephaven.util.datastructures.LongSizedDataStructure
intSize, intSize, size
-
Method Details
-
readChunkPage
void readChunkPage(long firstRowPosition, int minimumSize, @NotNull @NotNull WritableChunk<ATTR> destination) Read a suffix of a page from this region intodestination, beginning at chunk position 0. Should read betweenminimumSizeanddestination.capacity()rows, and report the resulting size viasetSize.- Parameters:
firstRowPosition- The first row position to readminimumSize- The minimum number of rows to read that will satisfy this requestdestination- The destination chunk to fill
-