public final class ValueTraversal<T,V> extends AbstractLambdaTraversal<T,V>
Element
or Map
to avoid strategy application costs.Traversal.Admin<S,E>, Traversal.Exceptions, Traversal.Symbols
bypassTraversal
Constructor and Description |
---|
ValueTraversal(String propertyKey) |
Modifier and Type | Method and Description |
---|---|
void |
addStart(Traverser.Admin<T> start)
Add a single
Traverser.Admin object to the head of the traversal. |
boolean |
equals(Object other) |
String |
getPropertyKey() |
int |
hashCode() |
boolean |
hasNext() |
V |
next() |
String |
toString() |
addStep, applyStrategies, clone, getBytecode, getGraph, getParent, getSideEffects, getSteps, getStrategies, getTraverserGenerator, getTraverserRequirements, isLocked, nextTraverser, removeStep, reset, setBypassTraversal, setGraph, setParent, setSideEffects, setStrategies
finalize, getClass, notify, notifyAll, wait, wait, wait
addStarts, addStep, equals, getEndStep, getStartStep, getTraversalSource, getTraverserSetSupplier, isRoot, removeStep
public ValueTraversal(String propertyKey)
public V next()
public boolean hasNext()
public void addStart(Traverser.Admin<T> start)
Traversal.Admin
Traverser.Admin
object to the head of the traversal. Users should typically not need
to call this method. For dynamic inject of data, they should use InjectStep
.addStart
in interface Traversal.Admin<T,V>
addStart
in class AbstractLambdaTraversal<T,V>
start
- a traverser to add to the traversalpublic String getPropertyKey()
public int hashCode()
hashCode
in class AbstractLambdaTraversal<T,V>
public boolean equals(Object other)
equals
in class AbstractLambdaTraversal<T,V>
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.