Package com.thinkaurelius.faunus.mapreduce

Examples of com.thinkaurelius.faunus.mapreduce.FaunusCompiler


        this.faunusPipeline = faunusPipeline;
    }

    @Override
    public Object call() throws Exception {
        FaunusCompiler compiler = faunusPipeline.getCompiler();
        FaunusJobControl jobControl = new FaunusJobControl(faunusPipeline.getGraph(), compiler.getJobs());

        Thread thread = new Thread(jobControl);
        thread.start();

        logger.debug("Submitted job");
View Full Code Here


     *
     * @param graph the FaunusGraph that is the source of the traversal
     */
    public FaunusPipeline(final FaunusGraph graph) {
        this.graph = graph;
        this.compiler = new FaunusCompiler(this.graph);
        this.state = new State();

        if (MapReduceFormat.class.isAssignableFrom(this.graph.getGraphInputFormat())) {
            try {
                ((Class<? extends MapReduceFormat>) this.graph.getGraphInputFormat()).getConstructor().newInstance().addMapReduceJobs(this.compiler);
View Full Code Here

TOP

Related Classes of com.thinkaurelius.faunus.mapreduce.FaunusCompiler

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.