public interface RemoteTraversal<S,E> extends Traversal.Admin<S,E>
RemoteTraversal
is returned from RemoteConnection.submitAsync(Bytecode)
. It is iterated from
within RemoteStep
using Traversal.Admin.nextTraverser()
. Implementations should typically be given a "result" from
a remote source where the traversal was executed. The "result" should be an iterator which preferably has its data
bulked.
Note that internally Traversal.Admin.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.Traversal.Admin<S,E>, Traversal.Exceptions, Traversal.Symbols
Modifier and Type | Method and Description |
---|---|
RemoteTraversalSideEffects |
getSideEffects()
Deprecated.
as of release 3.3.8, not directly replaced, see
Admin#getSideEffects() for more information. |
addStart, addStarts, addStep, addStep, applyStrategies, clone, equals, getBytecode, getEndStep, getGraph, getParent, getStartStep, getSteps, getStrategies, getTraversalSource, getTraverserGenerator, getTraverserRequirements, isLocked, nextTraverser, removeStep, removeStep, reset, setGraph, setParent, setSideEffects, setStrategies
@Deprecated RemoteTraversalSideEffects getSideEffects()
Admin#getSideEffects()
for more information.g.V().aggregate('a').values('name')
.getSideEffects
in interface Traversal.Admin<S,E>
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.