Class BlockPackedWriter
- java.lang.Object
-
- org.apache.cassandra.index.sai.disk.v1.bitpack.AbstractBlockPackedWriter
-
- org.apache.cassandra.index.sai.disk.v1.bitpack.BlockPackedWriter
-
public class BlockPackedWriter extends AbstractBlockPackedWriter
A writer for large sequences of longs. Modified copy ofBlockPackedWriter
to useDirectWriter
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 Constructor Description BlockPackedWriter(org.apache.lucene.store.IndexOutput out, int blockSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
flushBlock()
-
Methods inherited from class org.apache.cassandra.index.sai.disk.v1.bitpack.AbstractBlockPackedWriter
add, finish
-
-
-
-
Method Detail
-
flushBlock
protected void flushBlock() throws java.io.IOException
- Specified by:
flushBlock
in classAbstractBlockPackedWriter
- Throws:
java.io.IOException
-
-