|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.codecs.LiveDocsFormat
public abstract class LiveDocsFormat
Format for live/deleted documents
Constructor Summary | |
---|---|
protected |
LiveDocsFormat()
Sole constructor. |
Method Summary | |
---|---|
abstract void |
files(SegmentCommitInfo info,
Collection<String> files)
Records all files in use by this SegmentCommitInfo into the files argument. |
abstract MutableBits |
newLiveDocs(Bits existing)
Creates a new mutablebits of the same bits set and size of existing. |
abstract MutableBits |
newLiveDocs(int size)
Creates a new MutableBits, with all bits set, for the specified size. |
abstract Bits |
readLiveDocs(Directory dir,
SegmentCommitInfo info,
IOContext context)
Read live docs bits. |
abstract void |
writeLiveDocs(MutableBits bits,
Directory dir,
SegmentCommitInfo info,
int newDelCount,
IOContext context)
Persist live docs bits. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LiveDocsFormat()
Method Detail |
---|
public abstract MutableBits newLiveDocs(int size) throws IOException
IOException
public abstract MutableBits newLiveDocs(Bits existing) throws IOException
IOException
public abstract Bits readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context) throws IOException
IOException
public abstract void writeLiveDocs(MutableBits bits, Directory dir, SegmentCommitInfo info, int newDelCount, IOContext context) throws IOException
SegmentCommitInfo.getNextDelGen()
to determine the
generation of the deletes file you should write to.
IOException
public abstract void files(SegmentCommitInfo info, Collection<String> files) throws IOException
SegmentCommitInfo
into the files argument.
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |