public final class ElementValueTraversal<V> extends AbstractLambdaTraversal<Element,V>
Element or Map to avoid strategy application costs. Note
that as of 3.4.5 this class is now poorly named as it was originally designed to work with Element only.
In future 3.5.0 this class will likely be renamed but to ensure that we get this revised functionality for
Map without introducing a breaking change this name will remain the same.Traversal.Admin<S,E>, Traversal.Exceptions, Traversal.SymbolsbypassTraversal| Constructor and Description |
|---|
ElementValueTraversal(String propertyKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStart(Traverser.Admin<Element> 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, setStrategiesfinalize, getClass, notify, notifyAll, wait, wait, waitaddStarts, addStep, equals, getEndStep, getStartStep, getTraversalSource, removeSteppublic ElementValueTraversal(String propertyKey)
public V next()
public boolean hasNext()
public void addStart(Traverser.Admin<Element> start)
Traversal.AdminTraverser.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<Element,V>addStart in class AbstractLambdaTraversal<Element,V>start - a traverser to add to the traversalpublic String getPropertyKey()
public int hashCode()
hashCode in class AbstractLambdaTraversal<Element,V>public boolean equals(Object other)
equals in class AbstractLambdaTraversal<Element,V>Copyright © 2013–2020 Apache Software Foundation. All rights reserved.