Re: [DISCUSS] Graph.addVertex(Map)

2016-11-27 Thread pieter-gmail
Hi, I saw this http://iteratrlearning.com/java9/2016/11/09/java9-collection-factory-methods Creating maps will become easier (less typing) in java 9. Cheers Pieter On 20/09/2016 18:49, Stephen Mallette wrote: > Anyone interested in seeing a Graph.addVertex(Map) overload? > >

Re: [DISCUSS] Graph.addVertex(Map)

2016-10-18 Thread pieter-gmail
Perhaps to add some strength to my argument I can give some indication of our current graph's shape however. Currently we have about 14 000 tables and about 220 000 columns in the rdbms and it grows runtime as we support more and more vendors and technologies. This is in the telco space. 100% of

Re: [DISCUSS] Graph.addVertex(Map)

2016-10-18 Thread Marko Rodriguez
Hi, addV(Object…) was deprecated because it didn’t support Parameters (that is, dynamic traversal based parametrization). g.V().has(’name’,’bob’).as(‘a’). addV(‘person’). property(‘name’,’stephen’). property(‘status’,select(‘a’).by(’status’)) We could support it in Object.., but then

Re: [DISCUSS] Graph.addVertex(Map)

2016-09-28 Thread Pieter Martin
Well, I have to say I really like Map. In almost all of our code by the time we are ready to create a vertex we have the properties already in a map. Data for the most part are not captured by humans typing gremlin but by machines and they store key value pairs in a Map. Cheers Pieter Excerpts

Re: [DISCUSS] Graph.addVertex(Map)

2016-09-28 Thread Stephen Mallette
Matthias re-opened that issue now looking to see g.addV(Map) given my reasoning for closing. On Tue, Sep 20, 2016 at 12:49 PM, Stephen Mallette wrote: > Anyone interested in seeing a Graph.addVertex(Map) overload? > > https://issues.apache.org/jira/browse/TINKERPOP-1174 >

[DISCUSS] Graph.addVertex(Map)

2016-09-20 Thread Stephen Mallette
Anyone interested in seeing a Graph.addVertex(Map) overload? https://issues.apache.org/jira/browse/TINKERPOP-1174 I don't imagine there would be any change to addV() in this case. I'm thinking that we wouldn't likely use this method internally and so it would more be something for user