Package org.neo4j.shell.tools.imp.util

Examples of org.neo4j.shell.tools.imp.util.WriterOutputStream


    @Override
    public ElementCounter dump(SubGraph graph, Writer writer, Reporter reporter, Config config) throws Exception {
        try (Transaction tx = db.beginTx()) {
            GraphvizWriter graphvizWriter = new GraphvizWriter();
            OutputStream os = new WriterOutputStream(writer);
            graphvizWriter.emit(os, new SubgraphMappingWalkerWrapper(graph));
            tx.success();
        }
        return reporter.getTotal();
    }
View Full Code Here

TOP

Related Classes of org.neo4j.shell.tools.imp.util.WriterOutputStream

Copyright © 2018 www.massapicom. 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.