org.apache.lucene.codecs
Class PostingsBaseFormat
java.lang.Object
org.apache.lucene.codecs.PostingsBaseFormat
- Direct Known Subclasses:
- Lucene40PostingsBaseFormat
public abstract class PostingsBaseFormat
- extends Object
Provides a PostingsReaderBase
and PostingsWriterBase
.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Field Summary |
String |
name
Unique name that's used to retrieve this codec when
reading the index |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public final String name
- Unique name that's used to retrieve this codec when
reading the index
PostingsBaseFormat
protected PostingsBaseFormat(String name)
postingsReaderBase
public abstract PostingsReaderBase postingsReaderBase(SegmentReadState state)
throws IOException
- Throws:
IOException
postingsWriterBase
public abstract PostingsWriterBase postingsWriterBase(SegmentWriteState state)
throws IOException
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.