Search Results for

    Show / Hide Table of Contents

    Class __

    An anonymous GraphTraversal<S, E>.

    Inheritance
    System.Object
    __
    Inherited Members
    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 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<System.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
    System.String edgeLabel
    Returns
    Type Description
    GraphTraversal<System.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<System.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<System.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
    System.String vertexLabel
    Returns
    Type Description
    GraphTraversal<System.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
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<System.Object, System.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
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<System.Object, System.Object>

    And(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<System.Object, System.Object>

    As(String, 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
    System.String label
    System.String[] labels
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.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<System.Object, System.Object>

    Barrier(Int32)

    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
    System.Int32 maxBarrierSize
    Returns
    Type Description
    GraphTraversal<System.Object, System.Object>

    Both(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
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<System.Object, Vertex>

    BothE(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
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<System.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<System.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<System.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<System.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
    System.String service
    Returns
    Type Description
    GraphTraversal<System.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
    System.String service
    ITraversal t
    Returns
    Type Description
    GraphTraversal<System.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
    System.String service
    System.Collections.Generic.IDictionary<System.Object, System.Object> m
    Returns
    Type Description
    GraphTraversal<System.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
    System.String service
    System.Collections.Generic.IDictionary<System.Object, System.Object> m
    ITraversal t
    Returns
    Type Description
    GraphTraversal<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Cap<E2>(String, 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
    System.String sideEffectKey
    System.String[] sideEffectKeys
    Returns
    Type Description
    GraphTraversal<System.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<System.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<System.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<System.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<System.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<System.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<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Coalesce<E2>(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<System.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
    System.Double probability
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.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<System.Object, System.Int64>

    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<System.Object, System.Int64>

    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<System.Object, System.Object>

    Dedup(Scope, 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
    System.String[] dedupLabels
    Returns
    Type Description
    GraphTraversal<System.Object, System.Object>

    Dedup(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
    System.String[] dedupLabels
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.Object>

    Element()

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

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

    ElementMap<E2>(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
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<System.Object, System.Collections.Generic.IDictionary<System.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<System.Object, System.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<System.Object, System.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<System.Object, System.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<System.Object, System.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
    System.String msg
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.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<System.Object, System.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<System.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<System.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<System.Object, System.Collections.Generic.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<System.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
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<System.Object, System.Object>

    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<System.Object, System.Collections.Generic.IDictionary<K, V>>
    Type Parameters
    Name Description
    K
    V

    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
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.Collections.Generic.IDictionary<K, System.Int64>>
    Type Parameters
    Name Description
    K

    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<System.Object, System.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<System.Object, System.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
    System.Object value
    Returns
    Type Description
    GraphTraversal<System.Object, System.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
    System.String propertyKey
    Returns
    Type Description
    GraphTraversal<System.Object, System.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
    System.String propertyKey
    ITraversal propertyTraversal
    Returns
    Type Description
    GraphTraversal<System.Object, System.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
    System.String propertyKey
    P predicate
    Returns
    Type Description
    GraphTraversal<System.Object, System.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
    System.String propertyKey
    System.Object value
    Returns
    Type Description
    GraphTraversal<System.Object, System.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
    System.String label
    System.String propertyKey
    P predicate
    Returns
    Type Description
    GraphTraversal<System.Object, System.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
    System.String label
    System.String propertyKey
    System.Object value
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.Object>

    HasId(Object, 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
    System.Object id
    System.Object[] otherIds
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.Object>

    HasKey(String, 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
    System.String label
    System.String[] otherLabels
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.Object>

    HasLabel(String, 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
    System.String label
    System.String[] otherLabels
    Returns
    Type Description
    GraphTraversal<System.Object, System.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
    System.String propertyKey
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.Object>

    HasValue(Object, 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
    System.Object value
    System.Object[] values
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.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<System.Object, System.Object>

    In(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
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<System.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<System.Object, E2>
    Type Parameters
    Name Description
    E2

    InE(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
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<System.Object, Edge>

    Inject(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
    System.Object[] injections
    Returns
    Type Description
    GraphTraversal<System.Object, System.Object>

    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<System.Object, Vertex>

    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<System.Object, System.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
    System.Object value
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.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<System.Object, System.String>

    Limit<E2>(Scope, Int64)

    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
    System.Int64 limit
    Returns
    Type Description
    GraphTraversal<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Limit<E2>(Int64)

    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
    System.Int64 limit
    Returns
    Type Description
    GraphTraversal<System.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<System.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<System.Object, System.Int32>

    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
    System.String loopName
    Returns
    Type Description
    GraphTraversal<System.Object, System.Int32>

    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<System.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<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Match<E2>(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<System.Object, System.Collections.Generic.IDictionary<System.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
    System.String expression
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.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<System.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<System.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<System.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<System.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<System.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
    System.Collections.Generic.IDictionary<System.Object, System.Object> m
    Returns
    Type Description
    GraphTraversal<System.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<System.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<System.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
    System.Collections.Generic.IDictionary<System.Object, System.Object> m
    Returns
    Type Description
    GraphTraversal<System.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<System.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<System.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<System.Object, System.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<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Or(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<System.Object, System.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<System.Object, System.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<System.Object, System.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<System.Object, Vertex>

    Out(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
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<System.Object, Vertex>

    OutE(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
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<System.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<System.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<System.Object, Path>

    Project<E2>(String, 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
    System.String projectKey
    System.String[] projectKeys
    Returns
    Type Description
    GraphTraversal<System.Object, System.Collections.Generic.IDictionary<System.String, E2>>
    Type Parameters
    Name Description
    E2

    Properties<E2>(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
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Property(Cardinality, Object, Object, 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
    System.Object key
    System.Object value
    System.Object[] keyValues
    Returns
    Type Description
    GraphTraversal<System.Object, System.Object>

    Property(Object, Object, 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
    System.Object key
    System.Object value
    System.Object[] keyValues
    Returns
    Type Description
    GraphTraversal<System.Object, System.Object>

    PropertyMap<E2>(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
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<System.Object, System.Collections.Generic.IDictionary<System.String, E2>>
    Type Parameters
    Name Description
    E2

    Range<E2>(Scope, Int64, Int64)

    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
    System.Int64 low
    System.Int64 high
    Returns
    Type Description
    GraphTraversal<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Range<E2>(Int64, Int64)

    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
    System.Int64 low
    System.Int64 high
    Returns
    Type Description
    GraphTraversal<System.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<System.Object, System.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
    System.String loopName
    ITraversal traversal
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.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<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Sample(Scope, Int32)

    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
    System.Int32 amountToSample
    Returns
    Type Description
    GraphTraversal<System.Object, System.Object>

    Sample(Int32)

    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
    System.Int32 amountToSample
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.Object, System.Collections.Generic.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<System.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<System.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
    System.String selectKey
    Returns
    Type Description
    GraphTraversal<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Select<E2>(Pop, String, String, 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
    System.String selectKey1
    System.String selectKey2
    System.String[] otherSelectKeys
    Returns
    Type Description
    GraphTraversal<System.Object, System.Collections.Generic.IDictionary<System.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
    System.String selectKey
    Returns
    Type Description
    GraphTraversal<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Select<E2>(String, String, 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
    System.String selectKey1
    System.String selectKey2
    System.String[] otherSelectKeys
    Returns
    Type Description
    GraphTraversal<System.Object, System.Collections.Generic.IDictionary<System.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<System.Object, System.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<System.Object, System.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<System.Object, System.Object>

    Skip<E2>(Scope, Int64)

    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
    System.Int64 skip
    Returns
    Type Description
    GraphTraversal<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Skip<E2>(Int64)

    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
    System.Int64 skip
    Returns
    Type Description
    GraphTraversal<System.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<System.Object, System.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
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<System.Object, System.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
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<System.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<System.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<System.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<System.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<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Tail<E2>(Scope, Int64)

    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
    System.Int64 limit
    Returns
    Type Description
    GraphTraversal<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Tail<E2>(Int64)

    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
    System.Int64 limit
    Returns
    Type Description
    GraphTraversal<System.Object, E2>
    Type Parameters
    Name Description
    E2

    TimeLimit(Int64)

    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
    System.Int64 timeLimit
    Returns
    Type Description
    GraphTraversal<System.Object, System.Object>

    Times(Int32)

    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
    System.Int32 maxLoops
    Returns
    Type Description
    GraphTraversal<System.Object, System.Object>

    To(Direction, 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
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<System.Object, Vertex>

    ToE(Direction, 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
    System.String[] edgeLabels
    Returns
    Type Description
    GraphTraversal<System.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<System.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
    System.String sideEffectKey
    Returns
    Type Description
    GraphTraversal<System.Object, System.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<System.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<System.Object, E2>
    Type Parameters
    Name Description
    E2

    Union<E2>(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<System.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<System.Object, System.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<System.Object, System.Object>

    V(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
    System.Object[] vertexIdsOrElements
    Returns
    Type Description
    GraphTraversal<System.Object, Vertex>

    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<System.Object, E2>
    Type Parameters
    Name Description
    E2

    ValueMap<TKey, TValue>(Boolean, 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
    System.Boolean includeTokens
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<System.Object, System.Collections.Generic.IDictionary<TKey, TValue>>
    Type Parameters
    Name Description
    TKey
    TValue

    ValueMap<TKey, TValue>(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
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<System.Object, System.Collections.Generic.IDictionary<TKey, TValue>>
    Type Parameters
    Name Description
    TKey
    TValue

    Values<E2>(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
    System.String[] propertyKeys
    Returns
    Type Description
    GraphTraversal<System.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<System.Object, System.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<System.Object, System.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
    System.String startKey
    P predicate
    Returns
    Type Description
    GraphTraversal<System.Object, System.Object>
    In This Article
    Back to top Copyright © 2018 The Apache Software Foundation