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 2017/07/12 16:52:43 UTC
[50/50] [abbrv] 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/a0a78170
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a0a78170
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a0a78170
Branch: refs/heads/TINKERPOP-1682
Commit: a0a78170037f87062518037f5b62055558c5ec89
Parents: d0aaf00
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Wed Jul 12 18:51:06 2017 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Wed Jul 12 18:51:06 2017 +0200
----------------------------------------------------------------------
.../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/a0a78170/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)