public static IGremlinQuery <T> InsertStep <T>(this IGremlinQuery query, int index, GremlinStep step) { return(new GremlinQueryImpl <T>(query.TraversalSourceName, query.Steps.Insert(index, step), query.StepLabelMappings, query.IdentifierFactory)); }
public static IGremlinQuery <T> AddStep <T>(this IGremlinQuery query, GremlinStep step) { return(new GremlinQueryImpl <T>(query.TraversalSourceName, query.Steps.Add(step), query.StepLabelMappings, query.IdentifierFactory)); }
public IGremlinQuery <TOutVertex, TInVertex, TTarget> InsertStep <TTarget>(int index, GremlinStep step) { return(new GremlinQuery <TTarget> .GremlinQueryImpl <TOutVertex, TInVertex>(this.Steps.Insert(index, step), this.StepLabelMappings)); }
public static IGremlinQuery <TTarget> AddStep <TElement, TTarget>(this IGremlinQuery <TElement> query, GremlinStep step) { return(query.InsertStep <TTarget>(query.Steps.Count, step)); }
IGremlinQuery <TTarget> IGremlinQuery.InsertStep <TTarget>(int index, GremlinStep step) { return(this.InsertStep <TTarget>(index, step)); }