GraphTraversal.cap(String, String...)
to return the result as part of the traversal iteration.@Deprecated public class DriverRemoteTraversalSideEffects extends AbstractRemoteTraversalSideEffects
TraversalSideEffects
. This class is not thread safe.TraversalSideEffects.Exceptions
Constructor and Description |
---|
DriverRemoteTraversalSideEffects(Client client,
ResultSet rs)
Deprecated.
|
DriverRemoteTraversalSideEffects(Client client,
UUID serverSideEffect,
Host host,
CompletableFuture<Void> ready)
Deprecated.
As of release 3.4.0, replaced by
DriverRemoteTraversalSideEffects(Client, ResultSet) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
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.
|
<V> V |
get(String key)
Deprecated.
Get the sideEffect associated with the provided key.
|
Set<String> |
keys()
Deprecated.
The keys of the sideEffect which includes registered
Supplier keys. |
Map<String,Object> |
statusAttributes()
Deprecated.
Gets the status attributes from the response from the server.
|
String |
toString()
Deprecated.
|
add, clone, getReducer, getSackInitialValue, getSackMerger, getSackSplitter, getSupplier, mergeInto, register, registerIfAbsent, remove, set, setSack
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
exists, forEach, isEmpty
@Deprecated public DriverRemoteTraversalSideEffects(Client client, UUID serverSideEffect, Host host, CompletableFuture<Void> ready)
DriverRemoteTraversalSideEffects(Client, ResultSet)
public Map<String,Object> statusAttributes()
public <V> V get(String key) throws IllegalArgumentException
TraversalSideEffects
Supplier
for that key, generate the object, store the object in the sideEffects, and return it.V
- the type of the value to retrievekey
- the key to get the value forIllegalArgumentException
- if the key does not reference an object or a registered supplier.public Set<String> keys()
TraversalSideEffects
Supplier
keys. In essence, that which is possible
to TraversalSideEffects.get(String)
.public void close() throws Exception
RemoteTraversalSideEffects
Exception
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.