Interface AttributeChunkIterator


public interface AttributeChunkIterator
Zero-allocation chunk iterator for streaming attribute values directly into vector-aligned FFM off-heap memory segments.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if more attribute values remain to be streamed.
    int
    nextChunk(MemorySegment destination, int limit)
    Writes up to limit values into the provided off-heap MemorySegment.
  • Method Details

    • hasNext

      boolean hasNext()
      Returns true if more attribute values remain to be streamed.
    • nextChunk

      int nextChunk(MemorySegment destination, int limit)
      Writes up to limit values into the provided off-heap MemorySegment.
      Parameters:
      destination - vector-aligned off-heap memory segment
      limit - maximum number of values to write
      Returns:
      number of values actually populated