Package com.tinkerpop.gremlin.java

Examples of com.tinkerpop.gremlin.java.GremlinPipeline


        super.test_g_V_bothX1_createdX_name(new GremlinPipeline(g).V().both(1, "created").property("name"));
        super.test_g_V_bothX1_createdX_name(new GremlinPipeline(g).optimize(false).V().both(1, "created").property("name"));
    }

    public void test_g_E() {
        super.test_g_E(new GremlinPipeline(g.getEdges()));
        super.test_g_E(new GremlinPipeline(g).E());
        super.test_g_E(new GremlinPipeline(g.getEdges()).optimize(false));
        super.test_g_E(new GremlinPipeline(g).optimize(false).E());
    }
View Full Code Here


        super.test_g_E(new GremlinPipeline(g.getEdges()).optimize(false));
        super.test_g_E(new GremlinPipeline(g).optimize(false).E());
    }

    public void test_g_v1_outE() {
        super.test_g_v1_outE(new GremlinPipeline(g.getVertex(1)).outE());
        super.test_g_v1_outE(new GremlinPipeline(g.getVertex(1)).optimize(false).outE());
    }
View Full Code Here

        super.test_g_v1_outE(new GremlinPipeline(g.getVertex(1)).outE());
        super.test_g_v1_outE(new GremlinPipeline(g.getVertex(1)).optimize(false).outE());
    }

    public void test_g_v2_inE() {
        super.test_g_v2_inE(new GremlinPipeline(g.getVertex(2)).inE());
        super.test_g_v2_inE(new GremlinPipeline(g.getVertex(2)).optimize(false).inE());
    }
View Full Code Here

        super.test_g_v2_inE(new GremlinPipeline(g.getVertex(2)).inE());
        super.test_g_v2_inE(new GremlinPipeline(g.getVertex(2)).optimize(false).inE());
    }

    public void test_g_v4_bothE() {
        super.test_g_v4_bothE(new GremlinPipeline(g.getVertex(4)).bothE());
        super.test_g_v4_bothE(new GremlinPipeline(g.getVertex(4)).optimize(false).bothE());
    }
View Full Code Here

        super.test_g_v4_bothE(new GremlinPipeline(g.getVertex(4)).bothE());
        super.test_g_v4_bothE(new GremlinPipeline(g.getVertex(4)).optimize(false).bothE());
    }

    public void test_g_v4_bothEX1_createdX() {
        super.test_g_v4_bothEX1_createdX(new GremlinPipeline(g.getVertex(4)).bothE(1, "created"));
        super.test_g_v4_bothEX1_createdX(new GremlinPipeline(g.getVertex(4)).optimize(false).bothE(1, "created"));
    }
View Full Code Here

        super.test_g_v4_bothEX1_createdX(new GremlinPipeline(g.getVertex(4)).bothE(1, "created"));
        super.test_g_v4_bothEX1_createdX(new GremlinPipeline(g.getVertex(4)).optimize(false).bothE(1, "created"));
    }

    public void test_g_V_inEX2_knowsX_outV_name() {
        super.test_g_V_inEX2_knowsX_outV_name(new GremlinPipeline(g).V().inE(2, "knows").outV().property("name"));
        super.test_g_V_inEX2_knowsX_outV_name(new GremlinPipeline(g).optimize(false).V().inE(2, "knows").outV().property("name"));
    }
View Full Code Here

    public void testCompliance() {
        ComplianceTest.testCompliance(this.getClass());
    }

    public void test_g_v1_asXaX_out_properyXnameX_asXbX_table_cap() {
        super.test_g_v1_asXaX_out_properyXnameX_asXbX_table_cap(new GremlinPipeline(g.getVertex(1)).as("a").out().property("name").as("b").table().cap());
        super.test_g_v1_asXaX_out_properyXnameX_asXbX_table_cap(new GremlinPipeline(g.getVertex(1)).optimize(false).as("a").out().property("name").as("b").table().cap());
    }
View Full Code Here

        super.test_g_V_inEX2_knowsX_outV_name(new GremlinPipeline(g).V().inE(2, "knows").outV().property("name"));
        super.test_g_V_inEX2_knowsX_outV_name(new GremlinPipeline(g).optimize(false).V().inE(2, "knows").outV().property("name"));
    }

    public void test_g_v1_outE_inV() {
        super.test_g_v1_outE_inV(new GremlinPipeline(g.getVertex(1)).outE().inV());
        super.test_g_v1_outE_inV(new GremlinPipeline(g.getVertex(1)).optimize(false).outE().inV());
    }
View Full Code Here

        super.test_g_v1_outE_inV(new GremlinPipeline(g.getVertex(1)).outE().inV());
        super.test_g_v1_outE_inV(new GremlinPipeline(g.getVertex(1)).optimize(false).outE().inV());
    }

    public void test_g_v2_inE_outV() {
        super.test_g_v2_inE_outV(new GremlinPipeline(g.getVertex(2)).inE().outV());
        super.test_g_v2_inE_outV(new GremlinPipeline(g.getVertex(2)).optimize(false).inE().outV());
    }
View Full Code Here

        super.test_g_v1_asXaX_out_properyXnameX_asXbX_table_cap(new GremlinPipeline(g.getVertex(1)).as("a").out().property("name").as("b").table().cap());
        super.test_g_v1_asXaX_out_properyXnameX_asXbX_table_cap(new GremlinPipeline(g.getVertex(1)).optimize(false).as("a").out().property("name").as("b").table().cap());
    }

    public void test_g_v1_asXaX_out_asXbX_tableXnameX_cap() {
        super.test_g_v1_asXaX_out_asXbX_tableXnameX_cap(new GremlinPipeline(g.getVertex(1)).as("a").out().as("b").table(new Table(), new PipeFunction<Vertex, String>() {
            public String compute(Vertex vertex) {
                return (String) vertex.getProperty("name");
            }
        }).cap());

        super.test_g_v1_asXaX_out_asXbX_tableXnameX_cap(new GremlinPipeline(g.getVertex(1)).optimize(false).as("a").out().as("b").table(new Table(), new PipeFunction<Vertex, String>() {
            public String compute(Vertex vertex) {
                return (String) vertex.getProperty("name");
            }
        }).cap());
    }
View Full Code Here

TOP

Related Classes of com.tinkerpop.gremlin.java.GremlinPipeline

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.