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

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

commit 2826f13cca729da2fc2a3dab3ddeb8f728ed9de5
Author: Daniel Kuppitz <daniel_kupp...@hotmail.com>
AuthorDate: Wed Jul 12 18:51:06 2017 +0200

    Registered ByModulatorOptimizationStrategy with Gremlin-Python.
---
 .../src/main/python/gremlin_python/process/strategies.py | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git 
a/gremlin-python/src/main/python/gremlin_python/process/strategies.py 
b/gremlin-python/src/main/python/gremlin_python/process/strategies.py
index 8988b79..d483c05 100644
--- a/gremlin-python/src/main/python/gremlin_python/process/strategies.py
+++ b/gremlin-python/src/main/python/gremlin_python/process/strategies.py
@@ -115,6 +115,16 @@ class AdjacentToIncidentStrategy(TraversalStrategy):
         TraversalStrategy.__init__(self, 
fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.AdjacentToIncidentStrategy")
 
 
+class ByModulatorOptimizationStrategy(TraversalStrategy):
+    def __init__(self):
+        TraversalStrategy.__init__(self, 
fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.CountStrategy")
+
+
+class CountStrategy(TraversalStrategy):
+    def __init__(self):
+        TraversalStrategy.__init__(self, 
fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.ByModulatorOptimizationStrategy")
+
+
 class FilterRankingStrategy(TraversalStrategy):
     def __init__(self):
         TraversalStrategy.__init__(self, 
fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.FilterRankingStrategy")
@@ -159,12 +169,6 @@ class PathRetractionStrategy(TraversalStrategy):
     def __init__(self):
         TraversalStrategy.__init__(self, 
fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.PathRetractionStrategy")
 
-
-class CountStrategy(TraversalStrategy):
-    def __init__(self):
-        TraversalStrategy.__init__(self, 
fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.CountStrategy")
-
-
 class RepeatUnrollStrategy(TraversalStrategy):
     def __init__(self):
         TraversalStrategy.__init__(self, 
fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.RepeatUnrollStrategy")

Reply via email to