Search Results for

    Show / Hide Table of Contents

    Class AbstractTraversalStrategy

    Provides a common base class for strategies that are only included in Bytecode to be applied remotely.

    Inheritance
    object
    AbstractTraversalStrategy
    ConnectiveStrategy
    ElementIdStrategy
    HaltedTraverserStrategy
    OptionsStrategy
    PartitionStrategy
    SeedStrategy
    SubgraphStrategy
    VertexProgramStrategy
    MatchAlgorithmStrategy
    AdjacentToIncidentStrategy
    CountStrategy
    EarlyLimitStrategy
    FilterRankingStrategy
    GraphFilterStrategy
    IdentityRemovalStrategy
    IncidentToAdjacentStrategy
    InlineFilterStrategy
    LazyBarrierStrategy
    MatchPredicateStrategy
    OrderLimitStrategy
    PathProcessorStrategy
    PathRetractionStrategy
    ProductiveByStrategy
    RepeatUnrollStrategy
    EdgeLabelVerificationStrategy
    LambdaRestrictionStrategy
    ReadOnlyStrategy
    ReservedKeysVerificationStrategy
    Implements
    ITraversalStrategy
    IEquatable<AbstractTraversalStrategy>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Gremlin.Net.Process.Traversal.Strategy
    Assembly: Gremlin.Net.dll
    Syntax
    public abstract class AbstractTraversalStrategy : ITraversalStrategy, IEquatable<AbstractTraversalStrategy>

    Constructors

    AbstractTraversalStrategy(string)

    Creates a new AbstractTraversalStrategy instance.

    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
    Type Description
    string

    DecorationNamespace

    Java namespace for decoration strategies.

    Declaration
    protected const string DecorationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration."
    Field Value
    Type Description
    string

    FinalizationNamespace

    Java namespace for finalization strategies.

    Declaration
    protected const string FinalizationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.finalization."
    Field Value
    Type Description
    string

    OptimizationNamespace

    Java namespace for optimization strategies.

    Declaration
    protected const string OptimizationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization."
    Field Value
    Type Description
    string

    VerificationNamespace

    Java namespace for verification strategies.

    Declaration
    protected const string VerificationNamespace = "org.apache.tinkerpop.gremlin.process.traversal.strategy.verification."
    Field Value
    Type Description
    string

    Properties

    Configuration

    Gets the configuration of the strategy.

    Declaration
    public Dictionary<string, dynamic?> Configuration { get; }
    Property Value
    Type Description
    Dictionary<string, object>

    Fqcn

    Gets the fully qualified class name (FQCN) from the equivalent Java strategy.

    Declaration
    public string Fqcn { get; }
    Property Value
    Type Description
    string

    StrategyName

    Gets the name of the strategy.

    Declaration
    public string StrategyName { get; }
    Property Value
    Type Description
    string

    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 Description
    Task
    Type Parameters
    Name Description
    TStart
    TEnd

    Apply<TStart, TEnd>(ITraversal<TStart, TEnd>)

    Applies the strategy to the given ITraversal.

    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
    Type Name Description
    AbstractTraversalStrategy other
    Returns
    Type Description
    bool

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    ITraversalStrategy
    IEquatable<T>
    In this article
    Back to top Copyright © 2018 The Apache Software Foundation