Class PostingsReader

java.lang.Object
org.apache.cassandra.index.sai.disk.v1.postings.PostingsReader
All Implemented Interfaces:
Closeable, AutoCloseable, OrdinalPostingList, PostingList

@NotThreadSafe public class PostingsReader extends Object implements OrdinalPostingList
Reads, decompresses and decodes postings lists written by PostingsWriter.

Holds exactly one posting block in memory at a time. Does binary search over skip table to find a postings block to load.