public final class Lucene84PostingsReader extends PostingsReaderBase
NULL_ACCOUNTABLE| Constructor and Description | 
|---|
Lucene84PostingsReader(SegmentReadState state)
Sole constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
checkIntegrity()
Checks consistency of this reader. 
 | 
void | 
close()  | 
void | 
decodeTerm(DataInput in,
          FieldInfo fieldInfo,
          BlockTermState _termState,
          boolean absolute)
Actually decode metadata for next term 
 | 
ImpactsEnum | 
impacts(FieldInfo fieldInfo,
       BlockTermState state,
       int flags)
Return a  
ImpactsEnum that computes impacts with scorer. | 
void | 
init(IndexInput termsIn,
    SegmentReadState state)
Performs any initialization, such as reading and
  verifying the header from the provided terms
  dictionary  
IndexInput. | 
BlockTermState | 
newTermState()
Return a newly created empty TermState 
 | 
PostingsEnum | 
postings(FieldInfo fieldInfo,
        BlockTermState termState,
        PostingsEnum reuse,
        int flags)
Must fully consume state, since after this call that
  TermState may be reused. 
 | 
long | 
ramBytesUsed()
Return the memory usage of this object in bytes. 
 | 
String | 
toString()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildResourcespublic Lucene84PostingsReader(SegmentReadState state) throws IOException
IOExceptionpublic void init(IndexInput termsIn, SegmentReadState state) throws IOException
PostingsReaderBaseIndexInput.init in class PostingsReaderBaseIOExceptionpublic BlockTermState newTermState()
PostingsReaderBasenewTermState in class PostingsReaderBasepublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class PostingsReaderBaseIOExceptionpublic void decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) throws IOException
PostingsReaderBasepublic PostingsEnum postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) throws IOException
PostingsReaderBasepostings in class PostingsReaderBaseIOExceptionpublic ImpactsEnum impacts(FieldInfo fieldInfo, BlockTermState state, int flags) throws IOException
PostingsReaderBaseImpactsEnum that computes impacts with scorer.impacts in class PostingsReaderBaseIOExceptionPostingsReaderBase.postings(FieldInfo, BlockTermState, PostingsEnum, int)public long ramBytesUsed()
Accountablepublic void checkIntegrity()
                    throws IOException
PostingsReaderBaseNote that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
checkIntegrity in class PostingsReaderBaseIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.