Package org.lab41.dendrite.jobs

Examples of org.lab41.dendrite.jobs.FaunusJob.call()


        FaunusPipeline exportPipeline = new FaunusPipeline(faunusGraph);
        exportPipeline._();

        exportPipeline.done();
        FaunusJob faunusJob = new FaunusJob(metaGraphService.getMetaGraph(), jobId, exportPipeline);
        faunusJob.call();
    }

    private void runSnap(FileSystem fs, Path exportDir, Path importDir, String algorithm) throws Exception {
        URI uriImport = URI.create("file:///tmp/" + UUID.randomUUID().toString());
        URI uriExport = URI.create("file:///tmp/" + UUID.randomUUID().toString());
View Full Code Here


            pipeline.done();

            logger.debug("starting export of '" + graph.getId() + "'");

            FaunusJob faunusJob = new FaunusJob(metaGraphService.getMetaGraph(), jobId, pipeline);
            faunusJob.call();

            logger.debug("finished export of '" + graph.getId() + "'");

            // Filter out all the edges
            FaunusGraph faunusImportGraph = faunusExportGraph.getNextGraph();
View Full Code Here

            pipeline.done();

            logger.debug("starting import of '" + graph.getId() + "'");

            faunusJob = new FaunusJob(metaGraphService.getMetaGraph(), jobId, pipeline);
            faunusJob.call();

            logger.debug("finished import of '" + graph.getId() + "'");

        } finally {
            // Clean up after ourselves.
View Full Code Here

        FaunusPipeline exportPipeline = new FaunusPipeline(faunusGraph);
        exportPipeline._();

        exportPipeline.done();
        FaunusJob faunusJob = new FaunusJob(metaGraphService.getMetaGraph(), jobId, exportPipeline);
        faunusJob.call();
    }

    private void runGraphLab(FileSystem fs, Path exportDir, Path importDir, String algorithm) throws Exception {
        exportDir = new Path(exportDir, "job-0");
        importDir = new Path(importDir, "output");
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.