GraphTraversal.cap(String, String...)
to return the result as part of the traversal iteration.@Deprecated public class EmbeddedRemoteTraversalSideEffects extends AbstractRemoteTraversalSideEffects
EmbeddedRemoteTraversal
to help simulate a remote traversal side-effects within the same JVM.TraversalSideEffects.Exceptions
Constructor and Description |
---|
EmbeddedRemoteTraversalSideEffects(TraversalSideEffects sideEffects)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<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. |
add, clone, getReducer, getSackInitialValue, getSackMerger, getSackSplitter, getSupplier, mergeInto, register, registerIfAbsent, remove, set, setSack
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
exists, forEach, isEmpty
public EmbeddedRemoteTraversalSideEffects(TraversalSideEffects sideEffects)
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)
.Copyright © 2013–2020 Apache Software Foundation. All rights reserved.