SegmentWriteState

constructor(infoStream: InfoStream?, directory: Directory, segmentInfo: SegmentInfo, fieldInfos: FieldInfos?, segUpdates: BufferedUpdates?, context: IOContext)

Sole constructor.


constructor(infoStream: InfoStream?, directory: Directory, segmentInfo: SegmentInfo, fieldInfos: FieldInfos?, segUpdates: BufferedUpdates?, context: IOContext, segmentSuffix: String)

Constructor which takes segment suffix.

See also

.SegmentWriteState


constructor(state: SegmentWriteState, segmentSuffix: String)

Create a shallow copy of SegmentWriteState with a new segment suffix.