Interface AppendOnlyRegionAccessor<ATTR extends Any>

All Superinterfaces:
LongSizedDataStructure

public interface AppendOnlyRegionAccessor<ATTR extends Any> extends LongSizedDataStructure
Minimal interface for an append-only flat data source, with contiguous rows from 0, inclusive, to size, exclusive.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    readChunkPage(long firstRowPosition, int minimumSize, @NotNull WritableChunk<ATTR> destination)
    Read a suffix of a page from this region into destination, 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 into destination, beginning at chunk position 0. Should read between minimumSize and destination.capacity() rows, and report the resulting size via setSize.
      Parameters:
      firstRowPosition - The first row position to read
      minimumSize - The minimum number of rows to read that will satisfy this request
      destination - The destination chunk to fill