|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.codecs.PostingsFormat
public abstract class PostingsFormat
Encodes/decodes terms, postings, and proximity data.
Field Summary | |
---|---|
static PostingsFormat[] |
EMPTY
|
Constructor Summary | |
---|---|
protected |
PostingsFormat(String name)
|
Method Summary | |
---|---|
static Set<String> |
availablePostingsFormats()
returns a list of all available format names |
abstract FieldsConsumer |
fieldsConsumer(SegmentWriteState state)
Writes a new segment |
abstract FieldsProducer |
fieldsProducer(SegmentReadState state)
Reads a segment. |
static PostingsFormat |
forName(String name)
looks up a format by name |
String |
getName()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PostingsFormat[] EMPTY
Constructor Detail |
---|
protected PostingsFormat(String name)
Method Detail |
---|
public final String getName()
getName
in interface NamedSPILoader.NamedSPI
public abstract FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException
IOException
public abstract FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
IOException
public String toString()
toString
in class Object
public static PostingsFormat forName(String name)
public static Set<String> availablePostingsFormats()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |