Re: [EXTERNAL] Re: gremlin-python lambdas, and HaltedTraverserStrategy(DetachedFactory)

2018-02-21 Thread Moore, Branden James
You can return all properties with valueMap(true) Robert Dale On Wed, Feb 21, 2018 at 10:17 AM, Moore, Branden James <bjm...@sandia.gov> wrote: > If I'm building an API to interact with a Property Graph, and that API > looks like: > nodes = get

Re: [EXTERNAL] Re: gremlin-python lambdas, and HaltedTraverserStrategy(DetachedFactory)

2018-02-21 Thread Moore, Branden James
rty feature? any reason to not just adjust your traversal to return the data that you need in the first place? On Tue, Feb 20, 2018 at 5:09 PM, Moore, Branden James <bjm...@sandia.gov> wrote: > Thanks. I mis-remembered about the rationale for using DetachedF

Re: [EXTERNAL] Re: gremlin-python lambdas, and HaltedTraverserStrategy(DetachedFactory)

2018-02-20 Thread Moore, Branden James
allette <spmalle...@gmail.com> wrote: > no, it's not. that's really strange. can you please create an issue in > jira for that? > > On Tue, Feb 20, 2018 at 2:15 PM, Moore, Branden James <bjm...@sandia.gov> > wrote: >

gremlin-python lambdas, and HaltedTraverserStrategy(DetachedFactory)

2018-02-20 Thread Moore, Branden James
We’re using our gremlin-python traversals with the HaltedTraverserStrategy(o.a.t.g.s.u.d.DetachedFactory), to decrease the extraneous amount of data returned in large queries. Today I discovered that if one uses this strategy, lambdas no longer work. For example, from the TinkerPop docs:

Re: [EXTERNAL] Re: Anonymous traversals with @GremlinDSL and Gremlin-Groovy Script Engine

2018-02-15 Thread Moore, Branden James
right it might save graph providers from having to write their on extensions to GLVs . Out of curiosity, what graph database are you using? On Thu, Feb 15, 2018 at 11:39 AM, Moore, Branden James <bjm...@sandia.gov> wrote: > >Can you talk about what tho

Re: [EXTERNAL] Re: Anonymous traversals with @GremlinDSL and Gremlin-Groovy Script Engine

2018-02-15 Thread Moore, Branden James
i gather). Can you talk about what those custom steps do? Do you also have custom TraversalStrategies which interact with them? On Thu, Feb 15, 2018 at 10:17 AM, Moore, Branden James <bjm...@sandia.gov> wrote: > Now that python-gremlin is mature

Re: [EXTERNAL] Re: Anonymous traversals with @GremlinDSL and Gremlin-Groovy Script Engine

2018-02-15 Thread Moore, Branden James
g like that. I'm just trying to say that developers who want to be most inline with the latest thinking on the future direction of the project should look to conform to 1-3 where possible. On Wed, Feb 14, 2018 at 6:41 PM, Moore, Branden James <bjm...@sandia.gov>

Re: [EXTERNAL] Re: Anonymous traversals with @GremlinDSL and Gremlin-Groovy Script Engine

2018-02-14 Thread Moore, Branden James
rious to me. I dug through a fair bit of groovy code trying to figure out what the rules were for that import stuff and i don't recall getting to the bottom of it. On Wed, Feb 14, 2018 at 2:27 PM, Moore, Branden James <bjm...@sandia.gov> wrote:

Re: [EXTERNAL] Re: Anonymous traversals with @GremlinDSL and Gremlin-Groovy Script Engine

2018-02-14 Thread Moore, Branden James
exactly, but I obviously didn't come up with a nice solution. I'm not sure that I ever became convinced that any of this groovy import stuff behaves in a completely deterministic way. I suppose you could try it out and see if that change helps or not.... On Wed, Feb 14, 2018

Re: [EXTERNAL] Re: Anonymous traversals with @GremlinDSL and Gremlin-Groovy Script Engine

2018-02-14 Thread Moore, Branden James
how to allow you to rename the DSL double underscore class to something else (triple underscore ??? hehe), then you could just import it. Seems like option 2 would work best in the short term. On Tue, Feb 13, 2018 at 6:50 PM, Moore, Branden James <bjm...@sa

Anonymous traversals with @GremlinDSL and Gremlin-Groovy Script Engine

2018-02-13 Thread Moore, Branden James
Hi all, We are using the @GremlinDsl annotation to extend the Gremlin language into our own DSL. I’ve run into two issues with anonymous traversals so far that I’d like to bring up. One has a work-around, the other, I have not yet found a work-around. First (the one with the