Class Lucene90PostingsFormat.IntBlockTermState
- java.lang.Object
-
- org.apache.lucene.index.TermState
-
- org.apache.lucene.index.OrdTermState
-
- org.apache.lucene.codecs.BlockTermState
-
- org.apache.lucene.codecs.lucene90.Lucene90PostingsFormat.IntBlockTermState
-
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Lucene90PostingsFormat
public static final class Lucene90PostingsFormat.IntBlockTermState extends BlockTermState
Holds all state required forLucene90PostingsReaderto produce aPostingsEnumwithout re-seeking the terms dict.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Field Summary
Fields Modifier and Type Field Description longdocStartFPfile pointer to the start of the doc ids enumeration, inLucene90PostingsFormat.DOC_EXTENSIONfilelonglastPosBlockOffsetfile offset for the last position in the last block, if there are more thanForUtil.BLOCK_SIZEpositions; otherwise -1longpayStartFPfile pointer to the start of the payloads enumeration, inLucene90PostingsFormat.PAY_EXTENSIONfilelongposStartFPfile pointer to the start of the positions enumeration, inLucene90PostingsFormat.POS_EXTENSIONfileintsingletonDocIDdocid when there is a single pulsed posting, otherwise -1.longskipOffsetfile offset for the start of the skip list, relative to docStartFP, if there are more thanForUtil.BLOCK_SIZEdocs; otherwise -1-
Fields inherited from class org.apache.lucene.codecs.BlockTermState
blockFilePointer, docFreq, termBlockOrd, totalTermFreq
-
Fields inherited from class org.apache.lucene.index.OrdTermState
ord
-
-
Constructor Summary
Constructors Constructor Description IntBlockTermState()Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Lucene90PostingsFormat.IntBlockTermStateclone()voidcopyFrom(TermState _other)Copies the content of the givenTermStateto this instanceStringtoString()
-
-
-
Field Detail
-
docStartFP
public long docStartFP
file pointer to the start of the doc ids enumeration, inLucene90PostingsFormat.DOC_EXTENSIONfile
-
posStartFP
public long posStartFP
file pointer to the start of the positions enumeration, inLucene90PostingsFormat.POS_EXTENSIONfile
-
payStartFP
public long payStartFP
file pointer to the start of the payloads enumeration, inLucene90PostingsFormat.PAY_EXTENSIONfile
-
skipOffset
public long skipOffset
file offset for the start of the skip list, relative to docStartFP, if there are more thanForUtil.BLOCK_SIZEdocs; otherwise -1
-
lastPosBlockOffset
public long lastPosBlockOffset
file offset for the last position in the last block, if there are more thanForUtil.BLOCK_SIZEpositions; otherwise -1
-
singletonDocID
public int singletonDocID
docid when there is a single pulsed posting, otherwise -1. freq is always implicitly totalTermFreq in this case.
-
-
Method Detail
-
clone
public Lucene90PostingsFormat.IntBlockTermState clone()
-
copyFrom
public void copyFrom(TermState _other)
Description copied from class:TermStateCopies the content of the givenTermStateto this instance- Overrides:
copyFromin classBlockTermState- Parameters:
_other- the TermState to copy
-
toString
public String toString()
- Overrides:
toStringin classBlockTermState
-
-