Package com.nigelsmall.geoff.loader

Examples of com.nigelsmall.geoff.loader.NeoLoader.load()


    @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();
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.