Hey,
By defining variables outside Gremlin statement and using multiples .sideEffect{}, you may use as many output variables as you want within Gremlin statement. Use last >>-1 to force last iteration.
Hth,
Pierre
By defining variables outside Gremlin statement and using multiples .sideEffect{}, you may use as many output variables as you want within Gremlin statement. Use last >>-1 to force last iteration.
Assuming all the umbrella of possible Gremlin functions (imagine a
kind of 'Gremlin's pipeline signature'):
1* what would be the possible outputs? As far as I understand, output
can be steps (at any position) and/or bound variables (as operators in
the pipeline). Is that correct?
2* how many output params can be defined in a single function? Is it
expected to have Gremlin functions with multiple outputs? Where are
them according to 1?
3* is possible to reduce all functions to a simple use case having the
output in the last pipeline? Is >>> considered an step?
Thanks, I am unable to figure out this responses as they require lot
of Gremlin experience.