Class AbstractTraversalStrategy
Provides a common base class for strategies that are only included in Bytecode
to be applied remotely.
Inheritance
AbstractTraversalStrategy
Assembly: Gremlin.Net.dll
Syntax
public abstract class AbstractTraversalStrategy : ITraversalStrategy, IEquatable<AbstractTraversalStrategy>
Constructors
AbstractTraversalStrategy(string)
Declaration
protected AbstractTraversalStrategy(string fqcn)
Parameters
Type |
Name |
Description |
string |
fqcn |
The fully qualified class name (FQCN) from the equivalent Java strategy.
|
Fields
ComputerDecorationNamespace
Java namespace for computer decoration strategies.
Declaration
protected const string ComputerDecorationNamespace = "org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.decoration."
Field Value
DecorationNamespace
Java namespace for decoration strategies.
Declaration
protected const string DecorationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration."
Field Value
FinalizationNamespace
Java namespace for finalization strategies.
Declaration
protected const string FinalizationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.finalization."
Field Value
OptimizationNamespace
Java namespace for optimization strategies.
Declaration
protected const string OptimizationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization."
Field Value
VerificationNamespace
Java namespace for verification strategies.
Declaration
protected const string VerificationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.verification."
Field Value
Properties
Configuration
Gets the configuration of the strategy.
Declaration
public Dictionary<string, dynamic?> Configuration { get; }
Property Value
Fqcn
Gets the fully qualified class name (FQCN) from the equivalent Java strategy.
Declaration
public string Fqcn { get; }
Property Value
StrategyName
Gets the name of the strategy.
Declaration
public string StrategyName { get; }
Property Value
Methods
ApplyAsync<TStart, TEnd>(ITraversal<TStart, TEnd>, CancellationToken)
Applies the strategy to the given ITraversal asynchronously.
Declaration
public virtual Task ApplyAsync<TStart, TEnd>(ITraversal<TStart, TEnd> traversal, CancellationToken cancellationToken = default)
Parameters
Type |
Name |
Description |
ITraversal<TStart, TEnd> |
traversal |
The ITraversal the strategy should be applied to.
|
CancellationToken |
cancellationToken |
The token to cancel the operation. The default value is None.
|
Returns
Type Parameters
Name |
Description |
TStart |
|
TEnd |
|
Apply<TStart, TEnd>(ITraversal<TStart, TEnd>)
Declaration
public virtual void Apply<TStart, TEnd>(ITraversal<TStart, TEnd> traversal)
Parameters
Type |
Name |
Description |
ITraversal<TStart, TEnd> |
traversal |
The ITraversal the strategy should be applied to.
|
Type Parameters
Name |
Description |
TStart |
|
TEnd |
|
Equals(AbstractTraversalStrategy?)
Declaration
public bool Equals(AbstractTraversalStrategy? other)
Parameters
Returns
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements