public interface RemoteTraversalSideEffects extends TraversalSideEffects, AutoCloseable
g.V().aggregate('a').values('name')
) can be exposed through this interface. As an example,
with TinkerPop's DriverRemoteConnection
that connects to Gremlin Server as a "remote", the side-effects
are left on the server. The RemoteTraversalSideEffects
implementation, in that case, lazily loads those
side-effects when requested. Implementations should attempt to match the features of the locally processed
DefaultTraversalSideEffects
to keep consistency.TraversalSideEffects.Exceptions
Modifier and Type | Method and Description |
---|---|
default void |
close()
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.
|
add, clone, exists, forEach, get, getReducer, getSackInitialValue, getSackMerger, getSackSplitter, getSupplier, isEmpty, keys, mergeInto, register, registerIfAbsent, remove, set, setSack
default void close() throws Exception
close
in interface AutoCloseable
close
in interface TraversalSideEffects
Exception
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.