|
||||||||||
| 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(File deltaFile,
String fileID,
int documentCount)
Merges a delta file addition with an index |
void |
mergeDeletion(File deltaFile,
String fileID,
int documentCount)
Merges a delta file deletion with an index |
| Method Detail |
|---|
void mergeAddition(File deltaFile,
String fileID,
int documentCount)
throws org.gcube.indexmanagement.common.IndexException
deltaFile - the delta file to mergefileID - the ID of the delta filedocumentCount - the number of documents in the delta file
org.gcube.indexmanagement.common.IndexException
void mergeDeletion(File deltaFile,
String fileID,
int documentCount)
throws org.gcube.indexmanagement.common.IndexException
deltaFile - the delta file to deletefileID - the ID of the delta filedocumentCount - the number of documents in the delta file
org.gcube.indexmanagement.common.IndexException
void clearIndex()
throws org.gcube.indexmanagement.common.IndexException
org.gcube.indexmanagement.common.IndexException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||