You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/07/21 11:45:04 UTC

[jira] [Updated] (TINKERPOP3-777) TraverserRequirement to be an Interface

     [ https://issues.apache.org/jira/browse/TINKERPOP3-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stephen mallette updated TINKERPOP3-777:
----------------------------------------
    Affects Version/s:     (was: 3.0.1-incubating)
                       3.0.0-incubating
           Issue Type: Improvement  (was: Bug)

> 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)