@@ -216,9 +216,13 @@ Some connection options can also be set on individual requests made through the
216216results, err := g.With("evaluationTimeout", 500).V().Out("knows").ToList()
217217----
218218
219- The following options are allowed on a per-request basis in this fashion: `batchSize`, `userAgent` and
219+ The following options are allowed on a per-request basis in this fashion: `batchSize`, `bulkResults`, ` userAgent` and
220220`evaluationTimeout`.
221221
222+ NOTE: When submitting traversals through `DriverRemoteConnection`, `bulkResults` defaults to `true` per-request
223+ to optimize result transfer. This does not apply to direct `Client.Submit()` calls, where `bulkResults` must be
224+ set explicitly if desired.
225+
222226anchor:go-imports[]
223227[[gremlin-go-imports]]
224228=== Common Imports
@@ -351,7 +355,7 @@ options := new(RequestOptionsBuilder).
351355resultSet, err := client.SubmitWithOptions("g.V(x).count()", options)
352356----
353357
354- The following options are allowed on a per-request basis in this fashion: `batchSize`, `userAgent`,
358+ The following options are allowed on a per-request basis in this fashion: `batchSize`, `bulkResults`, ` userAgent`,
355359`evaluationTimeout` and `materializeProperties`.
356360`RequestOptions` may also contain a map of variable `bindings` to be applied to the supplied
357361traversal string.
@@ -813,9 +817,13 @@ GraphTraversalSource g = traversal().with(conf);
813817List<Vertex> vertices = g.with(Tokens.ARGS_EVAL_TIMEOUT, 500L).V().out("knows").toList()
814818----
815819
816- The following options are allowed on a per-request basis in this fashion: `batchSize`, `userAgent`,
820+ The following options are allowed on a per-request basis in this fashion: `batchSize`, `bulkResults`, ` userAgent`,
817821`materializeProperties` and `evaluationTimeout`. Use of `Tokens` to reference these options is preferred.
818822
823+ NOTE: When submitting traversals through `DriverRemoteConnection`, `bulkResults` defaults to `true` per-request
824+ to optimize result transfer. This does not apply to direct `Client.submit()` calls, where `bulkResults` must be
825+ set explicitly if desired.
826+
819827anchor:java-imports[]
820828[[gremlin-java-imports]]
821829=== Common Imports
@@ -1590,6 +1598,10 @@ const vertices = await g.with_('evaluationTimeout', 500).V().out('knows').toList
15901598The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent`,
15911599`bulkResults`, `materializeProperties` and `evaluationTimeout`.
15921600
1601+ NOTE: When submitting traversals through `DriverRemoteConnection`, `bulkResults` defaults to `true` per-request
1602+ to optimize result transfer. This does not apply to direct `Client.submit()` calls, where `bulkResults` must be
1603+ set explicitly if desired.
1604+
15931605[[gremlin-javascript-imports]]
15941606=== Common Imports
15951607
@@ -2124,10 +2136,14 @@ For instance to set request timeout to 500 milliseconds:
21242136var l = g.With(Tokens.ArgsEvalTimeout, 500).V().Out("knows").Count().ToList();
21252137----
21262138
2127- The following options are allowed on a per-request basis in this fashion: `batchSize`, `userAgent`,
2139+ The following options are allowed on a per-request basis in this fashion: `batchSize`, `bulkResults`, ` userAgent`,
21282140`materializeProperties`, and `evaluationTimeout`. These options are available as constants on the
21292141`Gremlin.Net.Driver.Tokens` class.
21302142
2143+ NOTE: When submitting traversals through `DriverRemoteConnection`, `bulkResults` defaults to `true` per-request
2144+ to optimize result transfer. This does not apply to direct `GremlinClient.SubmitAsync()` calls, where `bulkResults`
2145+ must be set explicitly if desired.
2146+
21312147[[gremlin-dotnet-imports]]
21322148=== Common Imports
21332149
@@ -2270,7 +2286,7 @@ feature is to set a per-request override to the `evaluationTimeout` so that it o
22702286include::../../../gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Docs/Reference/GremlinVariantsTests.cs[tags=submittingScriptsWithTimeout]
22712287----
22722288
2273- The following options are allowed on a per-request basis in this fashion: `batchSize`, `userAgent`, `materializeProperties`
2289+ The following options are allowed on a per-request basis in this fashion: `batchSize`, `bulkResults`, ` userAgent`, `materializeProperties`
22742290and `evaluationTimeout`. These options are available as constants on the `Gremlin.Net.Driver.Tokens` class.
22752291
22762292==== Request Interceptors
@@ -2582,6 +2598,10 @@ vertices = g.with_('evaluationTimeout', 500).V().out('knows').to_list()
25822598The following options are allowed on a per-request basis in this fashion: `batchSize`, `bulkResults`, `language`,
25832599`materializeProperties`, `userAgent`, and `evaluationTimeout`.
25842600
2601+ NOTE: When submitting traversals through `DriverRemoteConnection`, `bulkResults` defaults to `True` per-request
2602+ to optimize result transfer. This does not apply to direct `Client.submit()` calls, where `bulkResults` must be
2603+ set explicitly if desired.
2604+
25852605anchor:python-imports[]
25862606[[gremlin-python-imports]]
25872607=== Common Imports
@@ -2808,7 +2828,7 @@ request.
28082828result_set = client.submit('g.V().repeat(both()).times(100)', request_options={'evaluationTimeout': 5000})
28092829----
28102830
2811- The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent`,
2831+ The following options are allowed on a per-request basis in this fashion: `batchSize`, `bulkResults`, ` requestId`, `userAgent`,
28122832`materializeProperties` and `evaluationTimeout` (formerly `scriptEvaluationTimeout` which is also supported but now deprecated).
28132833
28142834IMPORTANT: The preferred method for setting a per-request timeout for scripts is demonstrated above, but those familiar
0 commit comments