public class IndexFeedActorImpl extends Object implements IndexFeedActor
| Constructor and Description |
|---|
IndexFeedActorImpl(IndexServerDAOMap indexServerDAOMap,
eu.dnetlib.functionality.index.utils.ServiceTools serviceTools,
eu.dnetlib.functionality.cql.CqlTranslator translator)
Instantiates a new index feed actor impl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanMarkedDocuments(IndexCollection indexCollection,
String dsId)
method delete documents where IndexMap.DELETE_DOCUMENT field is true
|
void |
feedIndex(String dsId,
FeedMode feedMode,
Iterable<String> docIterator,
ResultsetKeepAliveCallback startCallback,
BlackboardActorCallback endCallback,
String backendId,
boolean emptyResult)
Feed index.
|
public IndexFeedActorImpl(IndexServerDAOMap indexServerDAOMap, eu.dnetlib.functionality.index.utils.ServiceTools serviceTools, eu.dnetlib.functionality.cql.CqlTranslator translator)
indexServerDAOMap - the index server dao mapserviceTools - the service toolspublic void feedIndex(String dsId, FeedMode feedMode, Iterable<String> docIterator, ResultsetKeepAliveCallback startCallback, BlackboardActorCallback endCallback, String backendId, boolean emptyResult)
feedIndex in interface IndexFeedActordsId - the ds idfeedMode - the feed modedocIterator - the doc iteratorstartCallback - the start callbackendCallback - the end callbackbackendId - the backend identifiereu.dnetlib.functionality.index.actors.IndexFeedActor#feedIndex(java.lang.String, eu.dnetlib.functionality.index.feed.FeedMode,
java.lang.Iterable, eu.dnetlib.functionality.index.actors.ResultsetKeepAliveCallback,
eu.dnetlib.functionality.index.actors.BlackboardActorCallback)public void cleanMarkedDocuments(IndexCollection indexCollection, String dsId) throws eu.dnetlib.data.provision.index.rmi.IndexServiceException
indexCollection - the server daodsId - the ds ideu.dnetlib.data.provision.index.rmi.IndexServiceException - the index service exceptionCopyright © 2018. All rights reserved.