You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by jo...@apache.org on 2017/07/14 10:31:14 UTC

tinkerpop git commit: Remove methods from GraphTraversal and TraversalSource.

Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1552-master cbcb64062 -> 5c3cc5acd


Remove methods from GraphTraversal and TraversalSource.

- Remove AddInE() and AddOutE() from GraphTraversal
- Remove WithBindings() filter from TraversalSource.


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/5c3cc5ac
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/5c3cc5ac
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/5c3cc5ac

Branch: refs/heads/TINKERPOP-1552-master
Commit: 5c3cc5acd4d6c3c16c0839228871dca236c46a53
Parents: cbcb640
Author: Jorge Bay Gondra <jo...@gmail.com>
Authored: Fri Jul 14 12:31:09 2017 +0200
Committer: Jorge Bay Gondra <jo...@gmail.com>
Committed: Fri Jul 14 12:31:09 2017 +0200

----------------------------------------------------------------------
 gremlin-dotnet/pom.xml                          |  1 -
 .../Process/Traversal/GraphTraversal.cs         | 36 --------------------
 .../src/Gremlin.Net/Process/Traversal/__.cs     | 32 -----------------
 3 files changed, 69 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/5c3cc5ac/gremlin-dotnet/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-dotnet/pom.xml b/gremlin-dotnet/pom.xml
index 319bb9c..da4e88a 100644
--- a/gremlin-dotnet/pom.xml
+++ b/gremlin-dotnet/pom.xml
@@ -160,7 +160,6 @@ def binding = ["pmethods": P.class.getMethods().
                                         findAll { GraphTraversalSource.class.equals(it.returnType) }.
                                         findAll {
                                             !it.name.equals("clone") &&
-                                                    !it.name.equals(TraversalSource.Symbols.withBindings) &&
                                                     !it.name.equals(TraversalSource.Symbols.withRemote) &&
                                                     !it.name.equals(TraversalSource.Symbols.withComputer)
                                         }.

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/5c3cc5ac/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
----------------------------------------------------------------------
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
index 8f22888..329941d 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
@@ -81,24 +81,6 @@ namespace Gremlin.Net.Process.Traversal
         }
 
         /// <summary>
-        ///     Adds the addInE step to this <see cref="GraphTraversal{SType, EType}" />.
-        /// </summary>
-        public GraphTraversal< S , Edge > AddInE (params object[] args)
-        {
-            Bytecode.AddStep("addInE", args);
-            return Wrap< S , Edge >(this);
-        }
-
-        /// <summary>
-        ///     Adds the addOutE step to this <see cref="GraphTraversal{SType, EType}" />.
-        /// </summary>
-        public GraphTraversal< S , Edge > AddOutE (params object[] args)
-        {
-            Bytecode.AddStep("addOutE", args);
-            return Wrap< S , Edge >(this);
-        }
-
-        /// <summary>
         ///     Adds the addV step to this <see cref="GraphTraversal{SType, EType}" />.
         /// </summary>
         public GraphTraversal< S , Vertex > AddV (params object[] args)
@@ -513,24 +495,6 @@ namespace Gremlin.Net.Process.Traversal
         }
 
         /// <summary>
-        ///     Adds the mapKeys step to this <see cref="GraphTraversal{SType, EType}" />.
-        /// </summary>
-        public GraphTraversal< S , E2 > MapKeys<E2> (params object[] args)
-        {
-            Bytecode.AddStep("mapKeys", args);
-            return Wrap< S , E2 >(this);
-        }
-
-        /// <summary>
-        ///     Adds the mapValues step to this <see cref="GraphTraversal{SType, EType}" />.
-        /// </summary>
-        public GraphTraversal< S , E2 > MapValues<E2> (params object[] args)
-        {
-            Bytecode.AddStep("mapValues", args);
-            return Wrap< S , E2 >(this);
-        }
-
-        /// <summary>
         ///     Adds the match step to this <see cref="GraphTraversal{SType, EType}" />.
         /// </summary>
         public GraphTraversal< S , IDictionary<string, E2> > Match<E2> (params object[] args)

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/5c3cc5ac/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
----------------------------------------------------------------------
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
index c1aed20..cf40c11 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
@@ -57,22 +57,6 @@ namespace Gremlin.Net.Process.Traversal
         }
 
         /// <summary>
-        ///     Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds the addInE step to that traversal.
-        /// </summary>
-        public static GraphTraversal<object, Edge> AddInE(params object[] args)
-        {
-            return new GraphTraversal<object, object>().AddInE(args);
-        }
-
-        /// <summary>
-        ///     Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds the addOutE step to that traversal.
-        /// </summary>
-        public static GraphTraversal<object, Edge> AddOutE(params object[] args)
-        {
-            return new GraphTraversal<object, object>().AddOutE(args);
-        }
-
-        /// <summary>
         ///     Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds the addV step to that traversal.
         /// </summary>
         public static GraphTraversal<object, Vertex> AddV(params object[] args)
@@ -425,22 +409,6 @@ namespace Gremlin.Net.Process.Traversal
         }
 
         /// <summary>
-        ///     Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds the mapKeys step to that traversal.
-        /// </summary>
-        public static GraphTraversal<object, E2> MapKeys<E2>(params object[] args)
-        {
-            return new GraphTraversal<object, object>().MapKeys<E2>(args);
-        }
-
-        /// <summary>
-        ///     Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds the mapValues step to that traversal.
-        /// </summary>
-        public static GraphTraversal<object, E2> MapValues<E2>(params object[] args)
-        {
-            return new GraphTraversal<object, object>().MapValues<E2>(args);
-        }
-
-        /// <summary>
         ///     Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds the match step to that traversal.
         /// </summary>
         public static GraphTraversal<object, IDictionary<string, E2>> Match<E2>(params object[] args)