I am implementing an application which makes heavy use of the Client class to submit commands to a gremlin server, but it seems there is no good way to confirm they're successful completion without retrieving the result. In some cases, the result appears not to be serializable, so simply retrieving it is not an option in some cases. Even in the cases, though, I would like to confirm that the command completed without error. Is there any way to check this?
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/7fedc719-ffc4-48ef-b519-287524916b64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
System.out.println("setting test");client.submit("test = 'value'");System.out.println("getting test");System.out.println(client.submit("test").one().getString());System.out.println("setting test2");client.submit("test2 = value2'");System.out.println("getting test2");System.out.println(client.submit("test2").one().getString());
setting test
getting test
value
setting test2
getting test2
java.util.concurrent.CompletionException: org.apache.tinkerpop.gremlin.driver.exception.ResponseException: No such property: test2 for class: Script3027
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/331e70c3-9af8-4d83-af88-15ccfe90d1a9%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/baa2cb70-abf9-415d-80a9-bb99b4b9a710%40googlegroups.com.