How to print out Gremlin pipe / traversal results

前端 未结 2 1198
春和景丽
春和景丽 2021-01-22 16:09

I have the code below in a file named traversal.groovy (which I call from the command line with gremlin -e traversal.groovy):

// Beg         


        
2条回答
  •  深忆病人
    2021-01-22 16:27

    You likely just need to iterate your pipeline:

    http://gremlindocs.com/#methods/pipe-next

    println v.outE.inV.name.next()
    

提交回复
热议问题