use of uk.gov.gchq.gaffer.commonutil.iterable.CloseableIterable in project Gaffer by gchq.
the class GetExportsHandler method doOperation.
@Override
public Map<String, CloseableIterable<?>> doOperation(final GetExports getExports, final Context context, final Store store) throws OperationException {
final Map<String, CloseableIterable<?>> exports = new LinkedHashMap<>();
for (final GetExport getExport : getExports.getGetExports()) {
final CloseableIterable<?> export = store._execute(new OperationChain<>(getExport), context);
exports.put(getExport.getClass().getName() + ": " + getExport.getKey(), export);
}
return exports;
}
Aggregations