Class Lucene90ScoreSkipReader
java.lang.Object
org.apache.lucene.codecs.MultiLevelSkipListReader
org.apache.lucene.backward_codecs.lucene90.Lucene90SkipReader
org.apache.lucene.backward_codecs.lucene90.Lucene90ScoreSkipReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ByteArrayDataInput
private final byte[][]
private final int[]
private final Impacts
private int
private final Lucene90ScoreSkipReader.MutableImpactList[]
Fields inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader
maxNumberOfSkipLevels, numberOfSkipLevels, skipDoc
-
Constructor Summary
ConstructorsConstructorDescriptionLucene90ScoreSkipReader
(IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads) -
Method Summary
Modifier and TypeMethodDescription(package private) Impacts
protected void
readImpacts
(int level, IndexInput skipStream) (package private) static Lucene90ScoreSkipReader.MutableImpactList
int
skipTo
(int target) Skips entries to the first beyond the current whose document number is greater than or equal to target.Methods inherited from class org.apache.lucene.backward_codecs.lucene90.Lucene90SkipReader
getDocPointer, getNextSkipDoc, getPayloadByteUpto, getPayPointer, getPosBufferUpto, getPosPointer, init, readSkipData, seekChild, setLastSkipData, trim
Methods inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader
close, getDoc, init, readChildPointer, readLevelLength
-
Field Details
-
impactData
private final byte[][] impactData -
impactDataLength
private final int[] impactDataLength -
badi
-
impacts
-
numLevels
private int numLevels -
perLevelImpacts
-
-
Constructor Details
-
Lucene90ScoreSkipReader
public Lucene90ScoreSkipReader(IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads)
-
-
Method Details
-
skipTo
Description copied from class:MultiLevelSkipListReader
Skips entries to the first beyond the current whose document number is greater than or equal to target. Returns the current doc count.- Overrides:
skipTo
in classMultiLevelSkipListReader
- Throws:
IOException
-
getImpacts
Impacts getImpacts() -
readImpacts
- Overrides:
readImpacts
in classLucene90SkipReader
- Throws:
IOException
-
readImpacts
static Lucene90ScoreSkipReader.MutableImpactList readImpacts(ByteArrayDataInput in, Lucene90ScoreSkipReader.MutableImpactList reuse)
-