Class SegmentTrieBuffer

java.lang.Object
org.apache.cassandra.index.sai.disk.v1.segment.SegmentTrieBuffer

@NotThreadSafe public class SegmentTrieBuffer extends Object
On-heap buffer for values that provides a sorted view of itself as an Iterator.
  • Constructor Details

    • SegmentTrieBuffer

      public SegmentTrieBuffer()
  • Method Details

    • numRows

      public int numRows()
    • memoryUsed

      public long memoryUsed()
    • add

      public long add(ByteComparable term, int termLength, int segmentRowId)
    • iterator

      public Iterator<IndexEntry> iterator()