Class Lucene50ScoreSkipReader
java.lang.Object
org.apache.lucene.codecs.MultiLevelSkipListReader
org.apache.lucene.backward_codecs.lucene50.Lucene50SkipReader
org.apache.lucene.backward_codecs.lucene50.Lucene50ScoreSkipReader
- 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 Lucene50ScoreSkipReader.MutableImpactList[]
Fields inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader
maxNumberOfSkipLevels, numberOfSkipLevels, skipDoc
-
Constructor Summary
ConstructorsConstructorDescriptionLucene50ScoreSkipReader
(int version, 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 Lucene50ScoreSkipReader.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.lucene50.Lucene50SkipReader
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
-
Lucene50ScoreSkipReader
public Lucene50ScoreSkipReader(int version, 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 classLucene50SkipReader
- Throws:
IOException
-
readImpacts
static Lucene50ScoreSkipReader.MutableImpactList readImpacts(ByteArrayDataInput in, Lucene50ScoreSkipReader.MutableImpactList reuse)
-