Package com.tinkerpop.pipes.util

Examples of com.tinkerpop.pipes.util.AsPipe


     *
     * @param name the name of the AsPipe
     * @return the extended Pipeline
     */
    public GremlinPipeline<S, E> as(final String name) {
        final GremlinPipeline<S, E> pipeline = this.add(new AsPipe(name, FluentUtility.removePreviousPipes(this, 1).get(0)));
        this.asMap.refresh();
        return pipeline;
    }
View Full Code Here


            this.map.put(asPipe.getName(), asPipe);
        }
    }

    public Object get(final String name) {
        final AsPipe asPipe = this.map.get(name);
        if (null == asPipe)
            throw new RuntimeException("Named step does not exist: " + name);
        else
            return asPipe.getCurrentEnd();
    }
View Full Code Here

TOP

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

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.