GraphTraversal.cap(String, String...)to return the result as part of the traversal iteration.
@Deprecated public interface RemoteTraversalSideEffects extends TraversalSideEffects, AutoCloseable
g.V().aggregate('a').values('name')) can be exposed through this interface. As an example, with TinkerPop's
DriverRemoteConnectionthat connects to Gremlin Server as a "remote", the side-effects are left on the server. The
RemoteTraversalSideEffectsimplementation, in that case, lazily loads those side-effects when requested. Implementations should attempt to match the features of the locally processed
DefaultTraversalSideEffectsto keep consistency.
|Modifier and Type||Method and Description|
If the "remote" that actually executed the traversal maintained resources that can be released, when the user is done with the side-effects, then this method can be used to trigger that release.
default void close() throws Exception
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.