public abstract class PostingsBaseFormat extends Object
PostingsReaderBase and PostingsWriterBase.| Modifier and Type | Field and Description |
|---|---|
String |
name
Unique name that's used to retrieve this codec when
reading the index
|
| Modifier | Constructor and Description |
|---|---|
protected |
PostingsBaseFormat(String name)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract PostingsReaderBase |
postingsReaderBase(SegmentReadState state)
Creates the
PostingsReaderBase for this
format. |
abstract PostingsWriterBase |
postingsWriterBase(SegmentWriteState state)
Creates the
PostingsWriterBase for this
format. |
public final String name
protected PostingsBaseFormat(String name)
public abstract PostingsReaderBase postingsReaderBase(SegmentReadState state) throws IOException
PostingsReaderBase for this
format.IOExceptionpublic abstract PostingsWriterBase postingsWriterBase(SegmentWriteState state) throws IOException
PostingsWriterBase for this
format.IOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.