You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2018/03/21 20:02:25 UTC

[22/27] tinkerpop git commit: Registered ByModulatorOptimizationStrategy with Gremlin-Python.

Registered ByModulatorOptimizationStrategy with Gremlin-Python.


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

Branch: refs/heads/TINKERPOP-1682
Commit: 42b0f831b8cea13528ad0b8f66dbd58baca41b04
Parents: 8a4102c
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Wed Jul 12 18:51:06 2017 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Wed Mar 21 13:01:46 2018 -0700

----------------------------------------------------------------------
 .../main/jython/gremlin_python/process/strategies.py | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/42b0f831/gremlin-python/src/main/jython/gremlin_python/process/strategies.py
----------------------------------------------------------------------
diff --git a/gremlin-python/src/main/jython/gremlin_python/process/strategies.py b/gremlin-python/src/main/jython/gremlin_python/process/strategies.py
index f5ba9fb..42de9c3 100644
--- a/gremlin-python/src/main/jython/gremlin_python/process/strategies.py
+++ b/gremlin-python/src/main/jython/gremlin_python/process/strategies.py
@@ -109,6 +109,16 @@ class AdjacentToIncidentStrategy(TraversalStrategy):
         TraversalStrategy.__init__(self)
 
 
+class ByModulatorOptimizationStrategy(TraversalStrategy):
+    def __init__(self):
+        TraversalStrategy.__init__(self)
+
+
+class CountStrategy(TraversalStrategy):
+    def __init__(self):
+        TraversalStrategy.__init__(self)
+
+
 class FilterRankingStrategy(TraversalStrategy):
     def __init__(self):
         TraversalStrategy.__init__(self)
@@ -154,11 +164,6 @@ class PathRetractionStrategy(TraversalStrategy):
         TraversalStrategy.__init__(self)
 
 
-class CountStrategy(TraversalStrategy):
-    def __init__(self):
-        TraversalStrategy.__init__(self)
-
-
 class RepeatUnrollStrategy(TraversalStrategy):
     def __init__(self):
         TraversalStrategy.__init__(self)