Class RspRangeBatchIterator

java.lang.Object
io.deephaven.engine.rowset.impl.rsp.RspRangeBatchIterator
All Implemented Interfaces:
SafeCloseable, AutoCloseable

public class RspRangeBatchIterator extends Object implements SafeCloseable
  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface SafeCloseable
    • hasNext

      public boolean hasNext()
    • fillRangeChunk

      public int fillRangeChunk(WritableLongChunk<OrderedRowKeyRanges> chunk, int chunkOffset)
      Fill a writable long chunk with pairs of range boundaries (start, endInclusive) starting from the next iterator position forward.
      Parameters:
      chunk - A writable chunk to fill
      chunkOffset - An offset inside the chunk to the position to start writing
      Returns:
      The count of ranges written (which matches 2 times the number of elements written).
    • release

      public void release()