Creating a gremlin pipeline from an arraylist


Raymond Canzanese <r...@...>
 

I have an arraylist a of edges that I want to make gremlin queries over.  In the old days, I would do: 

a._() 

And have a pipeline I could work with.  Now it seems I can do:

g.inject(a).unfold()

or

g.E(a)

Which of these techniques should I prefer?  Is one of them more efficient than the other?

Join {janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.