@Override
public ElementCounter load(Reader reader, Reporter reporter, Config config) throws IOException {
try (Transaction tx = db.beginTx()) {
NeoLoader loader = new NeoLoader(db);
Subgraph subgraph = new GeoffReader(reader).readSubgraph();
Map<String, Node> result = loader.load(subgraph);
tx.success();
reporter.update(result.size(),0,0); // todo more insights
}
return reporter.getTotal();
}