You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Philip Graff (JIRA)" <ji...@apache.org> on 2018/10/23 15:45:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16660851#comment-16660851 ]
Philip Graff commented on TINKERPOP-2077:
-----------------------------------------
This is similar to, but simpler than, TINKERPOP-1861
https://issues.apache.org/jira/browse/TINKERPOP-1861
> 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
> Affects Versions: 3.3.4, 3.2.10
> Reporter: Philip Graff
> Priority: Minor
> Fix For: 3.2.10
>
> 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)