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/04/02 22:45:55 UTC
[jira] [Commented] (TINKERPOP3-412) Go through core structure/
methods and remove "helpers" or declare them "unstrategized"
[ https://issues.apache.org/jira/browse/TINKERPOP3-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14393348#comment-14393348 ]
stephen mallette commented on TINKERPOP3-412:
---------------------------------------------
Some quick analysis showed we use {{Helper}} in the following:
{noformat}
Element.value
Element.values
Graph.addVertex
Graph.Variables.asMap
Property.ifPresent
Property.orElse
Property.orElseGet
Property.orElseThrow
VertexProperty.graph
VertexProperty.label
{noformat}
Perhaps there is no harm in allowing vendors to override these methods at this point since {{GraphStrategy}} is no longer present to be affected as such. If vendors can implement these methods in a better way, perhaps we should let them.
> Go through core structure/ methods and remove "helpers" or declare them "unstrategized"
> ---------------------------------------------------------------------------------------
>
> Key: TINKERPOP3-412
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-412
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: structure
> Reporter: Marko A. Rodriguez
> Assignee: Marko A. Rodriguez
> Fix For: 3.0.0.GA
>
>
> {{Variables.asMap()}}
> {{Element.value(String,orElse)}}
> /////
> We need to make sure it easy for people to write strategies and having lots of default "helper" methods will make this difficult. What is the solution?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)