|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexReplicator
Defines a set of operations that can be used to merge additions or deletions of delta files with an index.
Method Summary | |
---|---|
void |
clearIndex()
Erases all the contents of the index |
void |
mergeAddition(java.io.File deltaFile,
java.lang.String fileID,
int documentCount)
Merges a delta file addition with an index |
void |
mergeDeletion(java.io.File deltaFile,
java.lang.String fileID,
int documentCount)
Merges a delta file deletion with an index |
Method Detail |
---|
void mergeAddition(java.io.File deltaFile, java.lang.String fileID, int documentCount) throws IndexException
deltaFile
- the delta file to mergefileID
- the ID of the delta filedocumentCount
- the number of documents in the delta file
IndexException
void mergeDeletion(java.io.File deltaFile, java.lang.String fileID, int documentCount) throws IndexException
deltaFile
- the delta file to deletefileID
- the ID of the delta filedocumentCount
- the number of documents in the delta file
IndexException
void clearIndex() throws IndexException
IndexException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |