public class EmbeddedRemoteTraversal<S,E> extends AbstractRemoteTraversal<S,E>
EmbeddedRemoteConnection
to help simulate a remote traversal execution within the same JVM.Traversal.Admin<S,E>, Traversal.Exceptions, Traversal.Symbols
Constructor and Description |
---|
EmbeddedRemoteTraversal(Traversal<S,E> t) |
Modifier and Type | Method and Description |
---|---|
RemoteTraversalSideEffects |
getSideEffects()
Deprecated.
as of release 3.3.8, not directly replaced, see
Admin#getSideEffects() for more information. |
boolean |
hasNext() |
E |
next() |
Traverser.Admin<E> |
nextTraverser()
Note that internally
AbstractRemoteTraversal.nextTraverser() is called from within a loop (specifically in
AbstractStep.next() that breaks properly when a NoSuchElementException is thrown. |
addStep, applyStrategies, clone, getBytecode, getGraph, getParent, getSteps, getStrategies, getTraverserGenerator, getTraverserRequirements, isLocked, removeStep, setGraph, setParent, setSideEffects, setStrategies
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStart, addStarts, addStep, equals, getEndStep, getStartStep, removeStep, reset
public Traverser.Admin<E> nextTraverser()
AbstractRemoteTraversal
AbstractRemoteTraversal.nextTraverser()
is called from within a loop (specifically in
AbstractStep.next()
that breaks properly when a NoSuchElementException
is thrown. In
other words the "results" should be iterated to force that failure.nextTraverser
in interface Traversal.Admin<S,E>
nextTraverser
in class AbstractRemoteTraversal<S,E>
@Deprecated public RemoteTraversalSideEffects getSideEffects()
Admin#getSideEffects()
for more information.RemoteTraversal
g.V().aggregate('a').values('name')
.public boolean hasNext()
public E next()
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.