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 2018/10/30 12:29:00 UTC

[jira] [Closed] (TINKERPOP-2077) VertexProgram.Builder should have a default create() method with no Graph

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

stephen mallette closed TINKERPOP-2077.
---------------------------------------
       Resolution: Done
         Assignee: stephen mallette
    Fix Version/s: 3.3.5
                   3.4.0

> VertexProgram.Builder should have a default create() method with no Graph
> -------------------------------------------------------------------------
>
>                 Key: TINKERPOP-2077
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2077
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: hadoop
>    Affects Versions: 3.3.4, 3.2.10
>            Reporter: Philip Graff
>            Assignee: stephen mallette
>            Priority: Minor
>             Fix For: 3.4.0, 3.3.5
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The VertexProgram.Builder interface has a create(Graph) method, however, the Graph is not always needed. This is illustrated by The GraphComputerTest class with VertexProgramQ and VertexProgramR that both implement create() methods that pass in a null Graph. The Builder should just have this as a default method that will then be inherited by the AbstractVertexProgramBuilder and any subsequent builders that use the abstract class or interface.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)