pieter martin created TINKERPOP3-777:
----------------------------------------

             Summary: TraverserRequirement to be an Interface
                 Key: TINKERPOP3-777
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-777
             Project: TinkerPop 3
          Issue Type: Bug
          Components: process
    Affects Versions: 3.0.1-incubating
            Reporter: pieter martin
            Assignee: Marko A. Rodriguez


I am trying to optimize {{GraphStep}}.

{code}
g.V().hasLabel("Person").out("address")
{code}

This will be collapsed into one step.
However as it is a {{StartStep}} the traverser need to be setup.
So I created a custom {{TraverserGeneratorFactory}}, {{TraverserGenerator}} and 
{{Traverser, Traverser.Admin}}.

However for the {{TraverserGeneratorFactory}} to make its decision it uses the 
{{TraverserRequirement}} which for now is a enum.

It needs to be an interface so that I can add a custom requirement to guide the 
custom {{TraverserGeneratorFactory}} in its decision making.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to