Commit 9db6c02a authored by R.W.Majeed's avatar R.W.Majeed

interface for extraction result added

parent 322c7eee
......@@ -35,6 +35,6 @@ public interface DataExtractor {
* @throws IOException error writing files
* @throws SQLException error while extracting data
*/
public CompletableFuture<String[]> extractData(Instant fromTimestamp, Instant endTimestamp, Source exportDescriptor, Path destinationDir);
public CompletableFuture<ExtractedData> extractData(Instant fromTimestamp, Instant endTimestamp, Source exportDescriptor, Path destinationDir);
}
package org.aktin.dwh;
public interface ExtractedData {
int getPatientCount();
int getVisitCount();
String[] getDataFileNames();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment