Package com.tinkerpop.pipes.util

Examples of com.tinkerpop.pipes.util.PipesFunction


        }));
    }

    public void test_g_V_asXaX_out_transformXa_nameX() {
        super.test_g_V_asXaX_out_transformXa_nameX(new GremlinPipeline(g).V().as("a").out().transform(
                new PipesFunction() {
                    public Object compute(Object argument) {
                        return ((Vertex) this.asMap.get("a")).getProperty("name");
                    }
                }
        ));

        super.test_g_V_asXaX_out_transformXa_nameX(new GremlinPipeline(g.getVertices()).optimize(false).as("a").out().transform(
                new PipesFunction() {
                    public Object compute(Object argument) {
                        return ((Vertex) this.asMap.get("a")).getProperty("name");
                    }
                }
        ));
View Full Code Here

TOP

Related Classes of com.tinkerpop.pipes.util.PipesFunction

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.