Class Lucene84PostingsReader
- java.lang.Object
-
- org.apache.lucene.codecs.PostingsReaderBase
-
- org.apache.lucene.backward_codecs.lucene84.Lucene84PostingsReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public final class Lucene84PostingsReader extends PostingsReaderBase
Concrete class that reads docId(maybe frq,pos,offset,payloads) list with postings format.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description Lucene84PostingsReader(SegmentReadState state)Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckIntegrity()voidclose()voiddecodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)ImpactsEnumimpacts(FieldInfo fieldInfo, BlockTermState state, int flags)voidinit(IndexInput termsIn, SegmentReadState state)BlockTermStatenewTermState()PostingsEnumpostings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags)StringtoString()
-
-
-
Constructor Detail
-
Lucene84PostingsReader
public Lucene84PostingsReader(SegmentReadState state) throws IOException
Sole constructor.- Throws:
IOException
-
-
Method Detail
-
init
public void init(IndexInput termsIn, SegmentReadState state) throws IOException
- Specified by:
initin classPostingsReaderBase- Throws:
IOException
-
newTermState
public BlockTermState newTermState()
- Specified by:
newTermStatein classPostingsReaderBase
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classPostingsReaderBase- Throws:
IOException
-
decodeTerm
public void decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) throws IOException
- Specified by:
decodeTermin classPostingsReaderBase- Throws:
IOException
-
postings
public PostingsEnum postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) throws IOException
- Specified by:
postingsin classPostingsReaderBase- Throws:
IOException
-
impacts
public ImpactsEnum impacts(FieldInfo fieldInfo, BlockTermState state, int flags) throws IOException
- Specified by:
impactsin classPostingsReaderBase- Throws:
IOException
-
checkIntegrity
public void checkIntegrity() throws IOException- Specified by:
checkIntegrityin classPostingsReaderBase- Throws:
IOException
-
-