[ 
https://issues.apache.org/jira/browse/TINKERPOP3-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721446#comment-14721446
 ] 

pieter martin commented on TINKERPOP3-777:
------------------------------------------

Hi,

Couple of refactors later and this is no longer needed.
The ticket can be closed.

Thanks
Pieter

> TraverserRequirement to be an Interface
> ---------------------------------------
>
>                 Key: TINKERPOP3-777
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-777
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.0.0-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