Package com.tinkerpop.gremlin.giraph

Examples of com.tinkerpop.gremlin.giraph.GiraphGraphProvider


*/
public class GiraphGraphComputerIntegrateTest {

    @Test
    public void shouldNotDeriveMemoryIfToldSo() throws Exception {
        final GiraphGraphProvider provider = new GiraphGraphProvider();
        final Map<String, Object> map = provider.getBaseConfiguration("gremlin.giraph", GiraphGraphComputerIntegrateTest.class, "shouldNotDeriveMemoryIfToldSo");
        map.put(Constants.GREMLIN_GIRAPH_DERIVE_MEMORY, false);
        final GiraphGraph g = (GiraphGraph) GraphFactory.open(map);
        provider.loadGraphData(g, LoadGraphWith.GraphData.CLASSIC);
        final ComputerResult result = g.compute().program(LambdaVertexProgram.build().
                setup(memory -> {
                }).
                execute((vertex, messenger, memory) -> {
                }).
View Full Code Here

TOP

Related Classes of com.tinkerpop.gremlin.giraph.GiraphGraphProvider

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.