2022-02-04 10:12:15 +01:00
|
|
|
package eu.dnetlib.openaire.dsm.dao;
|
|
|
|
|
|
|
|
import java.util.Queue;
|
|
|
|
|
|
|
|
import eu.dnetlib.openaire.dsm.dao.utils.IndexDsInfo;
|
|
|
|
import eu.dnetlib.openaire.dsm.dao.utils.IndexRecordsInfo;
|
2023-04-03 12:22:22 +02:00
|
|
|
import eu.dnetlib.openaire.exporter.exceptions.DsmApiException;
|
2022-02-04 10:12:15 +01:00
|
|
|
|
|
|
|
public interface DatasourceIndexClient {
|
|
|
|
|
2023-04-03 12:22:22 +02:00
|
|
|
IndexRecordsInfo getIndexInfo(final String dsId, final IndexDsInfo info, final Queue<Throwable> errors) throws DsmApiException;
|
2022-02-04 10:12:15 +01:00
|
|
|
|
2023-04-03 12:22:22 +02:00
|
|
|
String getLastIndexingDate(final IndexDsInfo info) throws DsmApiException;
|
2022-02-04 10:12:15 +01:00
|
|
|
|
|
|
|
}
|