
com.tinkerpop.gremlin.pipes.transform.LabelPipe Maven / Gradle / Ivy
package com.tinkerpop.gremlin.pipes.transform;
import com.tinkerpop.blueprints.Edge;
import com.tinkerpop.pipes.AbstractPipe;
/**
* LabelPipe emits the label of an edge.
*
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
public class LabelPipe extends AbstractPipe {
protected String processNextStart() {
return this.starts.next().getLabel();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy