Search Results for

    Show / Hide Table of Contents

    Class __

    An anonymous GraphTraversal<S, E>.

    Inheritance
    object
    __
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Gremlin.Net.Process.Traversal
    Assembly: Gremlin.Net.dll
    Syntax
    public static class __

    Methods

    AddE(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the addE step to that traversal.

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

    AddE(string)

    Spawns a GraphTraversal<S, E> and adds the addE step to that traversal.

    Declaration
    public static GraphTraversal<object, Edge> AddE(string edgeLabel)
    Parameters
    Type Name Description
    string edgeLabel
    Returns
    Type Description
    GraphTraversal<object, Edge>

    AddV()

    Spawns a GraphTraversal<S, E> and adds the addV step to that traversal.

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

    AddV(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the addV step to that traversal.

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

    AddV(string)

    Spawns a GraphTraversal<S, E> and adds the addV step to that traversal.

    Declaration
    public static GraphTraversal<object, Vertex> AddV(string vertexLabel)
    Parameters
    Type Name Description
    string vertexLabel
    Returns
    Type Description
    GraphTraversal<object, Vertex>

    Aggregate(Scope, string)

    Spawns a GraphTraversal<S, E> and adds the aggregate step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Aggregate(Scope scope, string sideEffectKey)
    Parameters
    Type Name Description
    Scope scope
    string sideEffectKey
    Returns
    Type Description
    GraphTraversal<object, object>

    Aggregate(string)

    Spawns a GraphTraversal<S, E> and adds the aggregate step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Aggregate(string sideEffectKey)
    Parameters
    Type Name Description
    string sideEffectKey
    Returns
    Type Description
    GraphTraversal<object, object>

    And(params ITraversal[])

    Spawns a GraphTraversal<S, E> and adds the and step to that traversal.

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

    As(string, params string[])

    Spawns a GraphTraversal<S, E> and adds the as step to that traversal.

    Declaration
    public static GraphTraversal<object, object> As(string label, params string[] labels)
    Parameters
    Type Name Description
    string label
    string[] labels
    Returns
    Type Description
    GraphTraversal<object, object>

    Barrier()

    Spawns a GraphTraversal<S, E> and adds the barrier step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Barrier()
    Returns
    Type Description
    GraphTraversal<object, object>

    Barrier(IConsumer)

    Spawns a GraphTraversal<S, E> and adds the barrier step to that traversal.

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

    Barrier(int)

    Spawns a GraphTraversal<S, E> and adds the barrier step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Barrier(int maxBarrierSize)
    Parameters
    Type Name Description
    int maxBarrierSize
    Returns
    Type Description
    GraphTraversal<object, object>

    Both(params string[])

    Spawns a GraphTraversal<S, E> and adds the both step to that traversal.

    Declaration
    public static GraphTraversal<object, Vertex> Both(params string[] edgeLabels)
    Parameters
    Type Name Description
    string[] edgeLabels
    Returns
    Type Description
    GraphTraversal<object, Vertex>

    BothE(params string[])

    Spawns a GraphTraversal<S, E> and adds the bothE step to that traversal.

    Declaration
    public static GraphTraversal<object, Edge> BothE(params string[] edgeLabels)
    Parameters
    Type Name Description
    string[] edgeLabels
    Returns
    Type Description
    GraphTraversal<object, Edge>

    BothV()

    Spawns a GraphTraversal<S, E> and adds the bothV step to that traversal.

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

    Branch<E2>(IFunction)

    Spawns a GraphTraversal<S, E> and adds the branch step to that traversal.

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

    Branch<E2>(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the branch step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Branch<E2>(ITraversal traversalFunction)
    Parameters
    Type Name Description
    ITraversal traversalFunction
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Call<E2>(string)

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

    Declaration
    public static GraphTraversal<object, E2> Call<E2>(string service)
    Parameters
    Type Name Description
    string service
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Call<E2>(string, ITraversal)

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

    Declaration
    public static GraphTraversal<object, E2> Call<E2>(string service, ITraversal t)
    Parameters
    Type Name Description
    string service
    ITraversal t
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Call<E2>(string, IDictionary<object, object>)

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

    Declaration
    public static GraphTraversal<object, E2> Call<E2>(string service, IDictionary<object, object> m)
    Parameters
    Type Name Description
    string service
    IDictionary<object, object> m
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Call<E2>(string, IDictionary<object, object>, ITraversal)

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

    Declaration
    public static GraphTraversal<object, E2> Call<E2>(string service, IDictionary<object, object> m, ITraversal t)
    Parameters
    Type Name Description
    string service
    IDictionary<object, object> m
    ITraversal t
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Cap<E2>(string, params string[])

    Spawns a GraphTraversal<S, E> and adds the cap step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Cap<E2>(string sideEffectKey, params string[] sideEffectKeys)
    Parameters
    Type Name Description
    string sideEffectKey
    string[] sideEffectKeys
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Choose<E2>(IFunction)

    Spawns a GraphTraversal<S, E> and adds the choose step to that traversal.

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

    Choose<E2>(IPredicate, ITraversal)

    Spawns a GraphTraversal<S, E> and adds the choose step to that traversal.

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

    Choose<E2>(IPredicate, ITraversal, ITraversal)

    Spawns a GraphTraversal<S, E> and adds the choose step to that traversal.

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

    Choose<E2>(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the choose step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Choose<E2>(ITraversal traversalFunction)
    Parameters
    Type Name Description
    ITraversal traversalFunction
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Choose<E2>(ITraversal, ITraversal)

    Spawns a GraphTraversal<S, E> and adds the choose step to that traversal.

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

    Choose<E2>(ITraversal, ITraversal, ITraversal)

    Spawns a GraphTraversal<S, E> and adds the choose step to that traversal.

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

    Coalesce<E2>(params ITraversal[])

    Spawns a GraphTraversal<S, E> and adds the coalesce step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Coalesce<E2>(params ITraversal[] traversals)
    Parameters
    Type Name Description
    ITraversal[] traversals
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Coin(double)

    Spawns a GraphTraversal<S, E> and adds the coin step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Coin(double probability)
    Parameters
    Type Name Description
    double probability
    Returns
    Type Description
    GraphTraversal<object, object>

    Constant<E2>(E2)

    Spawns a GraphTraversal<S, E> and adds the constant step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Constant<E2>(E2 a)
    Parameters
    Type Name Description
    E2 a
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Count()

    Spawns a GraphTraversal<S, E> and adds the count step to that traversal.

    Declaration
    public static GraphTraversal<object, long> Count()
    Returns
    Type Description
    GraphTraversal<object, long>

    Count(Scope)

    Spawns a GraphTraversal<S, E> and adds the count step to that traversal.

    Declaration
    public static GraphTraversal<object, long> Count(Scope scope)
    Parameters
    Type Name Description
    Scope scope
    Returns
    Type Description
    GraphTraversal<object, long>

    CyclicPath()

    Spawns a GraphTraversal<S, E> and adds the cyclicPath step to that traversal.

    Declaration
    public static GraphTraversal<object, object> CyclicPath()
    Returns
    Type Description
    GraphTraversal<object, object>

    Dedup(Scope, params string[])

    Spawns a GraphTraversal<S, E> and adds the dedup step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Dedup(Scope scope, params string[] dedupLabels)
    Parameters
    Type Name Description
    Scope scope
    string[] dedupLabels
    Returns
    Type Description
    GraphTraversal<object, object>

    Dedup(params string[])

    Spawns a GraphTraversal<S, E> and adds the dedup step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Dedup(params string[] dedupLabels)
    Parameters
    Type Name Description
    string[] dedupLabels
    Returns
    Type Description
    GraphTraversal<object, object>

    Drop()

    Spawns a GraphTraversal<S, E> and adds the drop step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Drop()
    Returns
    Type Description
    GraphTraversal<object, object>

    Element()

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

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

    ElementMap<E2>(params string[])

    Spawns a GraphTraversal<S, E> and adds the elementMap step to that traversal.

    Declaration
    public static GraphTraversal<object, IDictionary<object, E2>> ElementMap<E2>(params string[] propertyKeys)
    Parameters
    Type Name Description
    string[] propertyKeys
    Returns
    Type Description
    GraphTraversal<object, IDictionary<object, E2>>
    Type Parameters
    Name Description
    E2

    Emit()

    Spawns a GraphTraversal<S, E> and adds the emit step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Emit()
    Returns
    Type Description
    GraphTraversal<object, object>

    Emit(IPredicate)

    Spawns a GraphTraversal<S, E> and adds the emit step to that traversal.

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

    Emit(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the emit step to that traversal.

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

    Fail()

    Spawns a GraphTraversal<S, E> and adds the fail step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Fail()
    Returns
    Type Description
    GraphTraversal<object, object>

    Fail(string)

    Spawns a GraphTraversal<S, E> and adds the fail step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Fail(string msg)
    Parameters
    Type Name Description
    string msg
    Returns
    Type Description
    GraphTraversal<object, object>

    Filter(IPredicate)

    Spawns a GraphTraversal<S, E> and adds the filter step to that traversal.

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

    Filter(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the filter step to that traversal.

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

    FlatMap<E2>(IFunction)

    Spawns a GraphTraversal<S, E> and adds the flatMap step to that traversal.

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

    FlatMap<E2>(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the flatMap step to that traversal.

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

    Fold<E2>()

    Spawns a GraphTraversal<S, E> and adds the fold step to that traversal.

    Declaration
    public static GraphTraversal<object, IList<E2>> Fold<E2>()
    Returns
    Type Description
    GraphTraversal<object, IList<E2>>
    Type Parameters
    Name Description
    E2

    Fold<E2>(E2, IBiFunction)

    Spawns a GraphTraversal<S, E> and adds the fold step to that traversal.

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

    Group(string)

    Spawns a GraphTraversal<S, E> and adds the group step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Group(string sideEffectKey)
    Parameters
    Type Name Description
    string sideEffectKey
    Returns
    Type Description
    GraphTraversal<object, object>

    GroupCount(string)

    Spawns a GraphTraversal<S, E> and adds the groupCount step to that traversal.

    Declaration
    public static GraphTraversal<object, object> GroupCount(string sideEffectKey)
    Parameters
    Type Name Description
    string sideEffectKey
    Returns
    Type Description
    GraphTraversal<object, object>

    GroupCount<K>()

    Spawns a GraphTraversal<S, E> and adds the groupCount step to that traversal.

    Declaration
    public static GraphTraversal<object, IDictionary<K, long>> GroupCount<K>()
    Returns
    Type Description
    GraphTraversal<object, IDictionary<K, long>>
    Type Parameters
    Name Description
    K

    Group<K, V>()

    Spawns a GraphTraversal<S, E> and adds the group step to that traversal.

    Declaration
    public static GraphTraversal<object, IDictionary<K, V>> Group<K, V>()
    Returns
    Type Description
    GraphTraversal<object, IDictionary<K, V>>
    Type Parameters
    Name Description
    K
    V

    Has(T, ITraversal)

    Spawns a GraphTraversal<S, E> and adds the has step to that traversal.

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

    Has(T, P)

    Spawns a GraphTraversal<S, E> and adds the has step to that traversal.

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

    Has(T, object)

    Spawns a GraphTraversal<S, E> and adds the has step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Has(T accessor, object value)
    Parameters
    Type Name Description
    T accessor
    object value
    Returns
    Type Description
    GraphTraversal<object, object>

    Has(string)

    Spawns a GraphTraversal<S, E> and adds the has step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Has(string propertyKey)
    Parameters
    Type Name Description
    string propertyKey
    Returns
    Type Description
    GraphTraversal<object, object>

    Has(string, ITraversal)

    Spawns a GraphTraversal<S, E> and adds the has step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Has(string propertyKey, ITraversal propertyTraversal)
    Parameters
    Type Name Description
    string propertyKey
    ITraversal propertyTraversal
    Returns
    Type Description
    GraphTraversal<object, object>

    Has(string, P)

    Spawns a GraphTraversal<S, E> and adds the has step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Has(string propertyKey, P predicate)
    Parameters
    Type Name Description
    string propertyKey
    P predicate
    Returns
    Type Description
    GraphTraversal<object, object>

    Has(string, object)

    Spawns a GraphTraversal<S, E> and adds the has step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Has(string propertyKey, object value)
    Parameters
    Type Name Description
    string propertyKey
    object value
    Returns
    Type Description
    GraphTraversal<object, object>

    Has(string, string, P)

    Spawns a GraphTraversal<S, E> and adds the has step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Has(string label, string propertyKey, P predicate)
    Parameters
    Type Name Description
    string label
    string propertyKey
    P predicate
    Returns
    Type Description
    GraphTraversal<object, object>

    Has(string, string, object)

    Spawns a GraphTraversal<S, E> and adds the has step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Has(string label, string propertyKey, object value)
    Parameters
    Type Name Description
    string label
    string propertyKey
    object value
    Returns
    Type Description
    GraphTraversal<object, object>

    HasId(P)

    Spawns a GraphTraversal<S, E> and adds the hasId step to that traversal.

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

    HasId(object, params object[])

    Spawns a GraphTraversal<S, E> and adds the hasId step to that traversal.

    Declaration
    public static GraphTraversal<object, object> HasId(object id, params object[] otherIds)
    Parameters
    Type Name Description
    object id
    object[] otherIds
    Returns
    Type Description
    GraphTraversal<object, object>

    HasKey(P)

    Spawns a GraphTraversal<S, E> and adds the hasKey step to that traversal.

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

    HasKey(string, params string[])

    Spawns a GraphTraversal<S, E> and adds the hasKey step to that traversal.

    Declaration
    public static GraphTraversal<object, object> HasKey(string label, params string[] otherLabels)
    Parameters
    Type Name Description
    string label
    string[] otherLabels
    Returns
    Type Description
    GraphTraversal<object, object>

    HasLabel(P)

    Spawns a GraphTraversal<S, E> and adds the hasLabel step to that traversal.

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

    HasLabel(string, params string[])

    Spawns a GraphTraversal<S, E> and adds the hasLabel step to that traversal.

    Declaration
    public static GraphTraversal<object, object> HasLabel(string label, params string[] otherLabels)
    Parameters
    Type Name Description
    string label
    string[] otherLabels
    Returns
    Type Description
    GraphTraversal<object, object>

    HasNot(string)

    Spawns a GraphTraversal<S, E> and adds the hasNot step to that traversal.

    Declaration
    public static GraphTraversal<object, object> HasNot(string propertyKey)
    Parameters
    Type Name Description
    string propertyKey
    Returns
    Type Description
    GraphTraversal<object, object>

    HasValue(P)

    Spawns a GraphTraversal<S, E> and adds the hasValue step to that traversal.

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

    HasValue(object, params object[])

    Spawns a GraphTraversal<S, E> and adds the hasValue step to that traversal.

    Declaration
    public static GraphTraversal<object, object> HasValue(object value, params object[] values)
    Parameters
    Type Name Description
    object value
    object[] values
    Returns
    Type Description
    GraphTraversal<object, object>

    Id()

    Spawns a GraphTraversal<S, E> and adds the id step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Id()
    Returns
    Type Description
    GraphTraversal<object, object>

    Identity()

    Spawns a GraphTraversal<S, E> and adds the identity step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Identity()
    Returns
    Type Description
    GraphTraversal<object, object>

    In(params string[])

    Spawns a GraphTraversal<S, E> and adds the in step to that traversal.

    Declaration
    public static GraphTraversal<object, Vertex> In(params string[] edgeLabels)
    Parameters
    Type Name Description
    string[] edgeLabels
    Returns
    Type Description
    GraphTraversal<object, Vertex>

    InE(params string[])

    Spawns a GraphTraversal<S, E> and adds the inE step to that traversal.

    Declaration
    public static GraphTraversal<object, Edge> InE(params string[] edgeLabels)
    Parameters
    Type Name Description
    string[] edgeLabels
    Returns
    Type Description
    GraphTraversal<object, Edge>

    InV()

    Spawns a GraphTraversal<S, E> and adds the inV step to that traversal.

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

    Index<E2>()

    Spawns a GraphTraversal<S, E> and adds the index step to that traversal.

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

    Inject(params object[])

    Spawns a GraphTraversal<S, E> and adds the inject step to that traversal.

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

    Is(P)

    Spawns a GraphTraversal<S, E> and adds the is step to that traversal.

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

    Is(object)

    Spawns a GraphTraversal<S, E> and adds the is step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Is(object value)
    Parameters
    Type Name Description
    object value
    Returns
    Type Description
    GraphTraversal<object, object>

    Key()

    Spawns a GraphTraversal<S, E> and adds the key step to that traversal.

    Declaration
    public static GraphTraversal<object, string> Key()
    Returns
    Type Description
    GraphTraversal<object, string>

    Label()

    Spawns a GraphTraversal<S, E> and adds the label step to that traversal.

    Declaration
    public static GraphTraversal<object, string> Label()
    Returns
    Type Description
    GraphTraversal<object, string>

    Limit<E2>(Scope, long)

    Spawns a GraphTraversal<S, E> and adds the limit step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Limit<E2>(Scope scope, long limit)
    Parameters
    Type Name Description
    Scope scope
    long limit
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Limit<E2>(long)

    Spawns a GraphTraversal<S, E> and adds the limit step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Limit<E2>(long limit)
    Parameters
    Type Name Description
    long limit
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Local<E2>(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the local step to that traversal.

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

    Loops()

    Spawns a GraphTraversal<S, E> and adds the loops step to that traversal.

    Declaration
    public static GraphTraversal<object, int> Loops()
    Returns
    Type Description
    GraphTraversal<object, int>

    Loops(string)

    Spawns a GraphTraversal<S, E> and adds the loops step to that traversal.

    Declaration
    public static GraphTraversal<object, int> Loops(string loopName)
    Parameters
    Type Name Description
    string loopName
    Returns
    Type Description
    GraphTraversal<object, int>

    Map<E2>(IFunction)

    Spawns a GraphTraversal<S, E> and adds the map step to that traversal.

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

    Map<E2>(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the map step to that traversal.

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

    Match<E2>(params ITraversal[])

    Spawns a GraphTraversal<S, E> and adds the match step to that traversal.

    Declaration
    public static GraphTraversal<object, IDictionary<string, E2>> Match<E2>(params ITraversal[] matchTraversals)
    Parameters
    Type Name Description
    ITraversal[] matchTraversals
    Returns
    Type Description
    GraphTraversal<object, IDictionary<string, E2>>
    Type Parameters
    Name Description
    E2

    Math(string)

    Spawns a GraphTraversal<S, E> and adds the math step to that traversal.

    Declaration
    public static GraphTraversal<object, double> Math(string expression)
    Parameters
    Type Name Description
    string expression
    Returns
    Type Description
    GraphTraversal<object, double>

    Max<E2>()

    Spawns a GraphTraversal<S, E> and adds the max step to that traversal.

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

    Max<E2>(Scope)

    Spawns a GraphTraversal<S, E> and adds the max step to that traversal.

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

    Mean<E2>()

    Spawns a GraphTraversal<S, E> and adds the mean step to that traversal.

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

    Mean<E2>(Scope)

    Spawns a GraphTraversal<S, E> and adds the mean step to that traversal.

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

    MergeE()

    Spawns a GraphTraversal<S, E> and adds the mergeE step to that traversal.

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

    MergeE(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the mergeE step to that traversal.

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

    MergeE(IDictionary<object, object>)

    Spawns a GraphTraversal<S, E> and adds the mergeE step to that traversal.

    Declaration
    public static GraphTraversal<object, Edge> MergeE(IDictionary<object, object> m)
    Parameters
    Type Name Description
    IDictionary<object, object> m
    Returns
    Type Description
    GraphTraversal<object, Edge>

    MergeV()

    Spawns a GraphTraversal<S, E> and adds the mergeV step to that traversal.

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

    MergeV(ITraversal)

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

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

    MergeV(IDictionary<object, object>)

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

    Declaration
    public static GraphTraversal<object, Vertex> MergeV(IDictionary<object, object> m)
    Parameters
    Type Name Description
    IDictionary<object, object> m
    Returns
    Type Description
    GraphTraversal<object, Vertex>

    Min<E2>()

    Spawns a GraphTraversal<S, E> and adds the min step to that traversal.

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

    Min<E2>(Scope)

    Spawns a GraphTraversal<S, E> and adds the min step to that traversal.

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

    Not(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the not step to that traversal.

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

    Optional<E2>(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the optional step to that traversal.

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

    Or(params ITraversal[])

    Spawns a GraphTraversal<S, E> and adds the or step to that traversal.

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

    Order()

    Spawns a GraphTraversal<S, E> and adds the order step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Order()
    Returns
    Type Description
    GraphTraversal<object, object>

    Order(Scope)

    Spawns a GraphTraversal<S, E> and adds the order step to that traversal.

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

    OtherV()

    Spawns a GraphTraversal<S, E> and adds the otherV step to that traversal.

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

    Out(params string[])

    Spawns a GraphTraversal<S, E> and adds the out step to that traversal.

    Declaration
    public static GraphTraversal<object, Vertex> Out(params string[] edgeLabels)
    Parameters
    Type Name Description
    string[] edgeLabels
    Returns
    Type Description
    GraphTraversal<object, Vertex>

    OutE(params string[])

    Spawns a GraphTraversal<S, E> and adds the outE step to that traversal.

    Declaration
    public static GraphTraversal<object, Edge> OutE(params string[] edgeLabels)
    Parameters
    Type Name Description
    string[] edgeLabels
    Returns
    Type Description
    GraphTraversal<object, Edge>

    OutV()

    Spawns a GraphTraversal<S, E> and adds the outV step to that traversal.

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

    Path()

    Spawns a GraphTraversal<S, E> and adds the path step to that traversal.

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

    Project<E2>(string, params string[])

    Spawns a GraphTraversal<S, E> and adds the project step to that traversal.

    Declaration
    public static GraphTraversal<object, IDictionary<string, E2>> Project<E2>(string projectKey, params string[] projectKeys)
    Parameters
    Type Name Description
    string projectKey
    string[] projectKeys
    Returns
    Type Description
    GraphTraversal<object, IDictionary<string, E2>>
    Type Parameters
    Name Description
    E2

    Properties<E2>(params string[])

    Spawns a GraphTraversal<S, E> and adds the properties step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Properties<E2>(params string[] propertyKeys)
    Parameters
    Type Name Description
    string[] propertyKeys
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Property(Cardinality, object, object, params object[])

    Spawns a GraphTraversal<S, E> and adds the property step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Property(Cardinality cardinality, object key, object value, params object[] keyValues)
    Parameters
    Type Name Description
    Cardinality cardinality
    object key
    object value
    object[] keyValues
    Returns
    Type Description
    GraphTraversal<object, object>

    Property(object, object, params object[])

    Spawns a GraphTraversal<S, E> and adds the property step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Property(object key, object value, params object[] keyValues)
    Parameters
    Type Name Description
    object key
    object value
    object[] keyValues
    Returns
    Type Description
    GraphTraversal<object, object>

    PropertyMap<E2>(params string[])

    Spawns a GraphTraversal<S, E> and adds the propertyMap step to that traversal.

    Declaration
    public static GraphTraversal<object, IDictionary<string, E2>> PropertyMap<E2>(params string[] propertyKeys)
    Parameters
    Type Name Description
    string[] propertyKeys
    Returns
    Type Description
    GraphTraversal<object, IDictionary<string, E2>>
    Type Parameters
    Name Description
    E2

    Range<E2>(Scope, long, long)

    Spawns a GraphTraversal<S, E> and adds the range step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Range<E2>(Scope scope, long low, long high)
    Parameters
    Type Name Description
    Scope scope
    long low
    long high
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Range<E2>(long, long)

    Spawns a GraphTraversal<S, E> and adds the range step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Range<E2>(long low, long high)
    Parameters
    Type Name Description
    long low
    long high
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Repeat(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the repeat step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Repeat(ITraversal traversal)
    Parameters
    Type Name Description
    ITraversal traversal
    Returns
    Type Description
    GraphTraversal<object, object>

    Repeat(string, ITraversal)

    Spawns a GraphTraversal<S, E> and adds the repeat step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Repeat(string loopName, ITraversal traversal)
    Parameters
    Type Name Description
    string loopName
    ITraversal traversal
    Returns
    Type Description
    GraphTraversal<object, object>

    Sack(IBiFunction)

    Spawns a GraphTraversal<S, E> and adds the sack step to that traversal.

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

    Sack<E2>()

    Spawns a GraphTraversal<S, E> and adds the sack step to that traversal.

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

    Sample(Scope, int)

    Spawns a GraphTraversal<S, E> and adds the sample step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Sample(Scope scope, int amountToSample)
    Parameters
    Type Name Description
    Scope scope
    int amountToSample
    Returns
    Type Description
    GraphTraversal<object, object>

    Sample(int)

    Spawns a GraphTraversal<S, E> and adds the sample step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Sample(int amountToSample)
    Parameters
    Type Name Description
    int amountToSample
    Returns
    Type Description
    GraphTraversal<object, object>

    Select<E2>(Column)

    Spawns a GraphTraversal<S, E> and adds the select step to that traversal.

    Declaration
    public static GraphTraversal<object, ICollection<E2>> Select<E2>(Column column)
    Parameters
    Type Name Description
    Column column
    Returns
    Type Description
    GraphTraversal<object, ICollection<E2>>
    Type Parameters
    Name Description
    E2

    Select<E2>(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the select step to that traversal.

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

    Select<E2>(Pop, ITraversal)

    Spawns a GraphTraversal<S, E> and adds the select step to that traversal.

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

    Select<E2>(Pop, string)

    Spawns a GraphTraversal<S, E> and adds the select step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Select<E2>(Pop pop, string selectKey)
    Parameters
    Type Name Description
    Pop pop
    string selectKey
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Select<E2>(Pop, string, string, params string[])

    Spawns a GraphTraversal<S, E> and adds the select step to that traversal.

    Declaration
    public static GraphTraversal<object, IDictionary<string, E2>> Select<E2>(Pop pop, string selectKey1, string selectKey2, params string[] otherSelectKeys)
    Parameters
    Type Name Description
    Pop pop
    string selectKey1
    string selectKey2
    string[] otherSelectKeys
    Returns
    Type Description
    GraphTraversal<object, IDictionary<string, E2>>
    Type Parameters
    Name Description
    E2

    Select<E2>(string)

    Spawns a GraphTraversal<S, E> and adds the select step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Select<E2>(string selectKey)
    Parameters
    Type Name Description
    string selectKey
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Select<E2>(string, string, params string[])

    Spawns a GraphTraversal<S, E> and adds the select step to that traversal.

    Declaration
    public static GraphTraversal<object, IDictionary<string, E2>> Select<E2>(string selectKey1, string selectKey2, params string[] otherSelectKeys)
    Parameters
    Type Name Description
    string selectKey1
    string selectKey2
    string[] otherSelectKeys
    Returns
    Type Description
    GraphTraversal<object, IDictionary<string, E2>>
    Type Parameters
    Name Description
    E2

    SideEffect(IConsumer)

    Spawns a GraphTraversal<S, E> and adds the sideEffect step to that traversal.

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

    SideEffect(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the sideEffect step to that traversal.

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

    SimplePath()

    Spawns a GraphTraversal<S, E> and adds the simplePath step to that traversal.

    Declaration
    public static GraphTraversal<object, object> SimplePath()
    Returns
    Type Description
    GraphTraversal<object, object>

    Skip<E2>(Scope, long)

    Spawns a GraphTraversal<S, E> and adds the skip step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Skip<E2>(Scope scope, long skip)
    Parameters
    Type Name Description
    Scope scope
    long skip
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Skip<E2>(long)

    Spawns a GraphTraversal<S, E> and adds the skip step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Skip<E2>(long skip)
    Parameters
    Type Name Description
    long skip
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Start()

    Starts an empty GraphTraversal<S, E>.

    Declaration
    public static GraphTraversal<object, object> Start()
    Returns
    Type Description
    GraphTraversal<object, object>

    Store(string)

    Spawns a GraphTraversal<S, E> and adds the store step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Store(string sideEffectKey)
    Parameters
    Type Name Description
    string sideEffectKey
    Returns
    Type Description
    GraphTraversal<object, object>

    Subgraph(string)

    Spawns a GraphTraversal<S, E> and adds the subgraph step to that traversal.

    Declaration
    public static GraphTraversal<object, Edge> Subgraph(string sideEffectKey)
    Parameters
    Type Name Description
    string sideEffectKey
    Returns
    Type Description
    GraphTraversal<object, Edge>

    Sum<E2>()

    Spawns a GraphTraversal<S, E> and adds the sum step to that traversal.

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

    Sum<E2>(Scope)

    Spawns a GraphTraversal<S, E> and adds the sum step to that traversal.

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

    Tail<E2>()

    Spawns a GraphTraversal<S, E> and adds the tail step to that traversal.

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

    Tail<E2>(Scope)

    Spawns a GraphTraversal<S, E> and adds the tail step to that traversal.

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

    Tail<E2>(Scope, long)

    Spawns a GraphTraversal<S, E> and adds the tail step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Tail<E2>(Scope scope, long limit)
    Parameters
    Type Name Description
    Scope scope
    long limit
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Tail<E2>(long)

    Spawns a GraphTraversal<S, E> and adds the tail step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Tail<E2>(long limit)
    Parameters
    Type Name Description
    long limit
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    TimeLimit(long)

    Spawns a GraphTraversal<S, E> and adds the timeLimit step to that traversal.

    Declaration
    public static GraphTraversal<object, object> TimeLimit(long timeLimit)
    Parameters
    Type Name Description
    long timeLimit
    Returns
    Type Description
    GraphTraversal<object, object>

    Times(int)

    Spawns a GraphTraversal<S, E> and adds the times step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Times(int maxLoops)
    Parameters
    Type Name Description
    int maxLoops
    Returns
    Type Description
    GraphTraversal<object, object>

    To(Direction, params string[])

    Spawns a GraphTraversal<S, E> and adds the to step to that traversal.

    Declaration
    public static GraphTraversal<object, Vertex> To(Direction direction, params string[] edgeLabels)
    Parameters
    Type Name Description
    Direction direction
    string[] edgeLabels
    Returns
    Type Description
    GraphTraversal<object, Vertex>

    ToE(Direction, params string[])

    Spawns a GraphTraversal<S, E> and adds the toE step to that traversal.

    Declaration
    public static GraphTraversal<object, Edge> ToE(Direction direction, params string[] edgeLabels)
    Parameters
    Type Name Description
    Direction direction
    string[] edgeLabels
    Returns
    Type Description
    GraphTraversal<object, Edge>

    ToV(Direction)

    Spawns a GraphTraversal<S, E> and adds the toV step to that traversal.

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

    Tree(string)

    Spawns a GraphTraversal<S, E> and adds the tree step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Tree(string sideEffectKey)
    Parameters
    Type Name Description
    string sideEffectKey
    Returns
    Type Description
    GraphTraversal<object, object>

    Tree<E2>()

    Spawns a GraphTraversal<S, E> and adds the tree step to that traversal.

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

    Unfold<E2>()

    Spawns a GraphTraversal<S, E> and adds the unfold step to that traversal.

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

    Union<E2>(params ITraversal[])

    Spawns a GraphTraversal<S, E> and adds the union step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Union<E2>(params ITraversal[] traversals)
    Parameters
    Type Name Description
    ITraversal[] traversals
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Until(IPredicate)

    Spawns a GraphTraversal<S, E> and adds the until step to that traversal.

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

    Until(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the until step to that traversal.

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

    V(params object[])

    Spawns a GraphTraversal<S, E> and adds the V step to that traversal.

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

    ValueMap<TKey, TValue>(bool, params string[])

    Spawns a GraphTraversal<S, E> and adds the valueMap step to that traversal.

    Declaration
    public static GraphTraversal<object, IDictionary<TKey, TValue>> ValueMap<TKey, TValue>(bool includeTokens, params string[] propertyKeys)
    Parameters
    Type Name Description
    bool includeTokens
    string[] propertyKeys
    Returns
    Type Description
    GraphTraversal<object, IDictionary<TKey, TValue>>
    Type Parameters
    Name Description
    TKey
    TValue

    ValueMap<TKey, TValue>(params string[])

    Spawns a GraphTraversal<S, E> and adds the valueMap step to that traversal.

    Declaration
    public static GraphTraversal<object, IDictionary<TKey, TValue>> ValueMap<TKey, TValue>(params string[] propertyKeys)
    Parameters
    Type Name Description
    string[] propertyKeys
    Returns
    Type Description
    GraphTraversal<object, IDictionary<TKey, TValue>>
    Type Parameters
    Name Description
    TKey
    TValue

    Value<E2>()

    Spawns a GraphTraversal<S, E> and adds the value step to that traversal.

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

    Values<E2>(params string[])

    Spawns a GraphTraversal<S, E> and adds the values step to that traversal.

    Declaration
    public static GraphTraversal<object, E2> Values<E2>(params string[] propertyKeys)
    Parameters
    Type Name Description
    string[] propertyKeys
    Returns
    Type Description
    GraphTraversal<object, E2>
    Type Parameters
    Name Description
    E2

    Where(ITraversal)

    Spawns a GraphTraversal<S, E> and adds the where step to that traversal.

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

    Where(P)

    Spawns a GraphTraversal<S, E> and adds the where step to that traversal.

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

    Where(string, P)

    Spawns a GraphTraversal<S, E> and adds the where step to that traversal.

    Declaration
    public static GraphTraversal<object, object> Where(string startKey, P predicate)
    Parameters
    Type Name Description
    string startKey
    P predicate
    Returns
    Type Description
    GraphTraversal<object, object>
    In this article
    Back to top Copyright © 2018 The Apache Software Foundation