Class Lucene84ScoreSkipReader
- java.lang.Object
-
- org.apache.lucene.codecs.MultiLevelSkipListReader
-
- org.apache.lucene.codecs.lucene84.Lucene84SkipReader
-
- org.apache.lucene.codecs.lucene84.Lucene84ScoreSkipReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
final class Lucene84ScoreSkipReader extends Lucene84SkipReader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classLucene84ScoreSkipReader.MutableImpactList
-
Field Summary
Fields Modifier and Type Field Description private ByteArrayDataInputbadiprivate byte[][]impactDataprivate int[]impactDataLengthprivate Impactsimpactsprivate intnumLevelsprivate Lucene84ScoreSkipReader.MutableImpactList[]perLevelImpacts-
Fields inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader
maxNumberOfSkipLevels, numberOfSkipLevels, skipDoc
-
-
Constructor Summary
Constructors Constructor Description Lucene84ScoreSkipReader(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) ImpactsgetImpacts()protected voidreadImpacts(int level, IndexInput skipStream)(package private) static Lucene84ScoreSkipReader.MutableImpactListreadImpacts(ByteArrayDataInput in, Lucene84ScoreSkipReader.MutableImpactList reuse)intskipTo(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.lucene84.Lucene84SkipReader
getDocPointer, getNextSkipDoc, getPayloadByteUpto, getPayPointer, getPosBufferUpto, getPosPointer, init, readSkipData, seekChild, setLastSkipData, trim
-
Methods inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader
close, getDoc, init
-
-
-
-
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 Lucene84ScoreSkipReader.MutableImpactList[] perLevelImpacts
-
-
Constructor Detail
-
Lucene84ScoreSkipReader
public Lucene84ScoreSkipReader(IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads)
-
-
Method Detail
-
skipTo
public int skipTo(int target) throws java.io.IOExceptionDescription 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:
java.io.IOException
-
getImpacts
Impacts getImpacts()
-
readImpacts
protected void readImpacts(int level, IndexInput skipStream) throws java.io.IOException- Overrides:
readImpactsin classLucene84SkipReader- Throws:
java.io.IOException
-
readImpacts
static Lucene84ScoreSkipReader.MutableImpactList readImpacts(ByteArrayDataInput in, Lucene84ScoreSkipReader.MutableImpactList reuse)
-
-