Class Lucene84ScoreSkipReader
java.lang.Object
org.apache.lucene.codecs.MultiLevelSkipListReader
org.apache.lucene.backward_codecs.lucene84.Lucene84SkipReader
org.apache.lucene.backward_codecs.lucene84.Lucene84ScoreSkipReader
- 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 Lucene84ScoreSkipReader.MutableImpactList[]Fields inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader
maxNumberOfSkipLevels, numberOfSkipLevels, skipDoc -
Constructor Summary
ConstructorsConstructorDescriptionLucene84ScoreSkipReader(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 Lucene84ScoreSkipReader.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.backward_codecs.lucene84.Lucene84SkipReader
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
-
Lucene84ScoreSkipReader
public Lucene84ScoreSkipReader(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 classLucene84SkipReader- Throws:
IOException
-
readImpacts
static Lucene84ScoreSkipReader.MutableImpactList readImpacts(ByteArrayDataInput in, Lucene84ScoreSkipReader.MutableImpactList reuse)
-