This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit b1d0ab31242a249a5e9ed39f44c498190f2ebfa2
Merge: 2d511a0 7a2b41a
Author: stephen <spmalle...@gmail.com>
AuthorDate: Thu Jan 2 12:23:25 2020 -0500

    Merge branch 'tp33' into tp34

 CHANGELOG.asciidoc                                 |  1 +
 docs/src/upgrade/release-3.3.x.asciidoc            | 30 ++++++++++++++++++++++
 gremlin-dotnet/glv/GraphTraversal.template         |  8 ++++++
 .../Process/Traversal/GraphTraversal.cs            |  8 ++++++
 .../DriverRemoteConnection/GraphTraversalTests.cs  | 13 ++++++++++
 .../glv/GraphTraversalSource.template              |  8 ++++++
 .../lib/process/graph-traversal.js                 |  8 ++++++
 .../test/integration/traversal-test.js             | 14 ++++++++++
 gremlin-python/glv/GraphTraversalSource.template   |  3 +++
 .../gremlin_python/process/graph_traversal.py      |  3 +++
 .../tests/driver/test_driver_remote_connection.py  |  8 ++++++
 11 files changed, 104 insertions(+)

diff --cc gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
index f65276b,910c6e8..3169be5
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
@@@ -1751,32 -1677,13 +1751,40 @@@ namespace Gremlin.Net.Process.Traversa
              return Wrap<S, E>(this);
          }
  
 +        /// <summary>
 +        ///     Adds the with step to this <see cref="GraphTraversal{SType, 
EType}" />.
 +        /// </summary>
 +        public GraphTraversal<S, E> With (string key)
 +        {
 +            Bytecode.AddStep("with", key);
 +            return Wrap<S, E>(this);
 +        }
 +
 +        /// <summary>
 +        ///     Adds the with step to this <see cref="GraphTraversal{SType, 
EType}" />.
 +        /// </summary>
 +        public GraphTraversal<S, E> With (string key, object value)
 +        {
 +            Bytecode.AddStep("with", key, value);
 +            return Wrap<S, E>(this);
 +        }
 +
 +        /// <summary>
 +        ///     Adds the write step to this <see cref="GraphTraversal{SType, 
EType}" />.
 +        /// </summary>
 +        public GraphTraversal<S, E> Write ()
 +        {
 +            Bytecode.AddStep("write");
 +            return Wrap<S, E>(this);
 +        }
 +
+ 
+         /// <summary>
+         /// Make a copy of a traversal that is reset for iteration.
+         /// </summary>
+         public GraphTraversal<S, E> Clone()
+         {
+             return new GraphTraversal<S, E>(this.TraversalStrategies, 
this.Bytecode);
+         }
      }
  }

Reply via email to