public interface RemoteTraversal<S,E> extends Traversal.Admin<S,E>
RemoteTraversalis returned from
RemoteConnection.submitAsync(Bytecode). It is iterated from within
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
NoSuchElementExceptionis thrown. In other words the "results" should be iterated to force that failure.
|Modifier and Type||Method and Description|
Returns remote side-effects generated by the traversal so that they can be accessible to the client.
addStart, addStarts, addStep, addStep, applyStrategies, clone, equals, getBytecode, getEndStep, getGraph, getParent, getStartStep, getSteps, getStrategies, getTraverserGenerator, getTraverserRequirements, isLocked, nextTraverser, removeStep, removeStep, reset, setGraph, setParent, setSideEffects, setStrategies
asAdmin, close, explain, fill, forEachRemaining, forEachRemaining, iterate, next, none, profile, promise, toBulkSet, toList, toSet, toStream, tryNext
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.