com.tinkerpop.pipes.transform.IndexElementsPipe 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.blueprints.Element;
import com.tinkerpop.blueprints.Index;
import com.tinkerpop.pipes.IdentityPipe;
/**
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
public class IndexElementsPipe extends IdentityPipe implements TransformPipe {
public IndexElementsPipe(final Index index, final String key, final Object value) {
super.setStarts(index.get(key, value).iterator());
}
}