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 <daniel_kupp...@hotmail.com> Authored: Wed Jul 12 18:51:06 2017 +0200 Committer: Daniel Kuppitz <daniel_kupp...@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)