How do you show the query execution time for a gremlin query while running it a console such as Datastax Studio?
I tried
clockWithResult(100) { myquery }
But I get an error saying "cannot convert from int to Supplier"
How do you show the query execution time for a gremlin query while running it a console such as Datastax Studio?
I tried
clockWithResult(100) { myquery }
But I get an error saying "cannot convert from int to Supplier"
Copyright © 2021 Jogjafile Inc.
I'm pretty sure that
clockWithResult()is a function provided only by Gremlin Console and is not part of the Gremlin language itself. Other Gremlin tools (like DS Studio) don't have that specific feature that I'm aware of. If you really want to use that feature you should connect Gremlin Console to DataStax Graph and execute your query from there.That said,
clockWithResult()is just a member ofTimeUtilwhich can be found here. You could either: