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 class
Lucene84ScoreSkipReader.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 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) Impacts
getImpacts()
protected void
readImpacts(int level, IndexInput skipStream)
(package private) static Lucene84ScoreSkipReader.MutableImpactList
readImpacts(ByteArrayDataInput in, Lucene84ScoreSkipReader.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.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.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 classLucene84SkipReader
- Throws:
java.io.IOException
-
readImpacts
static Lucene84ScoreSkipReader.MutableImpactList readImpacts(ByteArrayDataInput in, Lucene84ScoreSkipReader.MutableImpactList reuse)
-
-