Module org.apache.lucene.sandbox
Class VersionBlockTreeTermsWriter.PendingBlock
java.lang.Object
org.apache.lucene.sandbox.codecs.idversion.VersionBlockTreeTermsWriter.PendingEntry
org.apache.lucene.sandbox.codecs.idversion.VersionBlockTreeTermsWriter.PendingBlock
- Enclosing class:
- VersionBlockTreeTermsWriter
private static final class VersionBlockTreeTermsWriter.PendingBlock
extends VersionBlockTreeTermsWriter.PendingEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
final long
final boolean
final boolean
private final long
Max version for all terms in this block.final BytesRef
Fields inherited from class org.apache.lucene.sandbox.codecs.idversion.VersionBlockTreeTermsWriter.PendingEntry
isTerm
-
Constructor Summary
ConstructorsConstructorDescriptionPendingBlock
(BytesRef prefix, long maxVersion, long fp, boolean hasTerms, boolean isFloor, int floorLeadByte, List<FST<PairOutputs.Pair<BytesRef, Long>>> subIndices) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
append
(FSTCompiler<PairOutputs.Pair<BytesRef, Long>> fstCompiler, FST<PairOutputs.Pair<BytesRef, Long>> subIndex, IntsRefBuilder scratchIntsRef) void
compileIndex
(List<VersionBlockTreeTermsWriter.PendingBlock> blocks, ByteBuffersDataOutput scratchBytes, IntsRefBuilder scratchIntsRef) toString()
-
Field Details
-
prefix
-
fp
public final long fp -
index
-
subIndices
-
hasTerms
public final boolean hasTerms -
isFloor
public final boolean isFloor -
floorLeadByte
public final int floorLeadByte -
maxVersion
private final long maxVersionMax version for all terms in this block.
-
-
Constructor Details
-
PendingBlock
-
-
Method Details
-
toString
-
compileIndex
public void compileIndex(List<VersionBlockTreeTermsWriter.PendingBlock> blocks, ByteBuffersDataOutput scratchBytes, IntsRefBuilder scratchIntsRef) throws IOException - Throws:
IOException
-
append
private void append(FSTCompiler<PairOutputs.Pair<BytesRef, Long>> fstCompiler, FST<PairOutputs.Pair<BytesRef, throws IOExceptionLong>> subIndex, IntsRefBuilder scratchIntsRef) - Throws:
IOException
-