Class Lucene50ScoreSkipReader
- java.lang.Object
-
- org.apache.lucene.codecs.MultiLevelSkipListReader
-
- org.apache.lucene.codecs.lucene50.Lucene50SkipReader
-
- org.apache.lucene.codecs.lucene50.Lucene50ScoreSkipReader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
final class Lucene50ScoreSkipReader extends Lucene50SkipReader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
Lucene50ScoreSkipReader.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 Lucene50ScoreSkipReader.MutableImpactList[]
perLevelImpacts
-
Fields inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader
maxNumberOfSkipLevels, numberOfSkipLevels, skipDoc
-
-
Constructor Summary
Constructors Constructor Description Lucene50ScoreSkipReader(int version, 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 Lucene50ScoreSkipReader.MutableImpactList
readImpacts(ByteArrayDataInput in, Lucene50ScoreSkipReader.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.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
-
-
-
-
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 Lucene50ScoreSkipReader.MutableImpactList[] perLevelImpacts
-
-
Constructor Detail
-
Lucene50ScoreSkipReader
public Lucene50ScoreSkipReader(int version, 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 classLucene50SkipReader
- Throws:
java.io.IOException
-
readImpacts
static Lucene50ScoreSkipReader.MutableImpactList readImpacts(ByteArrayDataInput in, Lucene50ScoreSkipReader.MutableImpactList reuse)
-
-