public abstract class FieldInfosFormat extends Object
FieldInfos| Modifier | Constructor and Description |
|---|---|
protected |
FieldInfosFormat()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract FieldInfos |
read(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
IOContext iocontext)
|
abstract void |
write(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
FieldInfos infos,
IOContext context)
Writes the provided
FieldInfos to the
directory. |
protected FieldInfosFormat()
public abstract FieldInfos read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) throws IOException
FieldInfos previously written with write(org.apache.lucene.store.Directory, org.apache.lucene.index.SegmentInfo, java.lang.String, org.apache.lucene.index.FieldInfos, org.apache.lucene.store.IOContext).IOExceptionpublic abstract void write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) throws IOException
FieldInfos to the
directory.IOExceptionCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.