com.tinkerpop.pipes.transform.IdentityPipe Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pipes Show documentation
Show all versions of pipes Show documentation
Pipes is a dataflow framework written in Java that enables the splitting, merging, filtering, and
transformation of data from input to output.
Computations are expressed using a combinator model and are evaluated in a memory-efficient, lazy fashion.
package com.tinkerpop.pipes.transform;
import com.tinkerpop.pipes.AbstractPipe;
/**
* The IdentityPipe is the most basic pipe.
* It simply maps the input to the output without any processing.
*
*
* protected S processNextStart() {
* return this.starts.next();
* }
*
*
*
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
public class IdentityPipe extends AbstractPipe { // does not implement TransformPipe
protected S processNextStart() {
return this.starts.next();
}
}