This is an automated email from the ASF dual-hosted git repository.
colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/3.7-dev by this push:
new 37d0cc1597 CTR regenerate feature test files
37d0cc1597 is described below
commit 37d0cc1597cb9fbaa67abecd86d0ffd9144e5023
Author: Cole-Greer <[email protected]>
AuthorDate: Tue Aug 27 17:25:45 2024 -0700
CTR regenerate feature test files
---
.../Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs | 24 ++++++++++++++++++++++
gremlin-go/driver/cucumber/gremlin.go | 24 ++++++++++++++++++++++
.../gremlin-javascript/test/cucumber/gremlin.js | 24 ++++++++++++++++++++++
gremlin-python/src/main/python/radish/gremlin.py | 24 ++++++++++++++++++++++
4 files changed, 96 insertions(+)
diff --git a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
index 4be4287a51..72780761d0 100644
--- a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
+++ b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
@@ -1434,6 +1434,30 @@ namespace Gremlin.Net.IntegrationTest.Gherkin
{"g_V_aggregateXxX_byXout_order_byXnameXX_capXxX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.V().Aggregate("x").By(__.Out().Order().By("name")).Cap<object>("x")}},
{"g_withStrategiesXProductiveByStrategyX_V_aggregateXxX_byXout_order_byXnameXX_capXxX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ProductiveByStrategy(productiveKeys: new
List<object>
{})).V().Aggregate("x").By(__.Out().Order().By("name")).Cap<object>("x")}},
{"g_V_aggregateXaX_hasXperson_age_gteX30XXX_capXaX_unfold_valuesXnameX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.V().Aggregate("a").Has("person","age",P.Gte(30)).Cap<object>("a").Unfold<object>().Values<object>("name")}},
+ {"g_withSideEffectXa_1_sumX_V_aggregateXaX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",1,Operator.Sum).V().Aggregate("a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_1_sumX_V_aggregateXlocal_aX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",1,Operator.Sum).V().Aggregate(Scope.Local,"a").By("age").Cap<object>("a")}},
+ {"g_withSideEffectXa_123_minusX_V_aggregateXaX_byXageX_capXaX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",123,Operator.Minus).V().Aggregate("a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_123_minusX_V_aggregateXlocal_aX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",123,Operator.Minus).V().Aggregate(Scope.Local,"a").By("age").Cap<object>("a")}},
+ {"g_withSideEffectXa_2_multX_V_aggregateXaX_byXageX_capXaX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",2,Operator.Mult).V().Aggregate("a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_2_multX_V_aggregateXlocal_aX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",2,Operator.Mult).V().Aggregate(Scope.Local,"a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_876960_divX_V_aggregateXaX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",876960,Operator.Div).V().Aggregate("a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_876960_divX_V_aggregateXlocal_aX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",876960,Operator.Div).V().Aggregate(Scope.Local,"a").By("age").Cap<object>("a")}},
+ {"g_withSideEffectXa_1_minX_V_aggregateXaX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",1,Operator.Min).V().Aggregate("a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_1_minX_V_aggregateXlocal_aX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",1,Operator.Min).V().Aggregate(Scope.Local,"a").By("age").Cap<object>("a")}},
+ {"g_withSideEffectXa_100_minX_V_aggregateXaX_byXageX_capXaX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",100,Operator.Min).V().Aggregate("a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_100_minX_V_aggregateXlocal_aX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",100,Operator.Min).V().Aggregate(Scope.Local,"a").By("age").Cap<object>("a")}},
+ {"g_withSideEffectXa_1_maxX_V_aggregateXaX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",1,Operator.Max).V().Aggregate("a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_1_maxX_V_aggregateXlocal_aX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",1,Operator.Max).V().Aggregate(Scope.Local,"a").By("age").Cap<object>("a")}},
+ {"g_withSideEffectXa_100_maxX_V_aggregateXaX_byXageX_capXaX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",100,Operator.Max).V().Aggregate("a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_100_maxX_V_aggregateXlocal_aX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",100,Operator.Max).V().Aggregate(Scope.Local,"a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_true_andX_V_constantXfalseX_aggregateXaX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",true,Operator.And).V().Constant<object>(false).Aggregate("a").Cap<object>("a")}},
+
{"g_withSideEffectXa_true_andX_V_constantXfalseX_aggregateXlocal_aX_capXaX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",true,Operator.And).V().Constant<object>(false).Aggregate(Scope.Local,"a").Cap<object>("a")}},
+
{"g_withSideEffectXa_true_orX_V_constantXfalseX_aggregateXaX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",true,Operator.Or).V().Constant<object>(false).Aggregate("a").Cap<object>("a")}},
+
{"g_withSideEffectXa_true_orX_V_constantXfalseX_aggregateXlocal_aX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",true,Operator.Or).V().Constant<object>(false).Aggregate(Scope.Local,"a").Cap<object>("a")}},
+
{"g_withSideEffectXa_xx1_addAllX_V_aggregateXaX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",p["xx1"],Operator.AddAll).V().Aggregate("a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_xx1_addAllX_V_aggregateXlocal_aX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",p["xx1"],Operator.AddAll).V().Aggregate(Scope.Local,"a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_xx1_assignX_V_aggregateXaX_byXageX_capXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",p["xx1"],Operator.Assign).V().Aggregate("a").By("age").Cap<object>("a")}},
+
{"g_withSideEffectXa_xx1_assignX_V_order_byXageX_aggregateXlocal_aX_byXageX_capXaX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSideEffect("a",p["xx1"],Operator.Assign).V().Order().By("age").Aggregate(Scope.Local,"a").By("age").Cap<object>("a")}},
{"g_V_fail", new List<Func<GraphTraversalSource,
IDictionary<string, object>, ITraversal>> {(g,p) =>g.V().Fail()}},
{"g_V_failXmsgX", new List<Func<GraphTraversalSource,
IDictionary<string, object>, ITraversal>> {(g,p) =>g.V().Fail("msg")}},
{"g_V_unionXout_failX", new List<Func<GraphTraversalSource,
IDictionary<string, object>, ITraversal>> {(g,p)
=>g.V().Union<object>(__.Out(),__.Fail())}},
diff --git a/gremlin-go/driver/cucumber/gremlin.go
b/gremlin-go/driver/cucumber/gremlin.go
index 0bd7ba6b75..e68bddb1c8 100644
--- a/gremlin-go/driver/cucumber/gremlin.go
+++ b/gremlin-go/driver/cucumber/gremlin.go
@@ -1405,6 +1405,30 @@ var translationMap = map[string][]func(g
*gremlingo.GraphTraversalSource, p map[
"g_V_aggregateXxX_byXout_order_byXnameXX_capXxX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.V().Aggregate("x").By(gremlingo.T__.Out().Order().By("name")).Cap("x")}},
"g_withStrategiesXProductiveByStrategyX_V_aggregateXxX_byXout_order_byXnameXX_capXxX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ProductiveByStrategy(gremlingo.ProductiveByStrategyConfig{ProductiveKeys:
[]string{}})).V().Aggregate("x").By(gremlingo.T__.Out().Order().By("name")).Cap("x")}},
"g_V_aggregateXaX_hasXperson_age_gteX30XXX_capXaX_unfold_valuesXnameX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.V().Aggregate("a").Has("person", "age",
gremlingo.P.Gte(30)).Cap("a").Unfold().Values("name")}},
+ "g_withSideEffectXa_1_sumX_V_aggregateXaX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 1,
gremlingo.Operator.Sum).V().Aggregate("a").By("age").Cap("a")}},
+ "g_withSideEffectXa_1_sumX_V_aggregateXlocal_aX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 1,
gremlingo.Operator.Sum).V().Aggregate(gremlingo.Scope.Local,
"a").By("age").Cap("a")}},
+ "g_withSideEffectXa_123_minusX_V_aggregateXaX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 123,
gremlingo.Operator.Minus).V().Aggregate("a").By("age").Cap("a")}},
+ "g_withSideEffectXa_123_minusX_V_aggregateXlocal_aX_byXageX_capXaX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 123,
gremlingo.Operator.Minus).V().Aggregate(gremlingo.Scope.Local,
"a").By("age").Cap("a")}},
+ "g_withSideEffectXa_2_multX_V_aggregateXaX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 2,
gremlingo.Operator.Mult).V().Aggregate("a").By("age").Cap("a")}},
+ "g_withSideEffectXa_2_multX_V_aggregateXlocal_aX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 2,
gremlingo.Operator.Mult).V().Aggregate(gremlingo.Scope.Local,
"a").By("age").Cap("a")}},
+ "g_withSideEffectXa_876960_divX_V_aggregateXaX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 876960,
gremlingo.Operator.Div).V().Aggregate("a").By("age").Cap("a")}},
+ "g_withSideEffectXa_876960_divX_V_aggregateXlocal_aX_byXageX_capXaX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 876960,
gremlingo.Operator.Div).V().Aggregate(gremlingo.Scope.Local,
"a").By("age").Cap("a")}},
+ "g_withSideEffectXa_1_minX_V_aggregateXaX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 1,
gremlingo.Operator.Min).V().Aggregate("a").By("age").Cap("a")}},
+ "g_withSideEffectXa_1_minX_V_aggregateXlocal_aX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 1,
gremlingo.Operator.Min).V().Aggregate(gremlingo.Scope.Local,
"a").By("age").Cap("a")}},
+ "g_withSideEffectXa_100_minX_V_aggregateXaX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 100,
gremlingo.Operator.Min).V().Aggregate("a").By("age").Cap("a")}},
+ "g_withSideEffectXa_100_minX_V_aggregateXlocal_aX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 100,
gremlingo.Operator.Min).V().Aggregate(gremlingo.Scope.Local,
"a").By("age").Cap("a")}},
+ "g_withSideEffectXa_1_maxX_V_aggregateXaX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 1,
gremlingo.Operator.Max).V().Aggregate("a").By("age").Cap("a")}},
+ "g_withSideEffectXa_1_maxX_V_aggregateXlocal_aX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 1,
gremlingo.Operator.Max).V().Aggregate(gremlingo.Scope.Local,
"a").By("age").Cap("a")}},
+ "g_withSideEffectXa_100_maxX_V_aggregateXaX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 100,
gremlingo.Operator.Max).V().Aggregate("a").By("age").Cap("a")}},
+ "g_withSideEffectXa_100_maxX_V_aggregateXlocal_aX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", 100,
gremlingo.Operator.Max).V().Aggregate(gremlingo.Scope.Local,
"a").By("age").Cap("a")}},
+ "g_withSideEffectXa_true_andX_V_constantXfalseX_aggregateXaX_capXaX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", true,
gremlingo.Operator.And).V().Constant(false).Aggregate("a").Cap("a")}},
+
"g_withSideEffectXa_true_andX_V_constantXfalseX_aggregateXlocal_aX_capXaX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", true,
gremlingo.Operator.And).V().Constant(false).Aggregate(gremlingo.Scope.Local,
"a").Cap("a")}},
+ "g_withSideEffectXa_true_orX_V_constantXfalseX_aggregateXaX_capXaX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", true,
gremlingo.Operator.Or).V().Constant(false).Aggregate("a").Cap("a")}},
+ "g_withSideEffectXa_true_orX_V_constantXfalseX_aggregateXlocal_aX_capXaX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", true,
gremlingo.Operator.Or).V().Constant(false).Aggregate(gremlingo.Scope.Local,
"a").Cap("a")}},
+ "g_withSideEffectXa_xx1_addAllX_V_aggregateXaX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", p["xx1"],
gremlingo.Operator.AddAll).V().Aggregate("a").By("age").Cap("a")}},
+ "g_withSideEffectXa_xx1_addAllX_V_aggregateXlocal_aX_byXageX_capXaX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", p["xx1"],
gremlingo.Operator.AddAll).V().Aggregate(gremlingo.Scope.Local,
"a").By("age").Cap("a")}},
+ "g_withSideEffectXa_xx1_assignX_V_aggregateXaX_byXageX_capXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", p["xx1"],
gremlingo.Operator.Assign).V().Aggregate("a").By("age").Cap("a")}},
+
"g_withSideEffectXa_xx1_assignX_V_order_byXageX_aggregateXlocal_aX_byXageX_capXaX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithSideEffect("a", p["xx1"],
gremlingo.Operator.Assign).V().Order().By("age").Aggregate(gremlingo.Scope.Local,
"a").By("age").Cap("a")}},
"g_V_fail": {func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return g.V().Fail()}},
"g_V_failXmsgX": {func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return g.V().Fail("msg")}},
"g_V_unionXout_failX": {func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return
g.V().Union(gremlingo.T__.Out(), gremlingo.T__.Fail())}},
diff --git
a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/cucumber/gremlin.js
b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/cucumber/gremlin.js
index c666394a98..abbee0f7ef 100644
---
a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/cucumber/gremlin.js
+++
b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/cucumber/gremlin.js
@@ -1425,6 +1425,30 @@ const gremlins = {
g_V_aggregateXxX_byXout_order_byXnameXX_capXxX: [function({g}) { return
g.V().aggregate("x").by(__.out().order().by("name")).cap("x") }],
g_withStrategiesXProductiveByStrategyX_V_aggregateXxX_byXout_order_byXnameXX_capXxX:
[function({g}) { return g.withStrategies(new
ProductiveByStrategy({productiveKeys:[]})).V().aggregate("x").by(__.out().order().by("name")).cap("x")
}],
g_V_aggregateXaX_hasXperson_age_gteX30XXX_capXaX_unfold_valuesXnameX:
[function({g}) { return
g.V().aggregate("a").has("person","age",P.gte(30)).cap("a").unfold().values("name")
}],
+ g_withSideEffectXa_1_sumX_V_aggregateXaX_byXageX_capXaX: [function({g}) {
return
g.withSideEffect("a",1,Operator.sum).V().aggregate("a").by("age").cap("a") }],
+ g_withSideEffectXa_1_sumX_V_aggregateXlocal_aX_byXageX_capXaX:
[function({g}) { return
g.withSideEffect("a",1,Operator.sum).V().aggregate(Scope.local,"a").by("age").cap("a")
}],
+ g_withSideEffectXa_123_minusX_V_aggregateXaX_byXageX_capXaX:
[function({g}) { return
g.withSideEffect("a",123,Operator.minus).V().aggregate("a").by("age").cap("a")
}],
+ g_withSideEffectXa_123_minusX_V_aggregateXlocal_aX_byXageX_capXaX:
[function({g}) { return
g.withSideEffect("a",123,Operator.minus).V().aggregate(Scope.local,"a").by("age").cap("a")
}],
+ g_withSideEffectXa_2_multX_V_aggregateXaX_byXageX_capXaX: [function({g}) {
return
g.withSideEffect("a",2,Operator.mult).V().aggregate("a").by("age").cap("a") }],
+ g_withSideEffectXa_2_multX_V_aggregateXlocal_aX_byXageX_capXaX:
[function({g}) { return
g.withSideEffect("a",2,Operator.mult).V().aggregate(Scope.local,"a").by("age").cap("a")
}],
+ g_withSideEffectXa_876960_divX_V_aggregateXaX_byXageX_capXaX:
[function({g}) { return
g.withSideEffect("a",876960,Operator.div).V().aggregate("a").by("age").cap("a")
}],
+ g_withSideEffectXa_876960_divX_V_aggregateXlocal_aX_byXageX_capXaX:
[function({g}) { return
g.withSideEffect("a",876960,Operator.div).V().aggregate(Scope.local,"a").by("age").cap("a")
}],
+ g_withSideEffectXa_1_minX_V_aggregateXaX_byXageX_capXaX: [function({g}) {
return
g.withSideEffect("a",1,Operator.min).V().aggregate("a").by("age").cap("a") }],
+ g_withSideEffectXa_1_minX_V_aggregateXlocal_aX_byXageX_capXaX:
[function({g}) { return
g.withSideEffect("a",1,Operator.min).V().aggregate(Scope.local,"a").by("age").cap("a")
}],
+ g_withSideEffectXa_100_minX_V_aggregateXaX_byXageX_capXaX: [function({g})
{ return
g.withSideEffect("a",100,Operator.min).V().aggregate("a").by("age").cap("a")
}],
+ g_withSideEffectXa_100_minX_V_aggregateXlocal_aX_byXageX_capXaX:
[function({g}) { return
g.withSideEffect("a",100,Operator.min).V().aggregate(Scope.local,"a").by("age").cap("a")
}],
+ g_withSideEffectXa_1_maxX_V_aggregateXaX_byXageX_capXaX: [function({g}) {
return
g.withSideEffect("a",1,Operator.max).V().aggregate("a").by("age").cap("a") }],
+ g_withSideEffectXa_1_maxX_V_aggregateXlocal_aX_byXageX_capXaX:
[function({g}) { return
g.withSideEffect("a",1,Operator.max).V().aggregate(Scope.local,"a").by("age").cap("a")
}],
+ g_withSideEffectXa_100_maxX_V_aggregateXaX_byXageX_capXaX: [function({g})
{ return
g.withSideEffect("a",100,Operator.max).V().aggregate("a").by("age").cap("a")
}],
+ g_withSideEffectXa_100_maxX_V_aggregateXlocal_aX_byXageX_capXaX:
[function({g}) { return
g.withSideEffect("a",100,Operator.max).V().aggregate(Scope.local,"a").by("age").cap("a")
}],
+ g_withSideEffectXa_true_andX_V_constantXfalseX_aggregateXaX_capXaX:
[function({g}) { return
g.withSideEffect("a",true,Operator.and).V().constant(false).aggregate("a").cap("a")
}],
+ g_withSideEffectXa_true_andX_V_constantXfalseX_aggregateXlocal_aX_capXaX:
[function({g}) { return
g.withSideEffect("a",true,Operator.and).V().constant(false).aggregate(Scope.local,"a").cap("a")
}],
+ g_withSideEffectXa_true_orX_V_constantXfalseX_aggregateXaX_capXaX:
[function({g}) { return
g.withSideEffect("a",true,Operator.or).V().constant(false).aggregate("a").cap("a")
}],
+ g_withSideEffectXa_true_orX_V_constantXfalseX_aggregateXlocal_aX_capXaX:
[function({g}) { return
g.withSideEffect("a",true,Operator.or).V().constant(false).aggregate(Scope.local,"a").cap("a")
}],
+ g_withSideEffectXa_xx1_addAllX_V_aggregateXaX_byXageX_capXaX:
[function({g, xx1}) { return
g.withSideEffect("a",xx1,Operator.addAll).V().aggregate("a").by("age").cap("a")
}],
+ g_withSideEffectXa_xx1_addAllX_V_aggregateXlocal_aX_byXageX_capXaX:
[function({g, xx1}) { return
g.withSideEffect("a",xx1,Operator.addAll).V().aggregate(Scope.local,"a").by("age").cap("a")
}],
+ g_withSideEffectXa_xx1_assignX_V_aggregateXaX_byXageX_capXaX:
[function({g, xx1}) { return
g.withSideEffect("a",xx1,Operator.assign).V().aggregate("a").by("age").cap("a")
}],
+
g_withSideEffectXa_xx1_assignX_V_order_byXageX_aggregateXlocal_aX_byXageX_capXaX:
[function({g, xx1}) { return
g.withSideEffect("a",xx1,Operator.assign).V().order().by("age").aggregate(Scope.local,"a").by("age").cap("a")
}],
g_V_fail: [function({g}) { return g.V().fail() }],
g_V_failXmsgX: [function({g}) { return g.V().fail("msg") }],
g_V_unionXout_failX: [function({g}) { return
g.V().union(__.out(),__.fail()) }],
diff --git a/gremlin-python/src/main/python/radish/gremlin.py
b/gremlin-python/src/main/python/radish/gremlin.py
index 869620260e..562e4ff6bd 100644
--- a/gremlin-python/src/main/python/radish/gremlin.py
+++ b/gremlin-python/src/main/python/radish/gremlin.py
@@ -1407,6 +1407,30 @@ world.gremlins = {
'g_V_aggregateXxX_byXout_order_byXnameXX_capXxX': [(lambda
g:g.V().aggregate('x').by(__.out().order().by('name')).cap('x'))],
'g_withStrategiesXProductiveByStrategyX_V_aggregateXxX_byXout_order_byXnameXX_capXxX':
[(lambda
g:g.withStrategies(*[TraversalStrategy('ProductiveByStrategy',{'productiveKeys':[],'strategy':'org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.ProductiveByStrategy'},
'org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.ProductiveByStrategy')]).V().aggregate('x').by(__.out().order().by('name')).cap('x'))],
'g_V_aggregateXaX_hasXperson_age_gteX30XXX_capXaX_unfold_valuesXnameX':
[(lambda
g:g.V().aggregate('a').has('person','age',P.gte(30)).cap('a').unfold().name)],
+ 'g_withSideEffectXa_1_sumX_V_aggregateXaX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',1,Operator.sum_).V().aggregate('a').by('age').cap('a'))],
+ 'g_withSideEffectXa_1_sumX_V_aggregateXlocal_aX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',1,Operator.sum_).V().aggregate(Scope.local,'a').by('age').cap('a'))],
+ 'g_withSideEffectXa_123_minusX_V_aggregateXaX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',123,Operator.minus).V().aggregate('a').by('age').cap('a'))],
+ 'g_withSideEffectXa_123_minusX_V_aggregateXlocal_aX_byXageX_capXaX':
[(lambda
g:g.withSideEffect('a',123,Operator.minus).V().aggregate(Scope.local,'a').by('age').cap('a'))],
+ 'g_withSideEffectXa_2_multX_V_aggregateXaX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',2,Operator.mult).V().aggregate('a').by('age').cap('a'))],
+ 'g_withSideEffectXa_2_multX_V_aggregateXlocal_aX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',2,Operator.mult).V().aggregate(Scope.local,'a').by('age').cap('a'))],
+ 'g_withSideEffectXa_876960_divX_V_aggregateXaX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',876960,Operator.div).V().aggregate('a').by('age').cap('a'))],
+ 'g_withSideEffectXa_876960_divX_V_aggregateXlocal_aX_byXageX_capXaX':
[(lambda
g:g.withSideEffect('a',876960,Operator.div).V().aggregate(Scope.local,'a').by('age').cap('a'))],
+ 'g_withSideEffectXa_1_minX_V_aggregateXaX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',1,Operator.min_).V().aggregate('a').by('age').cap('a'))],
+ 'g_withSideEffectXa_1_minX_V_aggregateXlocal_aX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',1,Operator.min_).V().aggregate(Scope.local,'a').by('age').cap('a'))],
+ 'g_withSideEffectXa_100_minX_V_aggregateXaX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',100,Operator.min_).V().aggregate('a').by('age').cap('a'))],
+ 'g_withSideEffectXa_100_minX_V_aggregateXlocal_aX_byXageX_capXaX':
[(lambda
g:g.withSideEffect('a',100,Operator.min_).V().aggregate(Scope.local,'a').by('age').cap('a'))],
+ 'g_withSideEffectXa_1_maxX_V_aggregateXaX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',1,Operator.max_).V().aggregate('a').by('age').cap('a'))],
+ 'g_withSideEffectXa_1_maxX_V_aggregateXlocal_aX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',1,Operator.max_).V().aggregate(Scope.local,'a').by('age').cap('a'))],
+ 'g_withSideEffectXa_100_maxX_V_aggregateXaX_byXageX_capXaX': [(lambda
g:g.withSideEffect('a',100,Operator.max_).V().aggregate('a').by('age').cap('a'))],
+ 'g_withSideEffectXa_100_maxX_V_aggregateXlocal_aX_byXageX_capXaX':
[(lambda
g:g.withSideEffect('a',100,Operator.max_).V().aggregate(Scope.local,'a').by('age').cap('a'))],
+ 'g_withSideEffectXa_true_andX_V_constantXfalseX_aggregateXaX_capXaX':
[(lambda
g:g.withSideEffect('a',True,Operator.and_).V().constant(False).aggregate('a').cap('a'))],
+
'g_withSideEffectXa_true_andX_V_constantXfalseX_aggregateXlocal_aX_capXaX':
[(lambda
g:g.withSideEffect('a',True,Operator.and_).V().constant(False).aggregate(Scope.local,'a').cap('a'))],
+ 'g_withSideEffectXa_true_orX_V_constantXfalseX_aggregateXaX_capXaX':
[(lambda
g:g.withSideEffect('a',True,Operator.or_).V().constant(False).aggregate('a').cap('a'))],
+ 'g_withSideEffectXa_true_orX_V_constantXfalseX_aggregateXlocal_aX_capXaX':
[(lambda
g:g.withSideEffect('a',True,Operator.or_).V().constant(False).aggregate(Scope.local,'a').cap('a'))],
+ 'g_withSideEffectXa_xx1_addAllX_V_aggregateXaX_byXageX_capXaX': [(lambda
g,
xx1=None:g.withSideEffect('a',xx1,Operator.addAll).V().aggregate('a').by('age').cap('a'))],
+ 'g_withSideEffectXa_xx1_addAllX_V_aggregateXlocal_aX_byXageX_capXaX':
[(lambda g,
xx1=None:g.withSideEffect('a',xx1,Operator.addAll).V().aggregate(Scope.local,'a').by('age').cap('a'))],
+ 'g_withSideEffectXa_xx1_assignX_V_aggregateXaX_byXageX_capXaX': [(lambda
g,
xx1=None:g.withSideEffect('a',xx1,Operator.assign).V().aggregate('a').by('age').cap('a'))],
+
'g_withSideEffectXa_xx1_assignX_V_order_byXageX_aggregateXlocal_aX_byXageX_capXaX':
[(lambda g,
xx1=None:g.withSideEffect('a',xx1,Operator.assign).V().order().by('age').aggregate(Scope.local,'a').by('age').cap('a'))],
'g_V_fail': [(lambda g:g.V().fail())],
'g_V_failXmsgX': [(lambda g:g.V().fail('msg'))],
'g_V_unionXout_failX': [(lambda g:g.V().union(__.out(),__.fail()))],