Search Results for

    Show / Hide Table of Contents

    Interface ITraversalStrategy

    A ITraversalStrategy defines a particular atomic operation for mutating a ITraversal prior to its evaluation.

    Namespace: Gremlin.Net.Process.Traversal
    Assembly: Gremlin.Net.dll
    Syntax
    public interface ITraversalStrategy

    Methods

    ApplyAsync<S, E>(ITraversal<S, E>, CancellationToken)

    Applies the strategy to the given ITraversal asynchronously.

    Declaration
    Task ApplyAsync<S, E>(ITraversal<S, E> traversal, CancellationToken cancellationToken = default)
    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
    Task
    Type Parameters
    Name Description
    S
    E

    Apply<S, E>(ITraversal<S, E>)

    Applies the strategy to the given ITraversal.

    Declaration
    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
    In this article
    Back to top Copyright © 2018 The Apache Software Foundation