public abstract class LiveDocsFormat
extends
Modifier | Constructor and Description |
---|---|
protected |
LiveDocsFormat()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
files(SegmentCommitInfo info,
<> files)
Records all files in use by this
SegmentCommitInfo into the files argument. |
abstract Bits |
readLiveDocs(Directory dir,
SegmentCommitInfo info,
IOContext context)
Read live docs bits.
|
abstract void |
writeLiveDocs(Bits bits,
Directory dir,
SegmentCommitInfo info,
int newDelCount,
IOContext context)
Persist live docs bits.
|
protected LiveDocsFormat()
public abstract Bits readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context) throws
public abstract void writeLiveDocs(Bits bits, Directory dir, SegmentCommitInfo info, int newDelCount, IOContext context) throws
SegmentCommitInfo.getNextDelGen()
to determine the
generation of the deletes file you should write to.
public abstract void files(SegmentCommitInfo info, <> files) throws
SegmentCommitInfo
into the files argument.
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.