1 |
26600
|
sandro.lab
|
package eu.dnetlib.data.mdstore.modular.connector;
|
2 |
|
|
|
3 |
47843
|
claudio.at
|
import java.util.List;
|
4 |
|
|
import java.util.Map;
|
5 |
|
|
|
6 |
27679
|
sandro.lab
|
import eu.dnetlib.data.mdstore.DocumentNotFoundException;
|
7 |
47843
|
claudio.at
|
import eu.dnetlib.data.mdstore.MDStoreServiceException;
|
8 |
44783
|
sandro.lab
|
import eu.dnetlib.data.mdstore.modular.MDFormatDescription;
|
9 |
26600
|
sandro.lab
|
import eu.dnetlib.enabling.resultset.ResultSetListener;
|
10 |
|
|
|
11 |
|
|
public interface MDStore {
|
12 |
27679
|
sandro.lab
|
|
13 |
26600
|
sandro.lab
|
String getId();
|
14 |
|
|
|
15 |
|
|
String getFormat();
|
16 |
|
|
|
17 |
|
|
String getInterpretation();
|
18 |
|
|
|
19 |
|
|
String getLayout();
|
20 |
|
|
|
21 |
|
|
void truncate();
|
22 |
|
|
|
23 |
42303
|
alessia.ba
|
int feed(Iterable<String> records, boolean incremental);
|
24 |
26600
|
sandro.lab
|
|
25 |
44783
|
sandro.lab
|
int feed(Iterable<String> records, boolean incremental, List<MDFormatDescription> mdformats);
|
26 |
|
|
|
27 |
47843
|
claudio.at
|
ResultSetListener deliver(String from, String until, String recordFilter) throws MDStoreServiceException;
|
28 |
26600
|
sandro.lab
|
|
29 |
47843
|
claudio.at
|
ResultSetListener deliverIds(String from, String until, String recordFilter) throws MDStoreServiceException;
|
30 |
27679
|
sandro.lab
|
|
31 |
26600
|
sandro.lab
|
Iterable<String> iterate();
|
32 |
|
|
|
33 |
|
|
int getSize();
|
34 |
|
|
|
35 |
|
|
void deleteRecord(String recordId);
|
36 |
|
|
|
37 |
27679
|
sandro.lab
|
String getRecord(String recordId) throws DocumentNotFoundException;
|
38 |
|
|
|
39 |
44783
|
sandro.lab
|
List<String> deliver(String mdId, int pageSize, int offset, Map<String, String> queryParam);
|
40 |
26600
|
sandro.lab
|
}
|