|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.codecs.PostingsBaseFormat
public abstract class PostingsBaseFormat
Provides a PostingsReaderBase and PostingsWriterBase.
| Field Summary | |
|---|---|
String |
name
Unique name that's used to retrieve this codec when reading the index |
| Constructor Summary | |
|---|---|
protected |
PostingsBaseFormat(String name)
Sole constructor. |
| Method Summary | |
|---|---|
abstract PostingsReaderBase |
postingsReaderBase(SegmentReadState state)
Creates the PostingsReaderBase for this
format. |
abstract PostingsWriterBase |
postingsWriterBase(SegmentWriteState state)
Creates the PostingsWriterBase for this
format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final String name
| Constructor Detail |
|---|
protected PostingsBaseFormat(String name)
| Method Detail |
|---|
public abstract PostingsReaderBase postingsReaderBase(SegmentReadState state)
throws IOException
PostingsReaderBase for this
format.
IOException
public abstract PostingsWriterBase postingsWriterBase(SegmentWriteState state)
throws IOException
PostingsWriterBase for this
format.
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||