public abstract class FieldInfosFormat
extends
FieldInfos
Modifier | Constructor and Description |
---|---|
protected |
FieldInfosFormat()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract FieldInfos |
read(Directory directory,
SegmentInfo segmentInfo,
segmentSuffix,
IOContext iocontext)
|
abstract void |
write(Directory directory,
SegmentInfo segmentInfo,
segmentSuffix,
FieldInfos infos,
IOContext context)
Writes the provided
FieldInfos to the
directory. |
protected FieldInfosFormat()
public abstract FieldInfos read(Directory directory, SegmentInfo segmentInfo, segmentSuffix, IOContext iocontext) throws
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)
.
public abstract void write(Directory directory, SegmentInfo segmentInfo, segmentSuffix, FieldInfos infos, IOContext context) throws
FieldInfos
to the
directory.
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.