Package org.apache.lucene.codecs
Class PostingsBaseFormat
- java.lang.Object
 - 
- org.apache.lucene.codecs.PostingsBaseFormat
 
 
- 
- Direct Known Subclasses:
 Lucene40PostingsBaseFormat,Lucene41PostingsBaseFormat
public abstract class PostingsBaseFormat extends java.lang.ObjectProvides aPostingsReaderBaseandPostingsWriterBase. 
- 
- 
Field Summary
Fields Modifier and Type Field Description java.lang.StringnameUnique name that's used to retrieve this codec when reading the index 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract PostingsReaderBasepostingsReaderBase(SegmentReadState state)Creates thePostingsReaderBasefor this format.abstract PostingsWriterBasepostingsWriterBase(SegmentWriteState state)Creates thePostingsWriterBasefor this format. 
 - 
 
- 
- 
Method Detail
- 
postingsReaderBase
public abstract PostingsReaderBase postingsReaderBase(SegmentReadState state) throws java.io.IOException
Creates thePostingsReaderBasefor this format.- Throws:
 java.io.IOException
 
- 
postingsWriterBase
public abstract PostingsWriterBase postingsWriterBase(SegmentWriteState state) throws java.io.IOException
Creates thePostingsWriterBasefor this format.- Throws:
 java.io.IOException
 
 - 
 
 -