Class BlockPackedWriter
java.lang.Object
org.apache.cassandra.index.sai.disk.v1.bitpack.AbstractBlockPackedWriter
org.apache.cassandra.index.sai.disk.v1.bitpack.BlockPackedWriter
A writer for large sequences of longs.
Modified copy of
BlockPackedWriter to use DirectWriter
for optimised reads that doesn't require seeking through the whole file to open a thread-exclusive reader.-
Field Summary
Fields inherited from class org.apache.cassandra.index.sai.disk.v1.bitpack.AbstractBlockPackedWriter
blockIndex, blockMetaWriter, blockValues, finished, indexOutput -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.cassandra.index.sai.disk.v1.bitpack.AbstractBlockPackedWriter
add, finish
-
Constructor Details
-
BlockPackedWriter
public BlockPackedWriter(org.apache.lucene.store.IndexOutput out, int blockSize)
-
-
Method Details
-
flushBlock
- Specified by:
flushBlockin classAbstractBlockPackedWriter- Throws:
IOException
-