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)
Assembly: cs.temp.dll.dll
Syntax
public abstract class AbstractTraversalStrategy : ITraversalStrategy, IEquatable<AbstractTraversalStrategy>
Constructors
AbstractTraversalStrategy(String)
Declaration
protected AbstractTraversalStrategy(string fqcn)
Parameters
Type |
Name |
Description |
System.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
Type |
Description |
System.String |
|
DecorationNamespace
Java namespace for decoration strategies.
Declaration
protected const string DecorationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration."
Field Value
Type |
Description |
System.String |
|
FinalizationNamespace
Java namespace for finalization strategies.
Declaration
protected const string FinalizationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.finalization."
Field Value
Type |
Description |
System.String |
|
OptimizationNamespace
Java namespace for optimization strategies.
Declaration
protected const string OptimizationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization."
Field Value
Type |
Description |
System.String |
|
VerificationNamespace
Java namespace for verification strategies.
Declaration
protected const string VerificationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.verification."
Field Value
Type |
Description |
System.String |
|
Properties
Configuration
Gets the configuration of the strategy.
Declaration
public Dictionary<string, dynamic> Configuration { get; }
Property Value
Type |
Description |
Dictionary<System.String, System.Object> |
|
Fqcn
Gets the fully qualified class name (FQCN) from the equivalent Java strategy.
Declaration
public string Fqcn { get; }
Property Value
Type |
Description |
System.String |
|
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>)
Declaration
public virtual void Apply<S, E>(ITraversal<S, E> traversal)
Parameters
Type Parameters
ApplyAsync<S, E>(ITraversal<S, E>, CancellationToken)
Applies the strategy to the given ITraversal asynchronously.
Declaration
public virtual Task ApplyAsync<S, E>(ITraversal<S, E> traversal, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
ITraversal<S, E> |
traversal |
The ITraversal the strategy should be applied to.
|
CancellationToken |
cancellationToken |
The token to cancel the operation. The default value is None.
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
Equals(AbstractTraversalStrategy)
Declaration
public bool Equals(AbstractTraversalStrategy other)
Parameters
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>