Module org.apache.lucene.codecs
Class OrdsBlockTreeTermsWriter.PendingBlock
java.lang.Object
org.apache.lucene.codecs.blocktreeords.OrdsBlockTreeTermsWriter.PendingEntry
org.apache.lucene.codecs.blocktreeords.OrdsBlockTreeTermsWriter.PendingBlock
- Enclosing class:
OrdsBlockTreeTermsWriter
private static final class OrdsBlockTreeTermsWriter.PendingBlock
extends OrdsBlockTreeTermsWriter.PendingEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
final long
final boolean
final boolean
final BytesRef
private final long
long
Fields inherited from class org.apache.lucene.codecs.blocktreeords.OrdsBlockTreeTermsWriter.PendingEntry
isTerm
-
Constructor Summary
ConstructorsConstructorDescriptionPendingBlock
(BytesRef prefix, long fp, boolean hasTerms, long totalTermCount, boolean isFloor, int floorLeadByte, List<OrdsBlockTreeTermsWriter.SubIndex> subIndices) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
append
(FSTCompiler<FSTOrdsOutputs.Output> fstCompiler, FST<FSTOrdsOutputs.Output> subIndex, long termOrdOffset, IntsRefBuilder scratchIntsRef) void
compileIndex
(List<OrdsBlockTreeTermsWriter.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 -
totFloorTermCount
public long totFloorTermCount -
totalTermCount
private final long totalTermCount
-
-
Constructor Details
-
PendingBlock
public PendingBlock(BytesRef prefix, long fp, boolean hasTerms, long totalTermCount, boolean isFloor, int floorLeadByte, List<OrdsBlockTreeTermsWriter.SubIndex> subIndices)
-
-
Method Details
-
toString
-
compileIndex
public void compileIndex(List<OrdsBlockTreeTermsWriter.PendingBlock> blocks, ByteBuffersDataOutput scratchBytes, IntsRefBuilder scratchIntsRef) throws IOException - Throws:
IOException
-
append
private void append(FSTCompiler<FSTOrdsOutputs.Output> fstCompiler, FST<FSTOrdsOutputs.Output> subIndex, long termOrdOffset, IntsRefBuilder scratchIntsRef) throws IOException - Throws:
IOException
-