Skip to content
okram edited this page Feb 28, 2012 · 109 revisions

Pipes is a dataflow framework using process graphs. A process graph is composed of Pipe vertices connected by communication edges. A Pipe implements a simple computational step that can be composed with other Pipe objects to create a larger computation. Such data flow graphs allow for the splitting, merging, looping, and in general, the transformation of data from input to output.

There are numerous Pipe classes that come with the main Pipes distribution. Once a good understanding of each Pipe accomplished, then using the framework is straightforward. In general, the best way to learn about all the Pipes provided is through the project JavaDoc.

Please join the Gremlin users group at http://groups.google.com/group/gremlin-users for all TinkerPop related discussions.

Pipes 0.9 JavaDoc
Pipes 0.8 JavaDoc
Pipes 0.7 JavaDoc
Pipes 0.6 JavaDoc
Pipes 0.5 JavaDoc
Pipes 0.4 JavaDoc
Pipes 0.3 JavaDoc
Pipes 0.2 JavaDoc
Pipes 0.1 JavaDoc

<dependency>
  <groupId>com.tinkerpop</groupId>
  <artifactId>pipes</artifactId>
  <version>1.0</version>
</dependency>
Pipe<String,String> pipe1 = new RemoveCharacterPipe("o");
Pipe<String,Integer> pipe2 = new CountCharactersPipe();
Pipe<String,Integer> pipeline = new Pipeline<String,Integer>(pipe1, pipe2);
pipeline.setStarts(Arrays.asList("marko","josh","peter"));
for(Integer number : pipeline) {
  System.out.println(number);
}

4
3
5

On the Nature of Pipes (Graphical Presentation of the Pipe Mechanics)



1 Pipes documentation is up to date with the current Pipes codebase, not with the latest Pipes release.

Clone this wiki locally