Class Lucene90ScoreSkipReader
- java.lang.Object
-
- org.apache.lucene.codecs.MultiLevelSkipListReader
-
- org.apache.lucene.codecs.lucene90.Lucene90SkipReader
-
- org.apache.lucene.codecs.lucene90.Lucene90ScoreSkipReader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
final class Lucene90ScoreSkipReader extends Lucene90SkipReader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
Lucene90ScoreSkipReader.MutableImpactList
-
Field Summary
Fields Modifier and Type Field Description private ByteArrayDataInput
badi
private byte[][]
impactData
private int[]
impactDataLength
private Impacts
impacts
private int
numLevels
private Lucene90ScoreSkipReader.MutableImpactList[]
perLevelImpacts
-
Fields inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader
maxNumberOfSkipLevels, numberOfSkipLevels, skipDoc
-
-
Constructor Summary
Constructors Constructor Description Lucene90ScoreSkipReader(IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Impacts
getImpacts()
protected void
readImpacts(int level, IndexInput skipStream)
(package private) static Lucene90ScoreSkipReader.MutableImpactList
readImpacts(ByteArrayDataInput in, Lucene90ScoreSkipReader.MutableImpactList reuse)
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.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 Detail
-
impactData
private final byte[][] impactData
-
impactDataLength
private final int[] impactDataLength
-
badi
private final ByteArrayDataInput badi
-
impacts
private final Impacts impacts
-
numLevels
private int numLevels
-
perLevelImpacts
private final Lucene90ScoreSkipReader.MutableImpactList[] perLevelImpacts
-
-
Constructor Detail
-
Lucene90ScoreSkipReader
public Lucene90ScoreSkipReader(IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads)
-
-
Method Detail
-
skipTo
public int skipTo(int target) throws java.io.IOException
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:
java.io.IOException
-
getImpacts
Impacts getImpacts()
-
readImpacts
protected void readImpacts(int level, IndexInput skipStream) throws java.io.IOException
- Overrides:
readImpacts
in classLucene90SkipReader
- Throws:
java.io.IOException
-
readImpacts
static Lucene90ScoreSkipReader.MutableImpactList readImpacts(ByteArrayDataInput in, Lucene90ScoreSkipReader.MutableImpactList reuse)
-
-