Module org.apache.lucene.core
Class Lucene99ScoreSkipReader
java.lang.Object
org.apache.lucene.codecs.MultiLevelSkipListReader
org.apache.lucene.codecs.lucene99.Lucene99SkipReader
org.apache.lucene.codecs.lucene99.Lucene99ScoreSkipReader
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ByteArrayDataInputprivate final byte[][]private final int[]private final Impactsprivate intprivate final Lucene99ScoreSkipReader.MutableImpactList[]Fields inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader
maxNumberOfSkipLevels, numberOfSkipLevels, skipDoc -
Constructor Summary
ConstructorsConstructorDescriptionLucene99ScoreSkipReader(IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads) -
Method Summary
Modifier and TypeMethodDescription(package private) Impactsprotected voidreadImpacts(int level, IndexInput skipStream) (package private) static Lucene99ScoreSkipReader.MutableImpactListintskipTo(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.codecs.lucene99.Lucene99SkipReader
getDocPointer, getNextSkipDoc, getPayloadByteUpto, getPayPointer, getPosBufferUpto, getPosPointer, init, readSkipData, seekChild, setLastSkipData, trimMethods 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
-
Lucene99ScoreSkipReader
public Lucene99ScoreSkipReader(IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads)
-
-
Method Details
-
skipTo
Description copied from class:MultiLevelSkipListReaderSkips entries to the first beyond the current whose document number is greater than or equal to target. Returns the current doc count.- Overrides:
skipToin classMultiLevelSkipListReader- Throws:
IOException
-
getImpacts
Impacts getImpacts() -
readImpacts
- Overrides:
readImpactsin classLucene99SkipReader- Throws:
IOException
-
readImpacts
static Lucene99ScoreSkipReader.MutableImpactList readImpacts(ByteArrayDataInput in, Lucene99ScoreSkipReader.MutableImpactList reuse)
-