Revision 35793
Added by Alessia Bardi over 9 years ago
modules/cnr-rmi-api/trunk/src/main/java/eu/dnetlib/data/mdstore/MDStoreService.java | ||
---|---|---|
83 | 83 |
* @return the number of records in the store |
84 | 84 |
*/ |
85 | 85 |
public int size(@WebParam(name = "mdId") final String mdId) throws MDStoreServiceException; |
86 |
|
|
87 |
/** |
|
88 |
* Gets the sum of records stored in all mdstore with the given format, layout , interpretation |
|
89 |
* |
|
90 |
* @param format |
|
91 |
* format |
|
92 |
* @param layout |
|
93 |
* layout |
|
94 |
* @param interpretation |
|
95 |
* interpretation |
|
96 |
* @return the total number of records in the mdstores of the given type |
|
97 |
*/ |
|
98 |
public int size(@WebParam(name = "format") final String format, |
|
99 |
@WebParam(name = "layout") final String layout, |
|
100 |
@WebParam(name = "interpretation") final String interpretation) throws MDStoreServiceException; |
|
101 |
|
|
86 | 102 |
} |
Also available in: Unified diff
New method to get the total size of all mdstores with a given format, lyout and interpretation.