private static final class BlockTreeTermsWriter.PendingBlock extends BlockTreeTermsWriter.PendingEntry
Modifier and Type | Field and Description |
---|---|
int |
floorLeadByte |
long |
fp |
boolean |
hasTerms |
FST<BytesRef> |
index |
boolean |
isFloor |
BytesRef |
prefix |
java.util.List<FST<BytesRef>> |
subIndices |
isTerm
Constructor and Description |
---|
PendingBlock(BytesRef prefix,
long fp,
boolean hasTerms,
boolean isFloor,
int floorLeadByte,
java.util.List<FST<BytesRef>> subIndices) |
Modifier and Type | Method and Description |
---|---|
private void |
append(Builder<BytesRef> builder,
FST<BytesRef> subIndex,
IntsRefBuilder scratchIntsRef) |
void |
compileIndex(java.util.List<BlockTreeTermsWriter.PendingBlock> blocks,
RAMOutputStream scratchBytes,
IntsRefBuilder scratchIntsRef) |
java.lang.String |
toString() |
public final BytesRef prefix
public final long fp
public final boolean hasTerms
public final boolean isFloor
public final int floorLeadByte
public java.lang.String toString()
toString
in class java.lang.Object
public void compileIndex(java.util.List<BlockTreeTermsWriter.PendingBlock> blocks, RAMOutputStream scratchBytes, IntsRefBuilder scratchIntsRef) throws java.io.IOException
java.io.IOException
private void append(Builder<BytesRef> builder, FST<BytesRef> subIndex, IntsRefBuilder scratchIntsRef) throws java.io.IOException
java.io.IOException