|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.codecs.LiveDocsFormat
org.apache.lucene.codecs.simpletext.SimpleTextLiveDocsFormat
public class SimpleTextLiveDocsFormat
reads/writes plaintext live docs
FOR RECREATIONAL USE ONLY
Constructor Summary | |
---|---|
SimpleTextLiveDocsFormat()
|
Method Summary | |
---|---|
void |
files(SegmentInfoPerCommit info,
Collection<String> files)
Records all files in use by this SegmentInfoPerCommit into the files argument. |
MutableBits |
newLiveDocs(Bits existing)
Creates a new mutablebits of the same bits set and size of existing. |
MutableBits |
newLiveDocs(int size)
Creates a new MutableBits, with all bits set, for the specified size. |
Bits |
readLiveDocs(Directory dir,
SegmentInfoPerCommit info,
IOContext context)
Read live docs bits. |
void |
writeLiveDocs(MutableBits bits,
Directory dir,
SegmentInfoPerCommit 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 |
---|
public SimpleTextLiveDocsFormat()
Method Detail |
---|
public MutableBits newLiveDocs(int size) throws IOException
LiveDocsFormat
newLiveDocs
in class LiveDocsFormat
IOException
public MutableBits newLiveDocs(Bits existing) throws IOException
LiveDocsFormat
newLiveDocs
in class LiveDocsFormat
IOException
public Bits readLiveDocs(Directory dir, SegmentInfoPerCommit info, IOContext context) throws IOException
LiveDocsFormat
readLiveDocs
in class LiveDocsFormat
IOException
public void writeLiveDocs(MutableBits bits, Directory dir, SegmentInfoPerCommit info, int newDelCount, IOContext context) throws IOException
LiveDocsFormat
SegmentInfoPerCommit.getNextDelGen()
to determine the
generation of the deletes file you should write to.
writeLiveDocs
in class LiveDocsFormat
IOException
public void files(SegmentInfoPerCommit info, Collection<String> files) throws IOException
LiveDocsFormat
SegmentInfoPerCommit
into the files argument.
files
in class LiveDocsFormat
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |