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 TypeMethodDescriptionbooleanhasNext()Returns true if more attribute values remain to be streamed.intnextChunk(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
Writes up to limit values into the provided off-heap MemorySegment.- Parameters:
destination- vector-aligned off-heap memory segmentlimit- maximum number of values to write- Returns:
- number of values actually populated
-