public final class RemoteStrategy extends AbstractTraversalStrategy<TraversalStrategy.DecorationStrategy> implements TraversalStrategy.DecorationStrategy
Traversal by appending a RemoteStep to its end. That step will submit the
Traversal to a RemoteConnection instance which will typically send it to a remote server for
execution and return results.TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategySTRATEGY| Constructor and Description |
|---|
RemoteStrategy(RemoteConnection remoteConnection) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Traversal.Admin<?,?> traversal) |
Set<Class<? extends TraversalStrategy.DecorationStrategy>> |
applyPost()
The set of strategies that must be executed after this strategy is executed.
|
static RemoteStrategy |
instance()
Deprecated.
As of release 3.2.2, replaced by
RemoteStrategy(RemoteConnection) where this method should
only be used by RemoteGraph for backward compatibility. |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getTraversalCategoryapplyPrior, getConfigurationpublic RemoteStrategy(RemoteConnection remoteConnection)
@Deprecated public static RemoteStrategy instance()
RemoteStrategy(RemoteConnection) where this method should
only be used by RemoteGraph for backward compatibility.public Set<Class<? extends TraversalStrategy.DecorationStrategy>> applyPost()
TraversalStrategyapplyPost in interface TraversalStrategy<TraversalStrategy.DecorationStrategy>public void apply(Traversal.Admin<?,?> traversal)
apply in interface TraversalStrategy<TraversalStrategy.DecorationStrategy>Copyright © 2013–2020 Apache Software Foundation. All rights reserved.