/// <summary> /// Adds the match step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, IDictionary <string, E2> > Match <E2>(this ITraversal traversal, params ITraversal[] matchTraversals) { return(traversal.AsGraphTraversal <object, E2>().Match <E2>(matchTraversals)); }
/// <summary> /// Adds the map step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> Map <E2>(this ITraversal traversal, IFunction function) { return(traversal.AsGraphTraversal <object, E2>().Map <E2>(function)); }
/// <summary> /// Adds the map step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> Map <E2>(this ITraversal traversal, ITraversal mapTraversal) { return(traversal.AsGraphTraversal <object, E2>().Map <E2>(mapTraversal)); }
/// <summary> /// Adds the groupCount step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, IDictionary <K, long> > GroupCount <K>(this ITraversal traversal) { return(traversal.AsGraphTraversal <object, IDictionary <K, long> >().GroupCount <K>()); }
/// <summary> /// Adds the local step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> Local <E2>(this ITraversal traversal, ITraversal localTraversal) { return(traversal.AsGraphTraversal <object, E2>().Local <E2>(localTraversal)); }
/// <summary> /// Adds the flatMap step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> FlatMap <E2>(this ITraversal traversal, ITraversal flatMapTraversal) { return(traversal.AsGraphTraversal <object, E2>().FlatMap <E2>(flatMapTraversal)); }
/// <summary> /// Adds the fold step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> Fold <E2>(this ITraversal traversal, E2 seed, IBiFunction foldFunction) { return(traversal.AsGraphTraversal <object, E2>().Fold(seed, foldFunction)); }
/// <summary> /// Adds the coalesce step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> Coalesce <E2>(this ITraversal traversal, params ITraversal[] coalesceTraversals) { return(traversal.AsGraphTraversal <object, E2>().Coalesce <E2>(coalesceTraversals)); }
/// <summary> /// Adds the constant step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> Constant <E2>(this ITraversal traversal, E2 e) { return(traversal.AsGraphTraversal <object, E2>().Constant <E2>(e)); }
/// <summary> /// Adds the choose step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> Choose <E2>(this ITraversal traversal, ITraversal traversalPredicate, ITraversal trueChoice, ITraversal falseChoice) { return(traversal.AsGraphTraversal <object, E2>().Choose <E2>(traversalPredicate, trueChoice, falseChoice)); }
/// <summary> /// Adds the choose step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> Choose <E2>(this ITraversal traversal, ITraversal choiceTraversal) { return(traversal.AsGraphTraversal <object, E2>().Choose <E2>(choiceTraversal)); }
/// <summary> /// Adds the choose step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> Choose <E2>(this ITraversal traversal, IFunction choiceFunction) { return(traversal.AsGraphTraversal <object, E2>().Choose <E2>(choiceFunction)); }
/// <summary> /// Adds the cap step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> Cap <E2>(this ITraversal traversal, string sideEffectKey, params string[] sideEffectKeys) { return(traversal.AsGraphTraversal <object, E2>().Cap <E2>(sideEffectKey, sideEffectKeys)); }
/// <summary> /// Adds the branch step to this <see cref="GraphTraversal{SType, EType}"/>. /// </summary> public static GraphTraversal <object, E2> Branch <E2>(this ITraversal traversal, ITraversal branchTraversal) { return(traversal.AsGraphTraversal <object, E2>().Branch <E2>(branchTraversal)); }