public class GremlinPipeline<S,E> extends com.tinkerpop.pipes.util.Pipeline<S,E> implements GremlinFluentPipeline<S,E>
| Modifier and Type | Field and Description |
|---|---|
protected com.tinkerpop.pipes.util.structures.AsMap |
asMap |
| Constructor and Description |
|---|
GremlinPipeline() |
GremlinPipeline(Object starts) |
GremlinPipeline(Object starts,
boolean doQueryOptimization) |
| Modifier and Type | Method and Description |
|---|---|
GremlinPipeline<S,E> |
_()
Add an IdentityPipe to the end of the Pipeline.
|
<T> GremlinPipeline<S,T> |
add(com.tinkerpop.pipes.Pipe<?,T> pipe)
Add an arbitrary pipe to the GremlinPipeline
|
GremlinPipeline<S,E> |
aggregate()
Add an AggregatePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
aggregate(Collection<E> aggregate)
Add an AggregatePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
aggregate(Collection aggregate,
com.tinkerpop.pipes.PipeFunction<E,?> aggregateFunction)
Add an AggregatePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
aggregate(com.tinkerpop.pipes.PipeFunction<E,?> aggregateFunction)
Add an AggregatePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
and(com.tinkerpop.pipes.Pipe<E,?>... pipes)
Add an AndFilterPipe to the end the Pipeline.
|
GremlinPipeline<S,E> |
as(String name)
Wrap the previous step in an AsPipe.
|
GremlinPipeline<S,?> |
back(int numberedStep)
Deprecated.
|
GremlinPipeline<S,?> |
back(String namedStep)
Add a BackFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
both(int branchFactor,
String... labels)
Add a BothPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
both(String... labels)
Add a BothPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Edge> |
bothE(int branchFactor,
String... labels)
Add a BothEdgesPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Edge> |
bothE(String... labels)
Add a BothEdgesPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
bothV()
Add a BothVerticesPipe to the end of the Pipeline.
|
GremlinPipeline<S,?> |
cap()
Add a SideEffectCapPipe to the end of the Pipeline.
|
<E> GremlinPipeline<S,E> |
cast(Class<E> end)
Returns the current pipeline with a new end type.
|
GremlinPipeline<S,?> |
copySplit(com.tinkerpop.pipes.Pipe<E,?>... pipes)
Add a CopySplitPipe to the end of the pipeline.
|
long |
count()
Return the number of objects iterated through the pipeline.
|
GremlinPipeline<S,E> |
dedup()
Add a DuplicateFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
dedup(com.tinkerpop.pipes.PipeFunction<E,?> dedupFunction)
Add a DuplicateFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Edge> |
E()
Add a GraphQueryPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Edge> |
E(String key,
Object value)
Add a GraphQueryPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
enablePath()
Enable path calculations within the Pipeline.
|
GremlinPipeline<S,E> |
except(Collection<E> collection)
Add an ExceptFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
except(String... namedSteps)
Add an ExceptFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,?> |
exhaustMerge()
Add an ExhaustMergePipe to the end of the pipeline.
|
GremlinPipeline<S,?> |
fairMerge()
Add a FairMergePipe to the end of the Pipeline.
|
Collection<E> |
fill(Collection<E> collection)
Fill the provided collection with the objects in the pipeline.
|
GremlinPipeline<S,E> |
filter(com.tinkerpop.pipes.PipeFunction<E,Boolean> filterFunction)
Add an FilterFunctionPipe to the end of the Pipeline.
|
GremlinPipeline<S,List> |
gather()
Add a GatherPipe to the end of the Pipeline.
|
GremlinPipeline<S,?> |
gather(com.tinkerpop.pipes.PipeFunction<List,?> function)
Add a GatherPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
groupBy(Map<?,List<?>> map,
com.tinkerpop.pipes.PipeFunction keyFunction,
com.tinkerpop.pipes.PipeFunction valueFunction)
Add a GroupByPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
groupBy(Map reduceMap,
com.tinkerpop.pipes.PipeFunction keyFunction,
com.tinkerpop.pipes.PipeFunction valueFunction,
com.tinkerpop.pipes.PipeFunction reduceFunction)
Add a GroupByReducePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
groupBy(com.tinkerpop.pipes.PipeFunction keyFunction,
com.tinkerpop.pipes.PipeFunction valueFunction)
Add a GroupByPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
groupBy(com.tinkerpop.pipes.PipeFunction keyFunction,
com.tinkerpop.pipes.PipeFunction valueFunction,
com.tinkerpop.pipes.PipeFunction reduceFunction)
Add a GroupByReducePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
groupCount()
Add a GroupCountPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
groupCount(Map<?,Number> map)
Add a GroupCountPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
groupCount(Map<?,Number> map,
com.tinkerpop.pipes.PipeFunction keyFunction)
Add a GroupCountPipe or GroupCountFunctionPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
groupCount(Map<?,Number> map,
com.tinkerpop.pipes.PipeFunction keyFunction,
com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.util.structures.Pair<?,Number>,Number> valueFunction)
Add a GroupCountPipe or GroupCountFunctionPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
groupCount(com.tinkerpop.pipes.PipeFunction keyFunction)
Add a GroupCountPipe or GroupCountFunctionPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
groupCount(com.tinkerpop.pipes.PipeFunction keyFunction,
com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.util.structures.Pair<?,Number>,Number> valueFunction)
Add a GroupCountPipe or GroupCountFunctionPipe to the end of the Pipeline.
|
GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> |
has(String key)
Check if the element has a property with provided key.
|
GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> |
has(String key,
Object value)
Add an IdFilterPipe, LabelFilterPipe, or PropertyFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> |
has(String key,
com.tinkerpop.blueprints.Predicate predicate,
Object value)
Add an IdFilterPipe, LabelFilterPipe, or PropertyFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> |
has(String key,
Tokens.T compareToken,
Object value)
Add an IdFilterPipe, LabelFilterPipe, or PropertyFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> |
hasNot(String key)
Check if the element does not have a property with provided key.
|
GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> |
hasNot(String key,
Object value)
Add an IdFilterPipe, LabelFilterPipe, or PropertyFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,Object> |
id()
Add an IdPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Edge> |
idEdge(com.tinkerpop.blueprints.Graph graph)
Add an IdEdgePipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
idVertex(com.tinkerpop.blueprints.Graph graph)
Add an IdVertexPipe to the end of the Pipeline.
|
GremlinPipeline<S,?> |
ifThenElse(com.tinkerpop.pipes.PipeFunction<E,Boolean> ifFunction,
com.tinkerpop.pipes.PipeFunction<E,?> thenFunction,
com.tinkerpop.pipes.PipeFunction<E,?> elseFunction)
Add an IfThenElsePipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
in(int branchFactor,
String... labels)
Add a InPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
in(String... labels)
Add a InPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Edge> |
inE(int branchFactor,
String... labels)
Add an InEdgesPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Edge> |
inE(String... labels)
Add an InEdgesPipe to the end of the Pipeline.
|
GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> |
interval(String key,
Comparable startValue,
Comparable endValue)
Add an IntervalFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
inV()
Add an InVertexPipe to the end of the Pipeline.
|
void |
iterate()
Completely drain the pipeline of its objects.
|
GremlinPipeline<S,String> |
label()
Add an LabelPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
linkBoth(String label,
String namedStep)
Add a LinkPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
linkBoth(String label,
com.tinkerpop.blueprints.Vertex other)
Add a LinkPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
linkIn(String label,
String namedStep)
Add a LinkPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
linkIn(String label,
com.tinkerpop.blueprints.Vertex other)
Add a LinkPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
linkOut(String label,
String namedStep)
Add a LinkPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
linkOut(String label,
com.tinkerpop.blueprints.Vertex other)
Add a LinkPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
loop(int numberedStep,
com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> whileFunction)
Deprecated.
|
GremlinPipeline<S,E> |
loop(int numberedStep,
com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> whileFunction,
com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> emitFunction)
Deprecated.
|
GremlinPipeline<S,E> |
loop(String namedStep,
com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> whileFunction)
Add a LoopPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
loop(String namedStep,
com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> whileFunction,
com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> emitFunction)
Add a LoopPipe to the end of the Pipeline.
|
GremlinPipeline<S,Map<String,Object>> |
map(String... keys)
Add a PropertyMapPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
memoize(int numberedStep)
Deprecated.
|
GremlinPipeline<S,E> |
memoize(int numberedStep,
Map map)
Deprecated.
|
GremlinPipeline<S,E> |
memoize(String namedStep)
Add a MemoizePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
memoize(String namedStep,
Map map)
Add a MemoizePipe to the end of the Pipeline.
|
List<E> |
next(int number)
Return the next X objects in the pipeline as a list.
|
GremlinPipeline<S,E> |
optimize(boolean optimize)
When possible, Gremlin takes advantage of certain sequences of pipes in order to make a more concise, and generally more efficient expression.
|
GremlinPipeline<S,?> |
optional(int numberedStep)
Deprecated.
|
GremlinPipeline<S,?> |
optional(String namedStep)
Add an OptionalPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
or(com.tinkerpop.pipes.Pipe<E,?>... pipes)
Add an OrFilterPipe to the end the Pipeline.
|
GremlinPipeline<S,E> |
order()
Add an OrderPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
order(com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.util.structures.Pair<E,E>,Integer> compareFunction)
Add an OrderPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
order(Tokens.T order)
Add an OrderPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
order(com.tinkerpop.pipes.transform.TransformPipe.Order order)
Add an OrderPipe to the end of the Pipeline.
|
GremlinPipeline<S,?> |
orderMap(com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.util.structures.Pair<Map.Entry,Map.Entry>,Integer> compareFunction)
Add a OrderMapPipe to the end of the Pipeline
Given a Map as an input, the map is first ordered and then the keys are emitted in the order.
|
GremlinPipeline<S,?> |
orderMap(Tokens.T order)
Add a OrderMapPipe to the end of the Pipeline
Given a Map as an input, the map is first ordered and then the keys are emitted in the order.
|
GremlinPipeline<S,?> |
orderMap(com.tinkerpop.pipes.transform.TransformPipe.Order order)
Add a OrderMapPipe to the end of the Pipeline
Given a Map as an input, the map is first ordered and then the keys are emitted in the order.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
out(int branchFactor,
String... labels)
Add an OutPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
out(String... labels)
Add an OutPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Edge> |
outE(int branchFactor,
String... labels)
Add an OutEdgesPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Edge> |
outE(String... labels)
Add an OutEdgesPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
outV()
Add an OutVertexPipe to the end of the Pipeline.
|
GremlinPipeline<S,List> |
path(com.tinkerpop.pipes.PipeFunction... pathFunctions)
Add a PathPipe to the end of the Pipeline.
|
GremlinPipeline<S,Object> |
property(String key)
Add a PropertyPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
random(Double bias)
Add a RandomFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
range(int low,
int high)
Add a RageFilterPipe to the end of the Pipeline.
|
void |
remove()
Remove every element at the end of this Pipeline.
|
GremlinPipeline<S,E> |
retain(Collection<E> collection)
Add a RetainFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
retain(String... namedSteps)
Add a RetainFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,?> |
scatter()
Add a ScatterPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.pipes.util.structures.Row> |
select()
Add a SelectPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.pipes.util.structures.Row> |
select(Collection<String> stepNames,
com.tinkerpop.pipes.PipeFunction... columnFunctions)
Add a SelectPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.pipes.util.structures.Row> |
select(com.tinkerpop.pipes.PipeFunction... columnFunctions)
Add a SelectPipe to the end of the Pipeline.
|
GremlinPipeline<S,List> |
shuffle()
Add a ShufflePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
sideEffect(com.tinkerpop.pipes.PipeFunction<E,?> sideEffectFunction)
Add a SideEffectFunctionPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
simplePath()
Add a CyclicPathFilterPipe to the end of the Pipeline.
|
GremlinPipeline<S,S> |
start(S object)
Add a StartPipe to the end of the pipeline.
|
<T> GremlinPipeline<S,T> |
step(com.tinkerpop.pipes.Pipe<E,T> pipe)
Add an arbitrary Pipe to the end of the pipeline.
|
GremlinPipeline<S,?> |
step(com.tinkerpop.pipes.PipeFunction function)
Add a FunctionPipe to the end of the pipeline.
|
GremlinPipeline<S,E> |
store()
Add an StorePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
store(Collection<E> storage)
Add a StorePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
store(Collection storage,
com.tinkerpop.pipes.PipeFunction<E,?> storageFunction)
Add a StorePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
store(com.tinkerpop.pipes.PipeFunction<E,?> storageFunction)
Add a StorePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
table()
Add a TablePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
table(com.tinkerpop.pipes.PipeFunction... columnFunctions)
Add a TablePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
table(com.tinkerpop.pipes.util.structures.Table table)
Add a TablePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
table(com.tinkerpop.pipes.util.structures.Table table,
Collection<String> stepNames,
com.tinkerpop.pipes.PipeFunction... columnFunctions)
Add a TablePipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
table(com.tinkerpop.pipes.util.structures.Table table,
com.tinkerpop.pipes.PipeFunction... columnFunctions)
Add a TablePipe to the end of the Pipeline.
|
List<E> |
toList()
Return a list of all the objects in the pipeline.
|
<T> GremlinPipeline<S,T> |
transform(com.tinkerpop.pipes.PipeFunction<E,T> function)
Add a TransformFunctionPipe to the end of the Pipeline.
|
GremlinPipeline<S,E> |
tree(com.tinkerpop.pipes.PipeFunction... branchFunctions)
Add a TreePipe to the end of the Pipeline
This step maintains an internal tree representation of the paths that have flowed through the step.
|
GremlinPipeline<S,E> |
tree(com.tinkerpop.pipes.util.structures.Tree tree,
com.tinkerpop.pipes.PipeFunction... branchFunctions)
Add a TreePipe to the end of the Pipeline
This step maintains an internal tree representation of the paths that have flowed through the step.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
V()
Add a GraphQueryPipe to the end of the Pipeline.
|
GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> |
V(String key,
Object value)
Add a GraphQueryPipe to the end of the Pipeline.
|
public GremlinPipeline()
public GremlinPipeline(Object starts, boolean doQueryOptimization)
public GremlinPipeline(Object starts)
public <T> GremlinPipeline<S,T> add(com.tinkerpop.pipes.Pipe<?,T> pipe)
T - the type of the end of the pipepipe - the pipe to add to the pipelinepublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> V()
public GremlinPipeline<S,com.tinkerpop.blueprints.Edge> E()
public GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> V(String key, Object value)
key - they key that all the emitted vertices should be checked onvalue - the value that all the emitted vertices should have for the keypublic GremlinPipeline<S,com.tinkerpop.blueprints.Edge> E(String key, Object value)
key - they key that all the emitted edges should be checked onvalue - the value that all the emitted edges should have for the keypublic GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> has(String key)
has in interface GremlinFluentPipeline<S,E>key - the property key to checkpublic GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> has(String key, Object value)
has in interface GremlinFluentPipeline<S,E>key - the property key to checkvalue - the object to filter on (in an OR manner)public GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> has(String key, Tokens.T compareToken, Object value)
has in interface GremlinFluentPipeline<S,E>key - the property key to checkcompareToken - the comparison to usevalue - the object to filter onpublic GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> has(String key, com.tinkerpop.blueprints.Predicate predicate, Object value)
has in interface GremlinFluentPipeline<S,E>key - the property key to checkpredicate - the comparison to usevalue - the object to filter onpublic GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> hasNot(String key)
hasNot in interface GremlinFluentPipeline<S,E>key - the property key to checkpublic GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> hasNot(String key, Object value)
hasNot in interface GremlinFluentPipeline<S,E>key - the property key to checkvalue - the objects to filter on (in an OR manner)public GremlinPipeline<S,? extends com.tinkerpop.blueprints.Element> interval(String key, Comparable startValue, Comparable endValue)
interval in interface GremlinFluentPipeline<S,E>key - the property key to checkstartValue - the start of the interval (inclusive)endValue - the end of the interval (exclusive)public GremlinPipeline<S,com.tinkerpop.blueprints.Edge> bothE(String... labels)
bothE in interface GremlinFluentPipeline<S,E>labels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Edge> bothE(int branchFactor, String... labels)
bothE in interface GremlinFluentPipeline<S,E>branchFactor - the number of max incident edges for each incoming vertexlabels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> both(String... labels)
both in interface GremlinFluentPipeline<S,E>labels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> both(int branchFactor, String... labels)
both in interface GremlinFluentPipeline<S,E>branchFactor - the number of max adjacent vertices for each incoming vertexlabels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> bothV()
bothV in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,com.tinkerpop.blueprints.Edge> idEdge(com.tinkerpop.blueprints.Graph graph)
idEdge in interface GremlinFluentPipeline<S,E>graph - the graph of the pipepublic GremlinPipeline<S,Object> id()
id in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> idVertex(com.tinkerpop.blueprints.Graph graph)
idVertex in interface GremlinFluentPipeline<S,E>graph - the graph of the pipepublic GremlinPipeline<S,com.tinkerpop.blueprints.Edge> inE(String... labels)
inE in interface GremlinFluentPipeline<S,E>labels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Edge> inE(int branchFactor, String... labels)
inE in interface GremlinFluentPipeline<S,E>branchFactor - the number of max incident edges for each incoming vertexlabels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> in(String... labels)
in in interface GremlinFluentPipeline<S,E>labels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> in(int branchFactor, String... labels)
in in interface GremlinFluentPipeline<S,E>branchFactor - the number of max adjacent vertices for each incoming vertexlabels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> inV()
inV in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,String> label()
label in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,com.tinkerpop.blueprints.Edge> outE(String... labels)
outE in interface GremlinFluentPipeline<S,E>labels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Edge> outE(int branchFactor, String... labels)
outE in interface GremlinFluentPipeline<S,E>branchFactor - the number of max incident edges for each incoming vertexlabels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> out(String... labels)
out in interface GremlinFluentPipeline<S,E>labels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> out(int branchFactor, String... labels)
out in interface GremlinFluentPipeline<S,E>branchFactor - the number of max adjacent vertices for each incoming vertexlabels - the edge labels to traversepublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> outV()
outV in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,Map<String,Object>> map(String... keys)
map in interface GremlinFluentPipeline<S,E>keys - the keys to get from the element (if none provided, all keys retrieved)public GremlinPipeline<S,Object> property(String key)
property in interface GremlinFluentPipeline<S,E>key - the property keypublic GremlinPipeline<S,?> step(com.tinkerpop.pipes.PipeFunction function)
step in interface GremlinFluentPipeline<S,E>function - the function of the FunctionPipepublic <T> GremlinPipeline<S,T> step(com.tinkerpop.pipes.Pipe<E,T> pipe)
step in interface GremlinFluentPipeline<S,E>T - the object type emitted by the provided pipe.pipe - The provided pipe.public GremlinPipeline<S,?> copySplit(com.tinkerpop.pipes.Pipe<E,?>... pipes)
copySplit in interface GremlinFluentPipeline<S,E>pipes - the internal pipes of the CopySplitPipepublic GremlinPipeline<S,?> exhaustMerge()
exhaustMerge in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,?> fairMerge()
fairMerge in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,?> ifThenElse(com.tinkerpop.pipes.PipeFunction<E,Boolean> ifFunction, com.tinkerpop.pipes.PipeFunction<E,?> thenFunction, com.tinkerpop.pipes.PipeFunction<E,?> elseFunction)
ifThenElse in interface GremlinFluentPipeline<S,E>ifFunction - the function denoting the "if" part of the pipethenFunction - the function denoting the "then" part of the pipeelseFunction - the function denoting the "else" part of the pipe@Deprecated public GremlinPipeline<S,E> loop(int numberedStep, com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> whileFunction)
loop in interface GremlinFluentPipeline<S,E>numberedStep - the number of steps to loop back towhileFunction - whether or not to continue looping on the current objectpublic GremlinPipeline<S,E> loop(String namedStep, com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> whileFunction)
loop in interface GremlinFluentPipeline<S,E>namedStep - the name of the step to loop back towhileFunction - whether or not to continue looping on the current object@Deprecated public GremlinPipeline<S,E> loop(int numberedStep, com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> whileFunction, com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> emitFunction)
loop in interface GremlinFluentPipeline<S,E>numberedStep - the number of steps to loop back towhileFunction - whether or not to continue looping on the current objectemitFunction - whether or not to emit the current object (irrespective of looping)public GremlinPipeline<S,E> loop(String namedStep, com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> whileFunction, com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.branch.LoopPipe.LoopBundle<E>,Boolean> emitFunction)
loop in interface GremlinFluentPipeline<S,E>namedStep - the number of steps to loop back towhileFunction - whether or not to continue looping on the current objectemitFunction - whether or not to emit the current object (irrespective of looping)public GremlinPipeline<S,E> and(com.tinkerpop.pipes.Pipe<E,?>... pipes)
and in interface GremlinFluentPipeline<S,E>pipes - the internal pipes of the AndFilterPipe@Deprecated public GremlinPipeline<S,?> back(int numberedStep)
back in interface GremlinFluentPipeline<S,E>numberedStep - the number of steps previous to back up topublic GremlinPipeline<S,?> back(String namedStep)
back in interface GremlinFluentPipeline<S,E>namedStep - the name of the step previous to back up topublic GremlinPipeline<S,E> dedup()
dedup in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,E> dedup(com.tinkerpop.pipes.PipeFunction<E,?> dedupFunction)
dedup in interface GremlinFluentPipeline<S,E>dedupFunction - a function to call on the object to yield the object to dedup onpublic GremlinPipeline<S,E> except(Collection<E> collection)
except in interface GremlinFluentPipeline<S,E>collection - the collection except from the streampublic GremlinPipeline<S,E> except(String... namedSteps)
except in interface GremlinFluentPipeline<S,E>namedSteps - the named steps in the pipelinepublic GremlinPipeline<S,E> filter(com.tinkerpop.pipes.PipeFunction<E,Boolean> filterFunction)
filter in interface GremlinFluentPipeline<S,E>filterFunction - the filter function of the pipepublic GremlinPipeline<S,E> or(com.tinkerpop.pipes.Pipe<E,?>... pipes)
or in interface GremlinFluentPipeline<S,E>pipes - the internal pipes of the OrFilterPipepublic GremlinPipeline<S,E> random(Double bias)
random in interface GremlinFluentPipeline<S,E>bias - the bias of the random coinpublic GremlinPipeline<S,E> range(int low, int high)
range in interface GremlinFluentPipeline<S,E>low - the low end of the rangehigh - the high end of the rangepublic GremlinPipeline<S,E> retain(Collection<E> collection)
retain in interface GremlinFluentPipeline<S,E>collection - the collection to retainpublic GremlinPipeline<S,E> retain(String... namedSteps)
retain in interface GremlinFluentPipeline<S,E>namedSteps - the named steps in the pipelinepublic GremlinPipeline<S,E> simplePath()
simplePath in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,E> aggregate()
aggregate in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,E> aggregate(Collection<E> aggregate)
aggregate in interface GremlinFluentPipeline<S,E>aggregate - the collection to aggregate results intopublic GremlinPipeline<S,E> aggregate(Collection aggregate, com.tinkerpop.pipes.PipeFunction<E,?> aggregateFunction)
aggregate in interface GremlinFluentPipeline<S,E>aggregate - the collection to aggregate results intoaggregateFunction - the function to run over each object prior to insertion into the aggregatepublic GremlinPipeline<S,E> aggregate(com.tinkerpop.pipes.PipeFunction<E,?> aggregateFunction)
aggregate in interface GremlinFluentPipeline<S,E>aggregateFunction - the function to run over each object prior to insertion into the aggregate@Deprecated public GremlinPipeline<S,?> optional(int numberedStep)
optional in interface GremlinFluentPipeline<S,E>numberedStep - the number of steps previous to optional back topublic GremlinPipeline<S,?> optional(String namedStep)
optional in interface GremlinFluentPipeline<S,E>namedStep - the name of the step previous to optional back topublic GremlinPipeline<S,E> groupBy(Map<?,List<?>> map, com.tinkerpop.pipes.PipeFunction keyFunction, com.tinkerpop.pipes.PipeFunction valueFunction)
groupBy in interface GremlinFluentPipeline<S,E>map - the map to store the grouping inkeyFunction - the function that generates the key from the objectvalueFunction - the function that generates the value from the functionpublic GremlinPipeline<S,E> groupBy(com.tinkerpop.pipes.PipeFunction keyFunction, com.tinkerpop.pipes.PipeFunction valueFunction)
groupBy in interface GremlinFluentPipeline<S,E>keyFunction - the function that generates the key from the objectvalueFunction - the function that generates the value from the functionpublic GremlinPipeline<S,E> groupBy(Map reduceMap, com.tinkerpop.pipes.PipeFunction keyFunction, com.tinkerpop.pipes.PipeFunction valueFunction, com.tinkerpop.pipes.PipeFunction reduceFunction)
groupBy in interface GremlinFluentPipeline<S,E>reduceMap - a map to perform the reduce operation on (good for having a later reference)keyFunction - the function that generates the key from the objectvalueFunction - the function that generates the value from the functionreduceFunction - the function that reduces the value listspublic GremlinPipeline<S,E> groupBy(com.tinkerpop.pipes.PipeFunction keyFunction, com.tinkerpop.pipes.PipeFunction valueFunction, com.tinkerpop.pipes.PipeFunction reduceFunction)
groupBy in interface GremlinFluentPipeline<S,E>keyFunction - the function that generates the key from the objectvalueFunction - the function that generates the value from the functionreduceFunction - the function that reduces the value listspublic GremlinPipeline<S,E> groupCount(Map<?,Number> map, com.tinkerpop.pipes.PipeFunction keyFunction, com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.util.structures.Pair<?,Number>,Number> valueFunction)
groupCount in interface GremlinFluentPipeline<S,E>map - a provided count mapkeyFunction - the key function to determine map keyvalueFunction - the value function to determine map valuepublic GremlinPipeline<S,E> groupCount(com.tinkerpop.pipes.PipeFunction keyFunction, com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.util.structures.Pair<?,Number>,Number> valueFunction)
groupCount in interface GremlinFluentPipeline<S,E>keyFunction - the key function to determine map keyvalueFunction - the value function to determine map valuepublic GremlinPipeline<S,E> groupCount(Map<?,Number> map, com.tinkerpop.pipes.PipeFunction keyFunction)
groupCount in interface GremlinFluentPipeline<S,E>map - a provided count mapkeyFunction - the key function to determine map keypublic GremlinPipeline<S,E> groupCount(com.tinkerpop.pipes.PipeFunction keyFunction)
groupCount in interface GremlinFluentPipeline<S,E>keyFunction - the key function to determine map keypublic GremlinPipeline<S,E> groupCount(Map<?,Number> map)
groupCount in interface GremlinFluentPipeline<S,E>map - a provided count mappublic GremlinPipeline<S,E> groupCount()
groupCount in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> linkOut(String label, String namedStep)
linkOut in interface GremlinFluentPipeline<S,E>label - the edge labelnamedStep - the step name that has the other vertex to link topublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> linkIn(String label, String namedStep)
linkIn in interface GremlinFluentPipeline<S,E>label - the edge labelnamedStep - the step name that has the other vertex to link topublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> linkBoth(String label, String namedStep)
linkBoth in interface GremlinFluentPipeline<S,E>label - the edge labelnamedStep - the step name that has the other vertex to link topublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> linkOut(String label, com.tinkerpop.blueprints.Vertex other)
linkOut in interface GremlinFluentPipeline<S,E>label - the edge labelother - the other vertexpublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> linkIn(String label, com.tinkerpop.blueprints.Vertex other)
linkIn in interface GremlinFluentPipeline<S,E>label - the edge labelother - the other vertexpublic GremlinPipeline<S,com.tinkerpop.blueprints.Vertex> linkBoth(String label, com.tinkerpop.blueprints.Vertex other)
linkBoth in interface GremlinFluentPipeline<S,E>label - the edge labelother - the other vertexpublic GremlinPipeline<S,E> sideEffect(com.tinkerpop.pipes.PipeFunction<E,?> sideEffectFunction)
sideEffect in interface GremlinFluentPipeline<S,E>sideEffectFunction - the function of the pipepublic GremlinPipeline<S,E> store(Collection<E> storage)
store in interface GremlinFluentPipeline<S,E>storage - the collection to store results intopublic GremlinPipeline<S,E> store(Collection storage, com.tinkerpop.pipes.PipeFunction<E,?> storageFunction)
store in interface GremlinFluentPipeline<S,E>storage - the collection to store results intostorageFunction - the function to run over each object prior to insertion into the storage collectionpublic GremlinPipeline<S,E> store()
store in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,E> store(com.tinkerpop.pipes.PipeFunction<E,?> storageFunction)
store in interface GremlinFluentPipeline<S,E>storageFunction - the function to run over each object prior to insertion into the storage collectionpublic GremlinPipeline<S,E> table(com.tinkerpop.pipes.util.structures.Table table, Collection<String> stepNames, com.tinkerpop.pipes.PipeFunction... columnFunctions)
table in interface GremlinFluentPipeline<S,E>table - the table to fillstepNames - the partition steps to include in the fillingcolumnFunctions - the post-processing function for each columnpublic GremlinPipeline<S,E> table(com.tinkerpop.pipes.util.structures.Table table, com.tinkerpop.pipes.PipeFunction... columnFunctions)
table in interface GremlinFluentPipeline<S,E>table - the table to fillcolumnFunctions - the post-processing function for each columnpublic GremlinPipeline<S,E> table(com.tinkerpop.pipes.PipeFunction... columnFunctions)
table in interface GremlinFluentPipeline<S,E>columnFunctions - the post-processing function for each columnpublic GremlinPipeline<S,E> table(com.tinkerpop.pipes.util.structures.Table table)
table in interface GremlinFluentPipeline<S,E>table - the table to fillpublic GremlinPipeline<S,E> table()
table in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,E> tree(com.tinkerpop.pipes.util.structures.Tree tree, com.tinkerpop.pipes.PipeFunction... branchFunctions)
tree in interface GremlinFluentPipeline<S,E>tree - an embedded Map data structure to store the tree representation inbranchFunctions - functions to apply to each path object in a round robin fashionpublic GremlinPipeline<S,E> tree(com.tinkerpop.pipes.PipeFunction... branchFunctions)
tree in interface GremlinFluentPipeline<S,E>branchFunctions - functions to apply to each path object in a round robin fashionpublic GremlinPipeline<S,List> gather()
gather in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,?> gather(com.tinkerpop.pipes.PipeFunction<List,?> function)
gather in interface GremlinFluentPipeline<S,E>function - a transformation to apply to the gathered listpublic GremlinPipeline<S,E> _()
_ in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,E> memoize(String namedStep)
memoize in interface GremlinFluentPipeline<S,E>namedStep - the name of the step previous to memoize to@Deprecated public GremlinPipeline<S,E> memoize(int numberedStep)
memoize in interface GremlinFluentPipeline<S,E>numberedStep - the number of the step previous to memoize topublic GremlinPipeline<S,E> memoize(String namedStep, Map map)
memoize in interface GremlinFluentPipeline<S,E>namedStep - the name of the step previous to memoize tomap - the memoization map@Deprecated public GremlinPipeline<S,E> memoize(int numberedStep, Map map)
memoize in interface GremlinFluentPipeline<S,E>numberedStep - the number of the step previous to memoize tomap - the memoization mappublic GremlinPipeline<S,E> order()
order in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,E> order(com.tinkerpop.pipes.transform.TransformPipe.Order order)
order in interface GremlinFluentPipeline<S,E>order - if the stream is composed of comparable objects, then increment or decrement can be specifiedpublic GremlinPipeline<S,E> order(Tokens.T order)
order - if the stream is composed of comparable objects, then increment or decrement can be specifiedpublic GremlinPipeline<S,E> order(com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.util.structures.Pair<E,E>,Integer> compareFunction)
order in interface GremlinFluentPipeline<S,E>compareFunction - a comparator function of two objects of type Epublic GremlinPipeline<S,List> path(com.tinkerpop.pipes.PipeFunction... pathFunctions)
path in interface GremlinFluentPipeline<S,E>pathFunctions - the path function of the PathPipepublic GremlinPipeline<S,?> scatter()
scatter in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,com.tinkerpop.pipes.util.structures.Row> select(Collection<String> stepNames, com.tinkerpop.pipes.PipeFunction... columnFunctions)
select in interface GremlinFluentPipeline<S,E>stepNames - the name of the steps in the expression to retrieve the objects fromcolumnFunctions - the functions to apply to the column objects prior to filling the Rowpublic GremlinPipeline<S,com.tinkerpop.pipes.util.structures.Row> select(com.tinkerpop.pipes.PipeFunction... columnFunctions)
select in interface GremlinFluentPipeline<S,E>columnFunctions - the functions to apply to the column objects prior to filling the Rowpublic GremlinPipeline<S,com.tinkerpop.pipes.util.structures.Row> select()
select in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,List> shuffle()
shuffle in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,?> cap()
cap in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,?> orderMap(com.tinkerpop.pipes.transform.TransformPipe.Order order)
orderMap in interface GremlinFluentPipeline<S,E>order - if the values implement Comparable, then a increment or decrement sort is usablepublic GremlinPipeline<S,?> orderMap(Tokens.T order)
order - if the values implement Comparable, then a increment or decrement sort is usablepublic GremlinPipeline<S,?> orderMap(com.tinkerpop.pipes.PipeFunction<com.tinkerpop.pipes.util.structures.Pair<Map.Entry,Map.Entry>,Integer> compareFunction)
orderMap in interface GremlinFluentPipeline<S,E>compareFunction - a function to compare to map entriespublic <T> GremlinPipeline<S,T> transform(com.tinkerpop.pipes.PipeFunction<E,T> function)
transform in interface GremlinFluentPipeline<S,E>function - the transformation function of the pipepublic GremlinPipeline<S,E> as(String name)
as in interface GremlinFluentPipeline<S,E>name - the name of the AsPipepublic GremlinPipeline<S,S> start(S object)
start in interface GremlinFluentPipeline<S,E>object - the object that serves as the start of the pipeline (iterator/iterable are unfolded)public long count()
public void iterate()
public Collection<E> fill(Collection<E> collection)
public GremlinPipeline<S,E> enablePath()
enablePath in interface GremlinFluentPipeline<S,E>public GremlinPipeline<S,E> optimize(boolean optimize)
optimize - whether to optimize the pipeline from here on or notpublic void remove()
public <E> GremlinPipeline<S,E> cast(Class<E> end)
Copyright © 2009-2014. All Rights Reserved.