Package com.tinkerpop.frames.modules.gremlingroovy

Examples of com.tinkerpop.frames.modules.gremlingroovy.GremlinGroovyModule


        logger.debug("loading system graph");
        this.systemGraph = new DendriteGraph(systemGraphId, systemProperties);

        // Create a FramedGraphFactory, which we'll use to wrap our metadata graph vertices and edges.
        this.frameFactory = new FramedGraphFactory(
                new GremlinGroovyModule(),
                new JavaHandlerModule(),
                new TypedGraphModuleBuilder()
                        .withClass(ProjectMetadata.class)
                        .withClass(BranchMetadata.class)
                        .withClass(GraphMetadata.class)
View Full Code Here


    private CreatedInfo peterCreatedLop;

    @Before
    public void before() {
        graph = TinkerGraphFactory.createTinkerGraph();
        framedGraph = new FramedGraphFactory(new GremlinGroovyModule()).create(graph);

        marko = framedGraph.frame(graph.getVertex(1), Person.class);
        vadas = framedGraph.frame(graph.getVertex(2), Person.class);
        lop = framedGraph.frame(graph.getVertex(3), Project.class);
        josh = framedGraph.frame(graph.getVertex(4), Person.class);
View Full Code Here

TOP

Related Classes of com.tinkerpop.frames.modules.gremlingroovy.GremlinGroovyModule

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.