tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattallenuk <...@git.apache.org>
Subject [GitHub] tinkerpop issue #922: TINKERPOP-1959: Gremlin Javascript ability to send a s...
Date Sat, 01 Sep 2018 07:14:25 GMT
Github user mattallenuk commented on the issue:

    Hiya guys,
    I have moved the code out of the existing classes and have created a Client class that
can handle script sending and a Translator class that can convert bytecode into a string.

    The Translator class accepts bindings in the form of a javascript object passed into the
step function and converts it into Gremlin Groovy Tuple in the translated script. I haven't
considered the impact of this upon Bytecode so this may need to be changed or addressed on
the Bytecode side, or Bytecode may already handle parameter maps?
    In terms of consumption is there a way we could make the Translator more transparent to
the user, I did have an eval function added to Traversal which did the conversion and sending,
I removed this but would that be an acceptable solution? It's not inline with other GLV's


View raw message