Search Results for

    Show / Hide Table of Contents

    Class GraphTraversal<S, E>

    Graph traversals are the primary way in which graphs are processed.

    Inheritance
    System.Object
    DefaultTraversal<S, E>
    GraphTraversal<S, E>
    Implements
    ITraversal<S, E>
    ITraversal
    System.Collections.Generic.IEnumerator
    System.Collections.Generic.IEnumerator<E>
    System.IDisposable
    System.Collections.IEnumerator
    Inherited Members
    DefaultTraversal<S, E>.Bytecode
    DefaultTraversal<S, E>.IsAnonymous
    DefaultTraversal<S, E>.Traversers
    DefaultTraversal<S, E>.ITraversal.Iterate()
    DefaultTraversal<S, E>.TraversalStrategies
    DefaultTraversal<S, E>.Dispose()
    DefaultTraversal<S, E>.MoveNext()
    DefaultTraversal<S, E>.Reset()
    DefaultTraversal<S, E>.Current
    DefaultTraversal<S, E>.HasNext()
    DefaultTraversal<S, E>.Next()
    DefaultTraversal<S, E>.Next(Int32)
    DefaultTraversal<S, E>.Iterate()
    DefaultTraversal<S, E>.NextTraverser()
    DefaultTraversal<S, E>.ToList()
    DefaultTraversal<S, E>.ToSet()
    DefaultTraversal<S, E>.Promise<TReturn>(Func<ITraversal<S, E>, TReturn>, CancellationToken)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Gremlin.Net.Process.Traversal
    Assembly: cs.temp.dll.dll
    Syntax
    public class GraphTraversal<S, E> : DefaultTraversal<S, E>, ITraversal<S, E>, ITraversal, IEnumerator, IEnumerator<E>, IDisposable, IEnumerator
    Type Parameters
    Name Description
    S
    E

    Constructors

    GraphTraversal()

    Initializes a new instance of the GraphTraversal<S, E> class.

    Declaration
    public GraphTraversal()

    GraphTraversal(ICollection<ITraversalStrategy>, Bytecode)

    Initializes a new instance of the GraphTraversal<S, E> class.

    Declaration
    public GraphTraversal(ICollection<ITraversalStrategy> traversalStrategies, Bytecode bytecode)
    Parameters
    Type Name Description
    System.Collections.Generic.ICollection<ITraversalStrategy> traversalStrategies

    The traversal strategies to be used by this graph traversal at evaluation time.

    Bytecode bytecode

    The Bytecode associated with the construction of this graph traversal.

    Methods

    AddE(ITraversal)

    Adds the addE step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Edge> AddE(ITraversal edgeLabelTraversal)
    Parameters
    Type Name Description
    ITraversal edgeLabelTraversal
    Returns
    Type Description
    GraphTraversal<S, Edge>

    AddE(String)

    Adds the addE step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Edge> AddE(string edgeLabel)
    Parameters
    Type Name Description
    System.String edgeLabel
    Returns
    Type Description
    GraphTraversal<S, Edge>

    AddV()

    Adds the addV step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> AddV()
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    AddV(ITraversal)

    Adds the addV step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> AddV(ITraversal vertexLabelTraversal)
    Parameters
    Type Name Description
    ITraversal vertexLabelTraversal
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    AddV(String)

    Adds the addV step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> AddV(string vertexLabel)
    Parameters
    Type Name Description
    System.String vertexLabel
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    Aggregate(Scope, String)

    Adds the aggregate step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Aggregate(Scope scope, string sideEffectKey)
    Parameters
    Type Name Description
    Scope scope
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<S, E>

    Aggregate(String)

    Adds the aggregate step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Aggregate(string sideEffectKey)
    Parameters
    Type Name Description
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<S, E>

    And(ITraversal[])

    Adds the and step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> And(params ITraversal[] andTraversals)
    Parameters
    Type Name Description
    ITraversal[] andTraversals
    Returns
    Type Description
    GraphTraversal<S, E>

    As(String, String[])

    Adds the as step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> As(string stepLabel, params string[] stepLabels)
    Parameters
    Type Name Description
    System.String stepLabel
    System.String[] stepLabels
    Returns
    Type Description
    GraphTraversal<S, E>

    Barrier()

    Adds the barrier step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Barrier()
    Returns
    Type Description
    GraphTraversal<S, E>

    Barrier(IConsumer)

    Adds the barrier step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Barrier(IConsumer barrierConsumer)
    Parameters
    Type Name Description
    IConsumer barrierConsumer
    Returns
    Type Description
    GraphTraversal<S, E>

    Barrier(Int32)

    Adds the barrier step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Barrier(int maxBarrierSize)
    Parameters
    Type Name Description
    System.Int32 maxBarrierSize
    Returns
    Type Description
    GraphTraversal<S, E>

    Both(String[])

    Adds the both step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> Both(params string[] edgeLabels)
    Parameters
    Type Name Description
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    BothE(String[])

    Adds the bothE step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Edge> BothE(params string[] edgeLabels)
    Parameters
    Type Name Description
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<S, Edge>

    BothV()

    Adds the bothV step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> BothV()
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    Branch<E2>(IFunction)

    Adds the branch step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Branch<E2>(IFunction function)
    Parameters
    Type Name Description
    IFunction function
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Branch<E2>(ITraversal)

    Adds the branch step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Branch<E2>(ITraversal branchTraversal)
    Parameters
    Type Name Description
    ITraversal branchTraversal
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    By()

    Adds the by step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> By()
    Returns
    Type Description
    GraphTraversal<S, E>

    By(IComparator)

    Adds the by step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> By(IComparator comparator)
    Parameters
    Type Name Description
    IComparator comparator
    Returns
    Type Description
    GraphTraversal<S, E>

    By(IFunction)

    Adds the by step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> By(IFunction function)
    Parameters
    Type Name Description
    IFunction function
    Returns
    Type Description
    GraphTraversal<S, E>

    By(IFunction, IComparator)

    Adds the by step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> By(IFunction function, IComparator comparator)
    Parameters
    Type Name Description
    IFunction function
    IComparator comparator
    Returns
    Type Description
    GraphTraversal<S, E>

    By(ITraversal)

    Adds the by step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> By(ITraversal traversal)
    Parameters
    Type Name Description
    ITraversal traversal
    Returns
    Type Description
    GraphTraversal<S, E>

    By(ITraversal, IComparator)

    Adds the by step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> By(ITraversal traversal, IComparator comparator)
    Parameters
    Type Name Description
    ITraversal traversal
    IComparator comparator
    Returns
    Type Description
    GraphTraversal<S, E>

    By(Order)

    Adds the by step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> By(Order order)
    Parameters
    Type Name Description
    Order order
    Returns
    Type Description
    GraphTraversal<S, E>

    By(T)

    Adds the by step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> By(T token)
    Parameters
    Type Name Description
    T token
    Returns
    Type Description
    GraphTraversal<S, E>

    By(String)

    Adds the by step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> By(string key)
    Parameters
    Type Name Description
    System.String key
    Returns
    Type Description
    GraphTraversal<S, E>

    By(String, IComparator)

    Adds the by step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> By(string key, IComparator comparator)
    Parameters
    Type Name Description
    System.String key
    IComparator comparator
    Returns
    Type Description
    GraphTraversal<S, E>

    Call<E2>(String)

    Adds the call step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Call<E2>(string service)
    Parameters
    Type Name Description
    System.String service
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Call<E2>(String, ITraversal)

    Adds the call step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Call<E2>(string service, ITraversal t)
    Parameters
    Type Name Description
    System.String service
    ITraversal t
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Call<E2>(String, IDictionary<Object, Object>)

    Adds the call step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Call<E2>(string service, IDictionary<object, object> m)
    Parameters
    Type Name Description
    System.String service
    System.Collections.Generic.IDictionary<System.Object, System.Object> m
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Call<E2>(String, IDictionary<Object, Object>, ITraversal)

    Adds the call step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Call<E2>(string service, IDictionary<object, object> m, ITraversal t)
    Parameters
    Type Name Description
    System.String service
    System.Collections.Generic.IDictionary<System.Object, System.Object> m
    ITraversal t
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Cap<E2>(String, String[])

    Adds the cap step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Cap<E2>(string sideEffectKey, params string[] sideEffectKeys)
    Parameters
    Type Name Description
    System.String sideEffectKey
    System.String[] sideEffectKeys
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Choose<E2>(IFunction)

    Adds the choose step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Choose<E2>(IFunction choiceFunction)
    Parameters
    Type Name Description
    IFunction choiceFunction
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Choose<E2>(IPredicate, ITraversal)

    Adds the choose step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Choose<E2>(IPredicate choosePredicate, ITraversal trueChoice)
    Parameters
    Type Name Description
    IPredicate choosePredicate
    ITraversal trueChoice
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Choose<E2>(IPredicate, ITraversal, ITraversal)

    Adds the choose step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Choose<E2>(IPredicate choosePredicate, ITraversal trueChoice, ITraversal falseChoice)
    Parameters
    Type Name Description
    IPredicate choosePredicate
    ITraversal trueChoice
    ITraversal falseChoice
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Choose<E2>(ITraversal)

    Adds the choose step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Choose<E2>(ITraversal choiceTraversal)
    Parameters
    Type Name Description
    ITraversal choiceTraversal
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Choose<E2>(ITraversal, ITraversal)

    Adds the choose step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Choose<E2>(ITraversal traversalPredicate, ITraversal trueChoice)
    Parameters
    Type Name Description
    ITraversal traversalPredicate
    ITraversal trueChoice
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Choose<E2>(ITraversal, ITraversal, ITraversal)

    Adds the choose step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Choose<E2>(ITraversal traversalPredicate, ITraversal trueChoice, ITraversal falseChoice)
    Parameters
    Type Name Description
    ITraversal traversalPredicate
    ITraversal trueChoice
    ITraversal falseChoice
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Clone()

    Make a copy of a traversal that is reset for iteration.

    Declaration
    public GraphTraversal<S, E> Clone()
    Returns
    Type Description
    GraphTraversal<S, E>

    Coalesce<E2>(ITraversal[])

    Adds the coalesce step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Coalesce<E2>(params ITraversal[] coalesceTraversals)
    Parameters
    Type Name Description
    ITraversal[] coalesceTraversals
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Coin(Double)

    Adds the coin step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Coin(double probability)
    Parameters
    Type Name Description
    System.Double probability
    Returns
    Type Description
    GraphTraversal<S, E>

    ConnectedComponent()

    Adds the connectedComponent step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> ConnectedComponent()
    Returns
    Type Description
    GraphTraversal<S, E>

    Constant<E2>(E2)

    Adds the constant step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Constant<E2>(E2 e)
    Parameters
    Type Name Description
    E2 e
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Count()

    Adds the count step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, long> Count()
    Returns
    Type Description
    GraphTraversal<S, System.Int64>

    Count(Scope)

    Adds the count step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, long> Count(Scope scope)
    Parameters
    Type Name Description
    Scope scope
    Returns
    Type Description
    GraphTraversal<S, System.Int64>

    CyclicPath()

    Adds the cyclicPath step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> CyclicPath()
    Returns
    Type Description
    GraphTraversal<S, E>

    Dedup(Scope, String[])

    Adds the dedup step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Dedup(Scope scope, params string[] dedupLabels)
    Parameters
    Type Name Description
    Scope scope
    System.String[] dedupLabels
    Returns
    Type Description
    GraphTraversal<S, E>

    Dedup(String[])

    Adds the dedup step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Dedup(params string[] dedupLabels)
    Parameters
    Type Name Description
    System.String[] dedupLabels
    Returns
    Type Description
    GraphTraversal<S, E>

    Drop()

    Adds the drop step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Drop()
    Returns
    Type Description
    GraphTraversal<S, E>

    Element()

    Adds the element step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Element> Element()
    Returns
    Type Description
    GraphTraversal<S, Element>

    ElementMap<E2>(String[])

    Adds the elementMap step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, IDictionary<object, E2>> ElementMap<E2>(params string[] propertyKeys)
    Parameters
    Type Name Description
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.IDictionary<System.Object, E2>>
    Type Parameters
    Name Description
    E2

    Emit()

    Adds the emit step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Emit()
    Returns
    Type Description
    GraphTraversal<S, E>

    Emit(IPredicate)

    Adds the emit step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Emit(IPredicate emitPredicate)
    Parameters
    Type Name Description
    IPredicate emitPredicate
    Returns
    Type Description
    GraphTraversal<S, E>

    Emit(ITraversal)

    Adds the emit step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Emit(ITraversal emitTraversal)
    Parameters
    Type Name Description
    ITraversal emitTraversal
    Returns
    Type Description
    GraphTraversal<S, E>

    Fail()

    Adds the fail step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Fail()
    Returns
    Type Description
    GraphTraversal<S, E>

    Fail(String)

    Adds the fail step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Fail(string msg)
    Parameters
    Type Name Description
    System.String msg
    Returns
    Type Description
    GraphTraversal<S, E>

    Fail(String, IDictionary<String, Object>)

    Adds the fail step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Fail(string msg, IDictionary<string, object> m)
    Parameters
    Type Name Description
    System.String msg
    System.Collections.Generic.IDictionary<System.String, System.Object> m
    Returns
    Type Description
    GraphTraversal<S, E>

    Filter(IPredicate)

    Adds the filter step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Filter(IPredicate predicate)
    Parameters
    Type Name Description
    IPredicate predicate
    Returns
    Type Description
    GraphTraversal<S, E>

    Filter(ITraversal)

    Adds the filter step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Filter(ITraversal filterTraversal)
    Parameters
    Type Name Description
    ITraversal filterTraversal
    Returns
    Type Description
    GraphTraversal<S, E>

    FlatMap<E2>(IFunction)

    Adds the flatMap step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> FlatMap<E2>(IFunction function)
    Parameters
    Type Name Description
    IFunction function
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    FlatMap<E2>(ITraversal)

    Adds the flatMap step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> FlatMap<E2>(ITraversal flatMapTraversal)
    Parameters
    Type Name Description
    ITraversal flatMapTraversal
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Fold()

    Adds the fold step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, IList<E>> Fold()
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.IList<E>>

    Fold<E2>(E2, IBiFunction)

    Adds the fold step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Fold<E2>(E2 seed, IBiFunction foldFunction)
    Parameters
    Type Name Description
    E2 seed
    IBiFunction foldFunction
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    From(ITraversal)

    Adds the from step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> From(ITraversal fromVertex)
    Parameters
    Type Name Description
    ITraversal fromVertex
    Returns
    Type Description
    GraphTraversal<S, E>

    From(String)

    Adds the from step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> From(string fromStepLabel)
    Parameters
    Type Name Description
    System.String fromStepLabel
    Returns
    Type Description
    GraphTraversal<S, E>

    From(Vertex)

    Adds the from step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> From(Vertex fromVertex)
    Parameters
    Type Name Description
    Vertex fromVertex
    Returns
    Type Description
    GraphTraversal<S, E>

    Group(String)

    Adds the group step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Group(string sideEffectKey)
    Parameters
    Type Name Description
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<S, E>

    Group<K, V>()

    Adds the group step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, IDictionary<K, V>> Group<K, V>()
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.IDictionary<K, V>>
    Type Parameters
    Name Description
    K
    V

    GroupCount(String)

    Adds the groupCount step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> GroupCount(string sideEffectKey)
    Parameters
    Type Name Description
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<S, E>

    GroupCount<K>()

    Adds the groupCount step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, IDictionary<K, long>> GroupCount<K>()
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.IDictionary<K, System.Int64>>
    Type Parameters
    Name Description
    K

    Has(T, ITraversal)

    Adds the has step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Has(T accessor, ITraversal propertyTraversal)
    Parameters
    Type Name Description
    T accessor
    ITraversal propertyTraversal
    Returns
    Type Description
    GraphTraversal<S, E>

    Has(T, P)

    Adds the has step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Has(T accessor, P predicate)
    Parameters
    Type Name Description
    T accessor
    P predicate
    Returns
    Type Description
    GraphTraversal<S, E>

    Has(T, Object)

    Adds the has step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Has(T accessor, object value)
    Parameters
    Type Name Description
    T accessor
    System.Object value
    Returns
    Type Description
    GraphTraversal<S, E>

    Has(String)

    Adds the has step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Has(string propertyKey)
    Parameters
    Type Name Description
    System.String propertyKey
    Returns
    Type Description
    GraphTraversal<S, E>

    Has(String, ITraversal)

    Adds the has step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Has(string propertyKey, ITraversal propertyTraversal)
    Parameters
    Type Name Description
    System.String propertyKey
    ITraversal propertyTraversal
    Returns
    Type Description
    GraphTraversal<S, E>

    Has(String, P)

    Adds the has step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Has(string propertyKey, P predicate)
    Parameters
    Type Name Description
    System.String propertyKey
    P predicate
    Returns
    Type Description
    GraphTraversal<S, E>

    Has(String, Object)

    Adds the has step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Has(string propertyKey, object value)
    Parameters
    Type Name Description
    System.String propertyKey
    System.Object value
    Returns
    Type Description
    GraphTraversal<S, E>

    Has(String, String, P)

    Adds the has step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Has(string label, string propertyKey, P predicate)
    Parameters
    Type Name Description
    System.String label
    System.String propertyKey
    P predicate
    Returns
    Type Description
    GraphTraversal<S, E>

    Has(String, String, Object)

    Adds the has step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Has(string label, string propertyKey, object value)
    Parameters
    Type Name Description
    System.String label
    System.String propertyKey
    System.Object value
    Returns
    Type Description
    GraphTraversal<S, E>

    HasId(P)

    Adds the hasId step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> HasId(P predicate)
    Parameters
    Type Name Description
    P predicate
    Returns
    Type Description
    GraphTraversal<S, E>

    HasId(Object, Object[])

    Adds the hasId step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> HasId(object id, params object[] otherIds)
    Parameters
    Type Name Description
    System.Object id
    System.Object[] otherIds
    Returns
    Type Description
    GraphTraversal<S, E>

    HasKey(P)

    Adds the hasKey step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> HasKey(P predicate)
    Parameters
    Type Name Description
    P predicate
    Returns
    Type Description
    GraphTraversal<S, E>

    HasKey(String, String[])

    Adds the hasKey step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> HasKey(string label, params string[] otherLabels)
    Parameters
    Type Name Description
    System.String label
    System.String[] otherLabels
    Returns
    Type Description
    GraphTraversal<S, E>

    HasLabel(P)

    Adds the hasLabel step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> HasLabel(P predicate)
    Parameters
    Type Name Description
    P predicate
    Returns
    Type Description
    GraphTraversal<S, E>

    HasLabel(String, String[])

    Adds the hasLabel step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> HasLabel(string label, params string[] otherLabels)
    Parameters
    Type Name Description
    System.String label
    System.String[] otherLabels
    Returns
    Type Description
    GraphTraversal<S, E>

    HasNot(String)

    Adds the hasNot step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> HasNot(string propertyKey)
    Parameters
    Type Name Description
    System.String propertyKey
    Returns
    Type Description
    GraphTraversal<S, E>

    HasValue(P)

    Adds the hasValue step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> HasValue(P predicate)
    Parameters
    Type Name Description
    P predicate
    Returns
    Type Description
    GraphTraversal<S, E>

    HasValue(Object, Object[])

    Adds the hasValue step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> HasValue(object value, params object[] otherValues)
    Parameters
    Type Name Description
    System.Object value
    System.Object[] otherValues
    Returns
    Type Description
    GraphTraversal<S, E>

    Id()

    Adds the id step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, object> Id()
    Returns
    Type Description
    GraphTraversal<S, System.Object>

    Identity()

    Adds the identity step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Identity()
    Returns
    Type Description
    GraphTraversal<S, E>

    In(String[])

    Adds the in step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> In(params string[] edgeLabels)
    Parameters
    Type Name Description
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    Index<E2>()

    Adds the index step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Index<E2>()
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    InE(String[])

    Adds the inE step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Edge> InE(params string[] edgeLabels)
    Parameters
    Type Name Description
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<S, Edge>

    Inject(E[])

    Adds the inject step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Inject(params E[] injections)
    Parameters
    Type Name Description
    E[] injections
    Returns
    Type Description
    GraphTraversal<S, E>

    InV()

    Adds the inV step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> InV()
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    Is(P)

    Adds the is step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Is(P predicate)
    Parameters
    Type Name Description
    P predicate
    Returns
    Type Description
    GraphTraversal<S, E>

    Is(Object)

    Adds the is step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Is(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type Description
    GraphTraversal<S, E>

    Key()

    Adds the key step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, string> Key()
    Returns
    Type Description
    GraphTraversal<S, System.String>

    Label()

    Adds the label step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, string> Label()
    Returns
    Type Description
    GraphTraversal<S, System.String>

    Limit<E2>(Scope, Int64)

    Adds the limit step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Limit<E2>(Scope scope, long limit)
    Parameters
    Type Name Description
    Scope scope
    System.Int64 limit
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Limit<E2>(Int64)

    Adds the limit step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Limit<E2>(long limit)
    Parameters
    Type Name Description
    System.Int64 limit
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Local<E2>(ITraversal)

    Adds the local step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Local<E2>(ITraversal localTraversal)
    Parameters
    Type Name Description
    ITraversal localTraversal
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Loops()

    Adds the loops step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, int> Loops()
    Returns
    Type Description
    GraphTraversal<S, System.Int32>

    Loops(String)

    Adds the loops step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, int> Loops(string loopName)
    Parameters
    Type Name Description
    System.String loopName
    Returns
    Type Description
    GraphTraversal<S, System.Int32>

    Map<E2>(IFunction)

    Adds the map step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Map<E2>(IFunction function)
    Parameters
    Type Name Description
    IFunction function
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Map<E2>(ITraversal)

    Adds the map step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Map<E2>(ITraversal mapTraversal)
    Parameters
    Type Name Description
    ITraversal mapTraversal
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Match<E2>(ITraversal[])

    Adds the match step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, IDictionary<string, E2>> Match<E2>(params ITraversal[] matchTraversals)
    Parameters
    Type Name Description
    ITraversal[] matchTraversals
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.IDictionary<System.String, E2>>
    Type Parameters
    Name Description
    E2

    Math(String)

    Adds the math step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, double> Math(string expression)
    Parameters
    Type Name Description
    System.String expression
    Returns
    Type Description
    GraphTraversal<S, System.Double>

    Max<E2>()

    Adds the max step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Max<E2>()
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Max<E2>(Scope)

    Adds the max step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Max<E2>(Scope scope)
    Parameters
    Type Name Description
    Scope scope
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Mean<E2>()

    Adds the mean step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Mean<E2>()
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Mean<E2>(Scope)

    Adds the mean step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Mean<E2>(Scope scope)
    Parameters
    Type Name Description
    Scope scope
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    MergeE()

    Adds the mergeE step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Edge> MergeE()
    Returns
    Type Description
    GraphTraversal<S, Edge>

    MergeE(ITraversal)

    Adds the mergeE step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Edge> MergeE(ITraversal t)
    Parameters
    Type Name Description
    ITraversal t
    Returns
    Type Description
    GraphTraversal<S, Edge>

    MergeE(IDictionary<Object, Object>)

    Adds the mergeE step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Edge> MergeE(IDictionary<object, object> m)
    Parameters
    Type Name Description
    System.Collections.Generic.IDictionary<System.Object, System.Object> m
    Returns
    Type Description
    GraphTraversal<S, Edge>

    MergeV()

    Adds the mergeV step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> MergeV()
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    MergeV(ITraversal)

    Adds the mergeV step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> MergeV(ITraversal t)
    Parameters
    Type Name Description
    ITraversal t
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    MergeV(IDictionary<Object, Object>)

    Adds the mergeV step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> MergeV(IDictionary<object, object> m)
    Parameters
    Type Name Description
    System.Collections.Generic.IDictionary<System.Object, System.Object> m
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    Min<E2>()

    Adds the min step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Min<E2>()
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Min<E2>(Scope)

    Adds the min step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Min<E2>(Scope scope)
    Parameters
    Type Name Description
    Scope scope
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    None()

    Adds the none step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> None()
    Returns
    Type Description
    GraphTraversal<S, E>

    Not(ITraversal)

    Adds the not step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Not(ITraversal notTraversal)
    Parameters
    Type Name Description
    ITraversal notTraversal
    Returns
    Type Description
    GraphTraversal<S, E>

    Option(ITraversal)

    Adds the option step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Option(ITraversal traversalOption)
    Parameters
    Type Name Description
    ITraversal traversalOption
    Returns
    Type Description
    GraphTraversal<S, E>

    Option(Object, ITraversal)

    Adds the option step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Option(object pickToken, ITraversal traversalOption)
    Parameters
    Type Name Description
    System.Object pickToken
    ITraversal traversalOption
    Returns
    Type Description
    GraphTraversal<S, E>

    Option(Object, IDictionary<Object, Object>)

    Adds the option step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Option(object pickToken, IDictionary<object, object> traversalOption)
    Parameters
    Type Name Description
    System.Object pickToken
    System.Collections.Generic.IDictionary<System.Object, System.Object> traversalOption
    Returns
    Type Description
    GraphTraversal<S, E>

    Optional<E2>(ITraversal)

    Adds the optional step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Optional<E2>(ITraversal optionalTraversal)
    Parameters
    Type Name Description
    ITraversal optionalTraversal
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Or(ITraversal[])

    Adds the or step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Or(params ITraversal[] orTraversals)
    Parameters
    Type Name Description
    ITraversal[] orTraversals
    Returns
    Type Description
    GraphTraversal<S, E>

    Order()

    Adds the order step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Order()
    Returns
    Type Description
    GraphTraversal<S, E>

    Order(Scope)

    Adds the order step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Order(Scope scope)
    Parameters
    Type Name Description
    Scope scope
    Returns
    Type Description
    GraphTraversal<S, E>

    OtherV()

    Adds the otherV step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> OtherV()
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    Out(String[])

    Adds the out step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> Out(params string[] edgeLabels)
    Parameters
    Type Name Description
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    OutE(String[])

    Adds the outE step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Edge> OutE(params string[] edgeLabels)
    Parameters
    Type Name Description
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<S, Edge>

    OutV()

    Adds the outV step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> OutV()
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    PageRank()

    Adds the pageRank step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> PageRank()
    Returns
    Type Description
    GraphTraversal<S, E>

    PageRank(Double)

    Adds the pageRank step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> PageRank(double alpha)
    Parameters
    Type Name Description
    System.Double alpha
    Returns
    Type Description
    GraphTraversal<S, E>

    Path()

    Adds the path step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Path> Path()
    Returns
    Type Description
    GraphTraversal<S, Path>

    PeerPressure()

    Adds the peerPressure step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> PeerPressure()
    Returns
    Type Description
    GraphTraversal<S, E>

    Profile(String)

    Adds the profile step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Profile(string sideEffectKey)
    Parameters
    Type Name Description
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<S, E>

    Profile<E2>()

    Adds the profile step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Profile<E2>()
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Program(Object)

    Adds the program step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Program(object vertexProgram)
    Parameters
    Type Name Description
    System.Object vertexProgram
    Returns
    Type Description
    GraphTraversal<S, E>

    Project<E2>(String, String[])

    Adds the project step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, IDictionary<string, E2>> Project<E2>(string projectKey, params string[] otherProjectKeys)
    Parameters
    Type Name Description
    System.String projectKey
    System.String[] otherProjectKeys
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.IDictionary<System.String, E2>>
    Type Parameters
    Name Description
    E2

    Properties<E2>(String[])

    Adds the properties step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Properties<E2>(params string[] propertyKeys)
    Parameters
    Type Name Description
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Property(Cardinality, Object, Object, Object[])

    Adds the property step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Property(Cardinality cardinality, object key, object value, params object[] keyValues)
    Parameters
    Type Name Description
    Cardinality cardinality
    System.Object key
    System.Object value
    System.Object[] keyValues
    Returns
    Type Description
    GraphTraversal<S, E>

    Property(Object, Object, Object[])

    Adds the property step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Property(object key, object value, params object[] keyValues)
    Parameters
    Type Name Description
    System.Object key
    System.Object value
    System.Object[] keyValues
    Returns
    Type Description
    GraphTraversal<S, E>

    PropertyMap<E2>(String[])

    Adds the propertyMap step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, IDictionary<string, E2>> PropertyMap<E2>(params string[] propertyKeys)
    Parameters
    Type Name Description
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.IDictionary<System.String, E2>>
    Type Parameters
    Name Description
    E2

    Range<E2>(Scope, Int64, Int64)

    Adds the range step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Range<E2>(Scope scope, long low, long high)
    Parameters
    Type Name Description
    Scope scope
    System.Int64 low
    System.Int64 high
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Range<E2>(Int64, Int64)

    Adds the range step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Range<E2>(long low, long high)
    Parameters
    Type Name Description
    System.Int64 low
    System.Int64 high
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Read()

    Adds the read step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Read()
    Returns
    Type Description
    GraphTraversal<S, E>

    Repeat(ITraversal)

    Adds the repeat step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Repeat(ITraversal repeatTraversal)
    Parameters
    Type Name Description
    ITraversal repeatTraversal
    Returns
    Type Description
    GraphTraversal<S, E>

    Repeat(String, ITraversal)

    Adds the repeat step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Repeat(string loopName, ITraversal repeatTraversal)
    Parameters
    Type Name Description
    System.String loopName
    ITraversal repeatTraversal
    Returns
    Type Description
    GraphTraversal<S, E>

    Sack(IBiFunction)

    Adds the sack step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Sack(IBiFunction sackOperator)
    Parameters
    Type Name Description
    IBiFunction sackOperator
    Returns
    Type Description
    GraphTraversal<S, E>

    Sack<E2>()

    Adds the sack step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Sack<E2>()
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Sample(Scope, Int32)

    Adds the sample step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Sample(Scope scope, int amountToSample)
    Parameters
    Type Name Description
    Scope scope
    System.Int32 amountToSample
    Returns
    Type Description
    GraphTraversal<S, E>

    Sample(Int32)

    Adds the sample step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Sample(int amountToSample)
    Parameters
    Type Name Description
    System.Int32 amountToSample
    Returns
    Type Description
    GraphTraversal<S, E>

    Select<E2>(Column)

    Adds the select step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, ICollection<E2>> Select<E2>(Column column)
    Parameters
    Type Name Description
    Column column
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.ICollection<E2>>
    Type Parameters
    Name Description
    E2

    Select<E2>(ITraversal)

    Adds the select step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Select<E2>(ITraversal keyTraversal)
    Parameters
    Type Name Description
    ITraversal keyTraversal
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Select<E2>(Pop, ITraversal)

    Adds the select step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Select<E2>(Pop pop, ITraversal keyTraversal)
    Parameters
    Type Name Description
    Pop pop
    ITraversal keyTraversal
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Select<E2>(Pop, String)

    Adds the select step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Select<E2>(Pop pop, string selectKey)
    Parameters
    Type Name Description
    Pop pop
    System.String selectKey
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Select<E2>(Pop, String, String, String[])

    Adds the select step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, IDictionary<string, E2>> Select<E2>(Pop pop, string selectKey1, string selectKey2, params string[] otherSelectKeys)
    Parameters
    Type Name Description
    Pop pop
    System.String selectKey1
    System.String selectKey2
    System.String[] otherSelectKeys
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.IDictionary<System.String, E2>>
    Type Parameters
    Name Description
    E2

    Select<E2>(String)

    Adds the select step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Select<E2>(string selectKey)
    Parameters
    Type Name Description
    System.String selectKey
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Select<E2>(String, String, String[])

    Adds the select step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, IDictionary<string, E2>> Select<E2>(string selectKey1, string selectKey2, params string[] otherSelectKeys)
    Parameters
    Type Name Description
    System.String selectKey1
    System.String selectKey2
    System.String[] otherSelectKeys
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.IDictionary<System.String, E2>>
    Type Parameters
    Name Description
    E2

    ShortestPath()

    Adds the shortestPath step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Path> ShortestPath()
    Returns
    Type Description
    GraphTraversal<S, Path>

    SideEffect(IConsumer)

    Adds the sideEffect step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> SideEffect(IConsumer consumer)
    Parameters
    Type Name Description
    IConsumer consumer
    Returns
    Type Description
    GraphTraversal<S, E>

    SideEffect(ITraversal)

    Adds the sideEffect step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> SideEffect(ITraversal sideEffectTraversal)
    Parameters
    Type Name Description
    ITraversal sideEffectTraversal
    Returns
    Type Description
    GraphTraversal<S, E>

    SimplePath()

    Adds the simplePath step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> SimplePath()
    Returns
    Type Description
    GraphTraversal<S, E>

    Skip<E2>(Scope, Int64)

    Adds the skip step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Skip<E2>(Scope scope, long skip)
    Parameters
    Type Name Description
    Scope scope
    System.Int64 skip
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Skip<E2>(Int64)

    Adds the skip step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Skip<E2>(long skip)
    Parameters
    Type Name Description
    System.Int64 skip
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Store(String)

    Adds the store step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Store(string sideEffectKey)
    Parameters
    Type Name Description
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<S, E>

    Subgraph(String)

    Adds the subgraph step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Edge> Subgraph(string sideEffectKey)
    Parameters
    Type Name Description
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<S, Edge>

    Sum<E2>()

    Adds the sum step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Sum<E2>()
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Sum<E2>(Scope)

    Adds the sum step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Sum<E2>(Scope scope)
    Parameters
    Type Name Description
    Scope scope
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Tail<E2>()

    Adds the tail step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Tail<E2>()
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Tail<E2>(Scope)

    Adds the tail step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Tail<E2>(Scope scope)
    Parameters
    Type Name Description
    Scope scope
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Tail<E2>(Scope, Int64)

    Adds the tail step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Tail<E2>(Scope scope, long limit)
    Parameters
    Type Name Description
    Scope scope
    System.Int64 limit
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Tail<E2>(Int64)

    Adds the tail step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Tail<E2>(long limit)
    Parameters
    Type Name Description
    System.Int64 limit
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    TimeLimit(Int64)

    Adds the timeLimit step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> TimeLimit(long timeLimit)
    Parameters
    Type Name Description
    System.Int64 timeLimit
    Returns
    Type Description
    GraphTraversal<S, E>

    Times(Int32)

    Adds the times step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Times(int maxLoops)
    Parameters
    Type Name Description
    System.Int32 maxLoops
    Returns
    Type Description
    GraphTraversal<S, E>

    To(Direction, String[])

    Adds the to step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> To(Direction direction, params string[] edgeLabels)
    Parameters
    Type Name Description
    Direction direction
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    To(ITraversal)

    Adds the to step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> To(ITraversal toVertex)
    Parameters
    Type Name Description
    ITraversal toVertex
    Returns
    Type Description
    GraphTraversal<S, E>

    To(String)

    Adds the to step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> To(string toStepLabel)
    Parameters
    Type Name Description
    System.String toStepLabel
    Returns
    Type Description
    GraphTraversal<S, E>

    To(Vertex)

    Adds the to step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> To(Vertex toVertex)
    Parameters
    Type Name Description
    Vertex toVertex
    Returns
    Type Description
    GraphTraversal<S, E>

    ToE(Direction, String[])

    Adds the toE step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Edge> ToE(Direction direction, params string[] edgeLabels)
    Parameters
    Type Name Description
    Direction direction
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<S, Edge>

    ToV(Direction)

    Adds the toV step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> ToV(Direction direction)
    Parameters
    Type Name Description
    Direction direction
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    Tree(String)

    Adds the tree step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Tree(string sideEffectKey)
    Parameters
    Type Name Description
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<S, E>

    Tree<E2>()

    Adds the tree step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Tree<E2>()
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Unfold<E2>()

    Adds the unfold step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Unfold<E2>()
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Union<E2>(ITraversal[])

    Adds the union step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Union<E2>(params ITraversal[] unionTraversals)
    Parameters
    Type Name Description
    ITraversal[] unionTraversals
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Until(IPredicate)

    Adds the until step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Until(IPredicate untilPredicate)
    Parameters
    Type Name Description
    IPredicate untilPredicate
    Returns
    Type Description
    GraphTraversal<S, E>

    Until(ITraversal)

    Adds the until step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Until(ITraversal untilTraversal)
    Parameters
    Type Name Description
    ITraversal untilTraversal
    Returns
    Type Description
    GraphTraversal<S, E>

    V(Object[])

    Adds the V step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, Vertex> V(params object[] vertexIdsOrElements)
    Parameters
    Type Name Description
    System.Object[] vertexIdsOrElements
    Returns
    Type Description
    GraphTraversal<S, Vertex>

    Value<E2>()

    Adds the value step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Value<E2>()
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    ValueMap<TKey, TValue>(Boolean, String[])

    Adds the valueMap step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, IDictionary<TKey, TValue>> ValueMap<TKey, TValue>(bool includeTokens, params string[] propertyKeys)
    Parameters
    Type Name Description
    System.Boolean includeTokens
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.IDictionary<TKey, TValue>>
    Type Parameters
    Name Description
    TKey
    TValue

    ValueMap<TKey, TValue>(String[])

    Adds the valueMap step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, IDictionary<TKey, TValue>> ValueMap<TKey, TValue>(params string[] propertyKeys)
    Parameters
    Type Name Description
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<S, System.Collections.Generic.IDictionary<TKey, TValue>>
    Type Parameters
    Name Description
    TKey
    TValue

    Values<E2>(String[])

    Adds the values step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E2> Values<E2>(params string[] propertyKeys)
    Parameters
    Type Name Description
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<S, E2>
    Type Parameters
    Name Description
    E2

    Where(ITraversal)

    Adds the where step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Where(ITraversal whereTraversal)
    Parameters
    Type Name Description
    ITraversal whereTraversal
    Returns
    Type Description
    GraphTraversal<S, E>

    Where(P)

    Adds the where step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Where(P predicate)
    Parameters
    Type Name Description
    P predicate
    Returns
    Type Description
    GraphTraversal<S, E>

    Where(String, P)

    Adds the where step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Where(string startKey, P predicate)
    Parameters
    Type Name Description
    System.String startKey
    P predicate
    Returns
    Type Description
    GraphTraversal<S, E>

    With(String)

    Adds the with step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> With(string key)
    Parameters
    Type Name Description
    System.String key
    Returns
    Type Description
    GraphTraversal<S, E>

    With(String, Object)

    Adds the with step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> With(string key, object value)
    Parameters
    Type Name Description
    System.String key
    System.Object value
    Returns
    Type Description
    GraphTraversal<S, E>

    Write()

    Adds the write step to this GraphTraversal<S, E>.

    Declaration
    public GraphTraversal<S, E> Write()
    Returns
    Type Description
    GraphTraversal<S, E>

    Implements

    ITraversal<S, E>
    ITraversal
    System.Collections.Generic.IEnumerator
    System.Collections.Generic.IEnumerator<T>
    System.IDisposable
    System.Collections.IEnumerator
    In This Article
    Back to top Copyright © 2018 The Apache Software Foundation