Class AbstractTraversalStrategy
Provides a common base class for strategies that are only included in Bytecode to be applied remotely.
Inheritance
System.Object
AbstractTraversalStrategy
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Process.Traversal.Strategy
Assembly: cs.temp.dll.dll
Syntax
public abstract class AbstractTraversalStrategy : ITraversalStrategy, IEquatable<AbstractTraversalStrategy>
Properties
Configuration
Gets the configuration of the strategy.
Declaration
public Dictionary<string, dynamic> Configuration { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.Object> |
StrategyName
Gets the name of the strategy.
Declaration
public string StrategyName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Apply<S, E>(ITraversal<S, E>)
Applies the strategy to the given ITraversal.
Declaration
public virtual void Apply<S, E>(ITraversal<S, E> traversal)
Parameters
Type | Name | Description |
---|---|---|
ITraversal<S, E> | traversal | The ITraversal the strategy should be applied to. |
Type Parameters
Name | Description |
---|---|
S | |
E |
ApplyAsync<S, E>(ITraversal<S, E>)
Applies the strategy to the given ITraversal asynchronously.
Declaration
public virtual Task ApplyAsync<S, E>(ITraversal<S, E> traversal)
Parameters
Type | Name | Description |
---|---|---|
ITraversal<S, E> | traversal | The ITraversal the strategy should be applied to. |
Returns
Type | Description |
---|---|
Task |
Type Parameters
Name | Description |
---|---|
S | |
E |
Equals(AbstractTraversalStrategy)
Declaration
public bool Equals(AbstractTraversalStrategy other)
Parameters
Type | Name | Description |
---|---|---|
AbstractTraversalStrategy | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>