This is an automated email from the ASF dual-hosted git repository.
xiazcy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/master by this push:
new 33fe594530 CTR feature test file updates in .net and go
33fe594530 is described below
commit 33fe59453018e471138ddfdd86518a6b13036aa5
Author: Yang Xia <[email protected]>
AuthorDate: Fri Nov 8 13:37:34 2024 -0800
CTR feature test file updates in .net and go
---
.../Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs | 82 ++++++++++++++++++++--
gremlin-go/driver/cucumber/gremlin.go | 74 +++++++++++++++++++
2 files changed, 152 insertions(+), 4 deletions(-)
diff --git a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
index 1b5a459043..e72e7aa112 100644
--- a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
+++ b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
@@ -411,9 +411,59 @@ namespace Gremlin.Net.IntegrationTest.Gherkin
{"g_V_asXnX_whereXorXhasLabelXsoftwareX_hasLabelXpersonXXX_selectXnX_byXnameX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.V().As("n").Where(__.Or(__.HasLabel("software"),
__.HasLabel("person"))).Select<object>("n").By("name")}},
{"g_V_asXnX_whereXorXselectXnX_hasLabelXsoftwareX_selectXnX_hasLabelXpersonXXX_selectXnX_byXnameX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.V().As("n").Where(__.Or(__.Select<object>("n").HasLabel("software"),
__.Select<object>("n").HasLabel("person"))).Select<object>("n").By("name")}},
{"g_V_hasLabelXpersonX_asXxX_whereXinEXknowsX_count_isXgteX1XXX_selectXxX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.V().HasLabel("person").As("x").Where(__.InE("knows").Count().Is(P.Gte(1))).Select<object>("x")}},
+ {"g_withStrategiesXAdjacentToIncidentStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new AdjacentToIncidentStrategy()).V()}},
+ {"g_withoutStrategiesXAdjacentToIncidentStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(AdjacentToIncidentStrategy)).V()}},
+ {"g_withStrategiesXAdjacentToIncidentStrategyX_V_out_count",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
AdjacentToIncidentStrategy()).V().Out().Count()}},
+ {"g_withStrategiesXAdjacentToIncidentStrategyX_V_whereXoutX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
AdjacentToIncidentStrategy()).V().Where(__.Out())}},
+
{"g_withStrategiesXByModulatorOptimizationStrategyX_V_order_byXvaluesXnameXX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
ByModulatorOptimizationStrategy()).V().Order().By(__.Values<object>("name"))}},
+
{"g_withoutStrategiesXByModulatorOptimizationStrategyX_V_order_byXvaluesXnameXX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(ByModulatorOptimizationStrategy)).V().Order().By(__.Values<object>("name"))}},
+ {"g_withStrategiesXComputerFinalizationStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ComputerFinalizationStrategy()).V()}},
+ {"g_withoutStrategiesXByModulatorOptimizationStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(ComputerFinalizationStrategy)).V()}},
+ {"g_withStrategiesXComputerVerificationStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ComputerVerificationStrategy()).V()}},
+ {"g_withoutStrategiesXComputerVerificationStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(ComputerVerificationStrategy)).V()}},
+
{"g_withStrategiesXConnectiveStrategyStrategyX_V_hasXname_markoX_or_whereXinXknowsX_hasXname_markoXX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ConnectiveStrategy()).V().Has("name",
"marko").Or().Where(__.In("knows").Has("name", "marko"))}},
+
{"g_withoutStrategiesXConnectiveStrategyX_V_hasXname_markoX_or_whereXinXknowsX_hasXname_markoXX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(ConnectiveStrategy)).V().Has("name",
"marko").Or().Where(__.In("knows").Has("name", "marko"))}},
+ {"g_withStrategiesXCountStrategyX_V_whereXoutE_count_isX0XX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
CountStrategy()).V().Where(__.OutE().Count().Is(0))}},
+
{"g_withoutStrategiesXCountStrategyX_V_whereXoutE_count_isX0XX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(CountStrategy)).V().Where(__.OutE().Count().Is(0))}},
+
{"g_withStrategiesXEarlyLimitStrategyX_V_out_order_valueMap_limitX3X_selectXnameX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
EarlyLimitStrategy()).V().Out().Order().ValueMap<object,
object>().Limit<object>(3).Select<object>("name")}},
+
{"g_withoutStrategiesXEarlyLimitStrategyX_V_out_order_valueMap_limitX3X_selectXnameX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(EarlyLimitStrategy)).V().Out().Order().ValueMap<object,
object>().Limit<object>(3).Select<object>("name")}},
+
{"g_withStrategiesXEdgeLabelVerificationStrategyXthrowException_true_logWarning_falseXX_V",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new EdgeLabelVerificationStrategy(throwException:
true, logWarning: false)).V().Out()}},
+
{"g_withStrategiesXEdgeLabelVerificationStrategyXthrowException_false_logWarning_falseXX_V",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new EdgeLabelVerificationStrategy(throwException:
false, logWarning: false)).V().Out()}},
+ {"g_withoutStrategiesXEdgeLabelVerificationStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(EdgeLabelVerificationStrategy)).V().Out()}},
+ {"g_withStrategiesXElementIdStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ElementIdStrategy()).V()}},
+ {"g_withoutStrategiesXElementIdStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(ElementIdStrategy)).V()}},
+ {"g_withStrategiesXFilterRankingStrategyX_V_out_order_dedup",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
FilterRankingStrategy()).V().Out().Order().Dedup()}},
+
{"g_withoutStrategiesXFilterRankingStrategyX_V_out_order_dedup", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(FilterRankingStrategy)).V().Out().Order().Dedup()}},
+ {"g_withStrategiesXGraphFilterStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new GraphFilterStrategy()).V()}},
+ {"g_withoutStrategiesXGraphFilterStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(GraphFilterStrategy)).V()}},
+
{"g_withStrategiesXHaltedTraverserStrategyXDetachedFactoryXX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new HaltedTraverserStrategy(haltedTraverserFactory:
"org.apache.tinkerpop.gremlin.structure.util.detached.DetachedFactory")).V()}},
+
{"g_withStrategiesXHaltedTraverserStrategyXReferenceFactoryXX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new HaltedTraverserStrategy(haltedTraverserFactory:
"org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceFactory")).V()}},
+ {"g_withoutStrategiesXHaltedTraverserStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(HaltedTraverserStrategy)).V()}},
+ {"g_withStrategiesXIdentityRemovalStrategyX_V_identity_out",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
IdentityRemovalStrategy()).V().Identity().Out()}},
+ {"g_withoutStrategiesXIdentityRemovalStrategyX_V_identity_out",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(IdentityRemovalStrategy)).V().Identity().Out()}},
+ {"g_withStrategiesXIncidentToAdjacentStrategyX_V_outE_inV", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new IncidentToAdjacentStrategy()).V().OutE().InV()}},
+ {"g_withoutStrategiesXIncidentToAdjacentStrategyX_V_outE_inV",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(IncidentToAdjacentStrategy)).V().OutE().InV()}},
+
{"g_withStrategiesXInlineFilterStrategyX_V_filterXhasXname_markoXX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new InlineFilterStrategy()).V().Filter(__.Has("name",
"marko"))}},
+
{"g_withoutStrategiesXInlineFilterStrategyX_V_filterXhasXname_markoXX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(InlineFilterStrategy)).V().Filter(__.Has("name",
"marko"))}},
+ {"g_withStrategiesXLambdaRestrictionStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>()},
// skipping as it contains a lambda
+ {"g_withoutStrategiesXLambdaRestrictionStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>()},
// skipping as it contains a lambda
+ {"g_withStrategiesXLazyBarrierStrategyX_V_out_bothE_count", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
LazyBarrierStrategy()).V().Out().BothE().Count()}},
+ {"g_withoutStrategiesXLazyBarrierStrategyX_V_out_bothE_count",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(LazyBarrierStrategy)).V().Out().BothE().Count()}},
+
{"g_withStrategiesXMatchAlgorithmStrategyXmatchAlgorithm_CountMatchAlgorithmXX_V_matchXa_knows_b__a_created_cX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new MatchAlgorithmStrategy(matchAlgorithm:
"org.apache.tinkerpop.gremlin.process.traversal.step.map.MatchStep$CountMatchAlgorithm")).V().Match<object>(__.As("a").Out("knows").As("b"),
__.As("a").Out("created").As("c"))}},
+
{"g_withStrategiesXMatchAlgorithmStrategyXmatchAlgorithm_GreedyMatchAlgorithmXX_V_matchXa_knows_b__a_created_cX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new MatchAlgorithmStrategy(matchAlgorithm:
"org.apache.tinkerpop.gremlin.process.traversal.step.map.MatchStep$GreedyMatchAlgorithm")).V().Match<object>(__.As("a").Out("knows").As("b"),
__.As("a").Out("created").As("c"))}},
+
{"g_withoutStrategiesXMatchAlgorithmStrategyX_V_matchXa_knows_b__a_created_cX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(MatchAlgorithmStrategy)).V().Match<object>(__.As("a").Out("knows").As("b"),
__.As("a").Out("created").As("c"))}},
+
{"g_withStrategiesXMatchPredicateStrategyX_V_matchXa_created_lop_b__b_0created_29_cX_whereXc_repeatXoutX_timesX2XX_selectXa_b_cX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
MatchPredicateStrategy()).V().Match<object>(__.As("a").Out("created").Has("name",
"lop").As("b"), __.As("b").In("created").Has("age",
29).As("c")).Where(__.As("c").Repeat(__.Out()).Times(2)).Select<object>("a",
"b", "c")}},
+
{"g_withoutStrategiesXMatchPredicateStrategyX_V_matchXa_created_lop_b__b_0created_29_cX_whereXc_repeatXoutX_timesX2XX_selectXa_b_cX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(MatchPredicateStrategy)).V().Match<object>(__.As("a").Out("created").Has("name",
"lop").As("b"), __.As("b").In("created").Has("age",
29).As("c")).Where(__.As("c").Repeat(__.Out()).Times(2)).Select<object>("a",
"b", "c")}},
+ {"g_withStrategiesXMessagePassingReductionStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new MessagePassingReductionStrategy()).V()}},
+ {"g_withoutStrategiesXMessagePassingReductionStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(MessagePassingReductionStrategy)).V()}},
{"g_withoutStrategiesXCountStrategyX_V_count", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(CountStrategy)).V().Count()}},
{"g_V_coworker", new List<Func<GraphTraversalSource,
IDictionary<string, object>, ITraversal>> {(g,p)
=>g.V().HasLabel("person").Filter(__.OutE("created")).Aggregate("p").As("p1").Values<object>("name").As("p1n").Select<object>("p").Unfold<object>().Where(P.Neq("p1")).As("p2").Values<object>("name").As("p2n").Select<object>("p2").Out("created").Choose<object>(__.In("created").Where(P.Eq("p1")),
__.Values<object>("name"), __.Constant<object>(p["xx1"])).Group<object,
object> [...]
{"g_V_coworker_with_midV", new List<Func<GraphTraversalSource,
IDictionary<string, object>, ITraversal>> {(g,p)
=>g.V().HasLabel("person").Filter(__.OutE("created")).As("p1").V().HasLabel("person").Where(P.Neq("p1")).Filter(__.OutE("created")).As("p2").Map<object>(__.Out("created").Where(__.In("created").As("p1")).Values<object>("name").Fold()).Group<object,
object>().By(__.Select<object>("p1").By("name")).By(__.Group<object,
object>().By(__.Select<object>("p2").By("name") [...]
+ {"g_withStrategiesXOptionsStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new OptionsStrategy()).V()}},
+ {"g_withStrategiesXOptionsStrategyXmyVar_myValueXX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new OptionsStrategy(myVar: "myValue")).V()}},
+ {"g_withoutStrategiesXOptionsStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(OptionsStrategy)).V()}},
+ {"g_withStrategiesXOrderLimitStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new OrderLimitStrategy()).V()}},
+ {"g_withoutStrategiesXOrderLimitStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(OrderLimitStrategy)).V()}},
{"g_withStrategiesXPartitionStrategyXwrite_a_read_aXX_V_name",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.AddV("person").Property("_partition", "a").Property("name",
"alice").AddV("person").Property("_partition", "b").Property("name", "bob"),
(g,p) =>g.WithStrategies(new PartitionStrategy(partitionKey: "_partition",
writePartition: "a", readPartitions: new HashSet<string> { "a"
})).V().Values<object>("name")}},
{"g_withStrategiesXPartitionStrategyXwrite_a_read_a_bXX_V_name", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.AddV("person").Property("_partition", "a").Property("name",
"alice").AddV("person").Property("_partition", "b").Property("name", "bob"),
(g,p) =>g.WithStrategies(new PartitionStrategy(partitionKey: "_partition",
writePartition: "a", readPartitions: new HashSet<string> { "a", "b"
})).V().Values<object>("name")}},
{"g_withStrategiesXPartitionStrategyXwrite_a_read_cXX_V_name",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.AddV("person").Property("_partition", "a").Property("name",
"alice").AddV("person").Property("_partition", "b").Property("name", "bob"),
(g,p) =>g.WithStrategies(new PartitionStrategy(partitionKey: "_partition",
writePartition: "a", readPartitions: new HashSet<string> { "c"
})).V().Values<object>("name")}},
@@ -438,7 +488,15 @@ namespace Gremlin.Net.IntegrationTest.Gherkin
{"g_withStrategiesXPartitionStrategyXwrite_a_read_aXX_mergeVXlabel_person_name_aliceX_optionXonMatch_name_bobX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.AddV("person").Property("_partition", "a").Property("name",
"alice").AddV("person").Property("_partition", "b").Property("name", "alice"),
(g,p) =>g.WithStrategies(new PartitionStrategy(partitionKey: "_partition",
writePartition: "a", readPartitions: new HashSet<string> { "a [...]
{"g_withStrategiesXPartitionStrategyXwrite_a_read_aXX_mergeV_optionXonCreateX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.AddV("person").Property("_partition", "b").Property("name",
"alice"), (g,p) =>g.WithStrategies(new PartitionStrategy(partitionKey:
"_partition", writePartition: "a", readPartitions: new HashSet<string> { "a"
})).MergeV((IDictionary<object, object>) p["xx1"]).Option(Merge.OnCreate,
(IDictionary<object, objec [...]
{"g_withStrategiesXPartitionStrategyXwrite_a_read_aXX_injectX0X__mergeV_optionXonCreateX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.AddV("person").Property("_partition", "b").Property("name",
"alice"), (g,p) =>g.WithStrategies(new PartitionStrategy(partitionKey:
"_partition", writePartition: "a", readPartitions: new HashSet<string> { "a"
})).Inject<object>(0).MergeV((IDictionary<object, object>)
p["xx1"]).Option(Merge.OnCreat [...]
+
{"g_withStrategiesXPathProcessorStrategyX_V_asXaX_selectXaX_byXvaluesXnameXX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
PathProcessorStrategy()).V().As("a").Select<object>("a").By(__.Values<object>("name"))}},
+
{"g_withoutStrategiesXPathProcessorStrategyX_V_asXaX_selectXaX_byXvaluesXnameXX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(PathProcessorStrategy)).V().As("a").Select<object>("a").By(__.Values<object>("name"))}},
+ {"g_withStrategiesXPathRetractionStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new PathRetractionStrategy()).V()}},
+ {"g_withoutStrategiesXPathRetractionStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(PathRetractionStrategy)).V()}},
{"g_V_shortestpath", new List<Func<GraphTraversalSource,
IDictionary<string, object>, ITraversal>> {(g,p)
=>g.V().As("v").Both().As("v").Project<object>("src", "tgt",
"p").By(__.Select<object>(Pop.First, "v")).By(__.Select<object>(Pop.Last,
"v")).By(__.Select<object>(Pop.All,
"v")).As("triple").Group("x").By(__.Select<object>("src",
"tgt")).By(__.Select<object>("p").Fold()).Select<object>("tgt").Barrier().Repeat(__.Both().As("v").Project<object>("src",
"tgt", "p").By(__.Se [...]
+
{"g_withStrategiesXProductiveByStrategyX_V_group_byXageX_byXnameX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ProductiveByStrategy()).V().Group<object,
object>().By("age").By("name")}},
+
{"g_withoutStrategiesXProductiveByStrategyX_V_group_byXageX_byXnameX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(ProductiveByStrategy)).V().Group<object,
object>().By("age").By("name")}},
+ {"g_withStrategiesXProfileStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ProfileStrategy()).V()}},
+ {"g_withoutStrategiesXProfileStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(ProfileStrategy)).V()}},
{"g_withStrategiesXReadOnlyStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ReadOnlyStrategy()).V()}},
{"g_withStrategiesXReadOnlyStrategyX_V_outXknowsX_name", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
ReadOnlyStrategy()).V().Out("knows").Values<object>("name")}},
{"g_withStrategiesXReadOnlyStrategyX_addVXpersonX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ReadOnlyStrategy()).AddV("person")}},
@@ -447,6 +505,17 @@ namespace Gremlin.Net.IntegrationTest.Gherkin
{"g_withStrategiesXReadOnlyStrategyX_V_propertyXname_joshX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ReadOnlyStrategy()).V().Property("name",
"josh")}},
{"g_withStrategiesXReadOnlyStrategyX_E_propertyXweight_0X", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ReadOnlyStrategy()).E().Property("weight", 0)}},
{"g_V_classic_recommendation", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.V().Has("name", "DARK
STAR").As("a").Out("followedBy").Aggregate("stash").In("followedBy").Where(P.Neq("a").And(P.Not(P.Within("stash")))).GroupCount<object>().Unfold<object>().Project<object>("x",
"y",
"z").By(__.Select<object>(Column.Keys).Values<object>("name")).By(__.Select<object>(Column.Keys).Values<object>("performances")).By(__.Select<object>(Colu
[...]
+ {"g_withStrategiesXReferenceElementStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ReferenceElementStrategy()).V()}},
+ {"g_withoutStrategiesXReferenceElementStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(ReferenceElementStrategy)).V()}},
+
{"g_withStrategiesXRepeatUnrollStrategyX_V_repeatXoutX_timesX2X", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
RepeatUnrollStrategy()).V().Repeat(__.Out()).Times(2)}},
+
{"g_withoutStrategiesXRepeatUnrollStrategyX_V_repeatXoutX_timesX2X", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(RepeatUnrollStrategy)).V().Repeat(__.Out()).Times(2)}},
+
{"g_withStrategiesXReservedKeysVerificationStrategyXthrowException_trueXX_addVXpersonX_propertyXid_123X_propertyXname_markoX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ReservedKeysVerificationStrategy(throwException:
true)).AddV("person").Property("id", 123).Property("name", "marko")}},
+
{"g_withStrategiesXReservedKeysVerificationStrategyXthrowException_trueXX_addVXpersonX_propertyXage_29X_propertyXname_markoX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new ReservedKeysVerificationStrategy(throwException:
true, keys: new List<object> { "age" })).AddV("person").Property("age",
29).Property("name", "marko")}},
+
{"g_withoutStrategiesXReservedKeysVerificationStrategyX_addVXpersonX_propertyXid_123X_propertyXname_markoX",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(ReservedKeysVerificationStrategy)).AddV("person").Property("id",
123).Property("name", "marko")}},
+ {"g_withStrategiesXSeedStrategyX_V_coinX0.5X", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new SeedStrategy(seed: 7)).V().Coin(0.5)}},
+ {"g_withoutStrategiesXSeedStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(SeedStrategy)).V()}},
+ {"g_withStrategiesXStandardVerificationStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new StandardVerificationStrategy()).V()}},
+ {"g_withoutStrategiesXStandardVerificationStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(StandardVerificationStrategy)).V()}},
{"g_withStrategiesXSubgraphStrategyXsubgraphAXX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new SubgraphStrategy(vertices: __.Has("name",
P.Within("josh", "lop", "ripple")))).V()}},
{"g_withStrategiesXSubgraphStrategyXsubgraphAXX_E", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new SubgraphStrategy(vertices: __.Has("name",
P.Within("josh", "lop", "ripple")))).E()}},
{"g_withStrategiesXSubgraphStrategyXsubgraphAXX_VX4X_outE", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new SubgraphStrategy(vertices: __.Has("name",
P.Within("josh", "lop", "ripple")))).V(p["vid4"]).OutE()}},
@@ -508,6 +577,11 @@ namespace Gremlin.Net.IntegrationTest.Gherkin
{"g_withStrategiesXSubgraphStrategyXsubgraphDXX_EX12X_bothV",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new SubgraphStrategy(checkAdjacentVertices: false,
vertices: __.Has("name", P.Within("josh", "lop", "ripple")), edges:
__.Or(__.Has("weight", 0.4).HasLabel("created"), __.Has("weight",
1.0).HasLabel("created")))).E(p["eid12"]).BothV()}},
{"g_withStrategiesXSubgraphStrategyXsubgraphDXX_EX9X_bothV",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new SubgraphStrategy(checkAdjacentVertices: false,
vertices: __.Has("name", P.Within("josh", "lop", "ripple")), edges:
__.Or(__.Has("weight", 0.4).HasLabel("created"), __.Has("weight",
1.0).HasLabel("created")))).E(p["eid9"]).BothV()}},
{"g_withStrategiesXSubgraphStrategyXcheckAdjacentVertices_subgraphDXX_EX9X_bothV",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new SubgraphStrategy(checkAdjacentVertices: true,
vertices: __.Has("name", P.Within("josh", "lop", "ripple")), edges:
__.Or(__.Has("weight", 0.4).HasLabel("created"), __.Has("weight",
1.0).HasLabel("created")))).E(p["eid9"]).BothV()}},
+
{"g_withStrategiesXVertexProgramRestrictionStrategyX_withoutStrategiesXVertexProgramStrategyX_V",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new
VertexProgramRestrictionStrategy()).WithoutStrategies(typeof(VertexProgramStrategy)).V()}},
+
{"g_withStrategiesXVertexProgramRestrictionStrategy_VertexProgramStrategyX_V",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new VertexProgramRestrictionStrategy(), new
VertexProgramStrategy()).V()}},
+ {"g_withoutStrategiesXVertexProgramRestrictionStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithoutStrategies(typeof(VertexProgramRestrictionStrategy)).WithStrategies(new
VertexProgramStrategy()).V()}},
+ {"g_withStrategiesXVertexProgramStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithStrategies(new VertexProgramStrategy()).V()}},
+ {"g_withoutStrategiesXVertexProgramStrategyX_V", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithoutStrategies(typeof(VertexProgramStrategy)).V()}},
{"g_VX1X_asXaX_outXcreatedX_addEXcreatedByX_toXaX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.AddV("person").Property("name", "marko").Property("age",
29).As("marko").AddV("person").Property("name", "vadas").Property("age",
27).As("vadas").AddV("software").Property("name", "lop").Property("lang",
"java").As("lop").AddV("person").Property("name", "josh").Property("age",
32).As("josh").AddV("software").Property("name", "ripple") [...]
{"g_VX1X_asXaX_outXcreatedX_addEXcreatedByX_toXaX_propertyXweight_2X", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.AddV("person").Property("name", "marko").Property("age",
29).As("marko").AddV("person").Property("name", "vadas").Property("age",
27).As("vadas").AddV("software").Property("name", "lop").Property("lang",
"java").As("lop").AddV("person").Property("name", "josh").Property("age",
32).As("josh").AddV("software").Propert [...]
{"g_V_outE_propertyXweight_nullX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.AddV("person").Property("name", "marko").Property("age",
29).As("marko").AddV("person").Property("name", "vadas").Property("age",
27).As("vadas").AddV("software").Property("name", "lop").Property("lang",
"java").As("lop").AddV("person").Property("name", "josh").Property("age",
32).As("josh").AddV("software").Property("name", "ripple").Property("lang",
[...]
@@ -1547,11 +1621,11 @@ namespace Gremlin.Net.IntegrationTest.Gherkin
{"g_io_readXgraphmlX", new List<Func<GraphTraversalSource,
IDictionary<string, object>, ITraversal>> {(g,p)
=>g.Io<object>("data/tinkerpop-modern.xml").Read(), (g,p) =>g.V(), (g,p)
=>g.E()}},
{"g_io_read_withXreader_graphmlX", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.Io<object>("data/tinkerpop-modern.xml").With(IO.Reader,
IO.GraphML).Read(), (g,p) =>g.V(), (g,p) =>g.E()}},
{"g_withSackXhelloX_V_outE_sackXassignX_byXlabelX_inV_sack",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSack("hello").V().OutE().Sack(Operator.Assign).By(T.Label).InV().Sack<object>()}},
- {"g_withSackX0X_V_outE_sackXsumX_byXweightX_inV_sack_sum", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSack(0.0).V().OutE().Sack(Operator.Sum).By("weight").InV().Sack<object>().Sum<object>()}},
-
{"g_withSackX0X_V_repeatXoutE_sackXsumX_byXweightX_inVX_timesX2X_sack", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSack(0.0).V().Repeat(__.OutE().Sack(Operator.Sum).By("weight").InV()).Times(2).Sack<object>()}},
-
{"g_withBulkXfalseX_withSackX1_sumX_VX1X_localXoutEXknowsX_barrierXnormSackX_inVX_inXknowsX_barrier_sack",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithBulk(false).WithSack(1.0,
Operator.Sum).V(p["vid1"]).Local<object>(__.OutE("knows").Barrier(Barrier.NormSack).InV()).In("knows").Barrier().Sack<object>()}},
+ {"g_withSackX0X_V_outE_sackXsumX_byXweightX_inV_sack_sum", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSack(0.0d).V().OutE().Sack(Operator.Sum).By("weight").InV().Sack<object>().Sum<object>()}},
+
{"g_withSackX0X_V_repeatXoutE_sackXsumX_byXweightX_inVX_timesX2X_sack", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSack(0.0d).V().Repeat(__.OutE().Sack(Operator.Sum).By("weight").InV()).Times(2).Sack<object>()}},
+
{"g_withBulkXfalseX_withSackX1_sumX_VX1X_localXoutEXknowsX_barrierXnormSackX_inVX_inXknowsX_barrier_sack",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithBulk(false).WithSack(1.0d,
Operator.Sum).V(p["vid1"]).Local<object>(__.OutE("knows").Barrier(Barrier.NormSack).InV()).In("knows").Barrier().Sack<object>()}},
{"g_withBulkXfalseX_withSackX1_sumX_V_out_barrier_sack", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithBulk(false).WithSack(1,
Operator.Sum).V().Out().Barrier().Sack<object>()}},
-
{"g_withSackX1_sumX_VX1X_localXoutXknowsX_barrierXnormSackXX_inXknowsX_barrier_sack",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithSack(1.0,
Operator.Sum).V(p["vid1"]).Local<object>(__.Out("knows").Barrier(Barrier.NormSack)).In("knows").Barrier().Sack<object>()}},
+
{"g_withSackX1_sumX_VX1X_localXoutXknowsX_barrierXnormSackXX_inXknowsX_barrier_sack",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithSack(1.0d,
Operator.Sum).V(p["vid1"]).Local<object>(__.Out("knows").Barrier(Barrier.NormSack)).In("knows").Barrier().Sack<object>()}},
{"g_V_sackXassignX_byXageX_sack", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.V().Sack(Operator.Assign).By("age").Sack<object>()}},
{"g_withSackXBigInteger_TEN_powX1000X_assignX_V_localXoutXknowsX_barrierXnormSackXX_inXknowsX_barrier_sack",
new List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p) =>g.WithSack(p["xx1"],
Operator.Assign).V().Local<object>(__.Out("knows").Barrier(Barrier.NormSack)).In("knows").Barrier().Sack<object>()}},
{"g_withSackX2X_V_sackXdivX_byXconstantX4_0XX_sack", new
List<Func<GraphTraversalSource, IDictionary<string, object>, ITraversal>>
{(g,p)
=>g.WithSack(2).V().Sack(Operator.Div).By(__.Constant<object>(p["xx1"])).Sack<object>()}},
diff --git a/gremlin-go/driver/cucumber/gremlin.go
b/gremlin-go/driver/cucumber/gremlin.go
index f59087c8f7..591bdd0c7c 100644
--- a/gremlin-go/driver/cucumber/gremlin.go
+++ b/gremlin-go/driver/cucumber/gremlin.go
@@ -381,9 +381,59 @@ var translationMap = map[string][]func(g
*gremlingo.GraphTraversalSource, p map[
"g_V_asXnX_whereXorXhasLabelXsoftwareX_hasLabelXpersonXXX_selectXnX_byXnameX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.V().As("n").Where(gremlingo.T__.Or(gremlingo.T__.HasLabel("software"),
gremlingo.T__.HasLabel("person"))).Select("n").By("name")}},
"g_V_asXnX_whereXorXselectXnX_hasLabelXsoftwareX_selectXnX_hasLabelXpersonXXX_selectXnX_byXnameX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.V().As("n").Where(gremlingo.T__.Or(gremlingo.T__.Select("n").HasLabel("software"),
gremlingo.T__.Select("n").HasLabel("person"))).Select("n").By("name")}},
"g_V_hasLabelXpersonX_asXxX_whereXinEXknowsX_count_isXgteX1XXX_selectXxX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.V().HasLabel("person").As("x").Where(gremlingo.T__.InE("knows").Count().Is(gremlingo.P.Gte(1))).Select("x")}},
+ "g_withStrategiesXAdjacentToIncidentStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.AdjacentToIncidentStrategy()).V()}},
+ "g_withoutStrategiesXAdjacentToIncidentStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(AdjacentToIncidentStrategy).V()}},
+ "g_withStrategiesXAdjacentToIncidentStrategyX_V_out_count": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.AdjacentToIncidentStrategy()).V().Out().Count()}},
+ "g_withStrategiesXAdjacentToIncidentStrategyX_V_whereXoutX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.AdjacentToIncidentStrategy()).V().Where(gremlingo.T__.Out())}},
+
"g_withStrategiesXByModulatorOptimizationStrategyX_V_order_byXvaluesXnameXX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ByModulatorOptimizationStrategy()).V().Order().By(gremlingo.T__.Values("name"))}},
+
"g_withoutStrategiesXByModulatorOptimizationStrategyX_V_order_byXvaluesXnameXX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(ByModulatorOptimizationStrategy).V().Order().By(gremlingo.T__.Values("name"))}},
+ "g_withStrategiesXComputerFinalizationStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ComputerFinalizationStrategy()).V()}},
+ "g_withoutStrategiesXByModulatorOptimizationStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(ComputerFinalizationStrategy).V()}},
+ "g_withStrategiesXComputerVerificationStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ComputerVerificationStrategy()).V()}},
+ "g_withoutStrategiesXComputerVerificationStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(ComputerVerificationStrategy).V()}},
+
"g_withStrategiesXConnectiveStrategyStrategyX_V_hasXname_markoX_or_whereXinXknowsX_hasXname_markoXX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ConnectiveStrategy()).V().Has("name",
"marko").Or().Where(gremlingo.T__.In("knows").Has("name", "marko"))}},
+
"g_withoutStrategiesXConnectiveStrategyX_V_hasXname_markoX_or_whereXinXknowsX_hasXname_markoXX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(ConnectiveStrategy).V().Has("name",
"marko").Or().Where(gremlingo.T__.In("knows").Has("name", "marko"))}},
+ "g_withStrategiesXCountStrategyX_V_whereXoutE_count_isX0XX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.CountStrategy()).V().Where(gremlingo.T__.OutE().Count().Is(0))}},
+ "g_withoutStrategiesXCountStrategyX_V_whereXoutE_count_isX0XX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(CountStrategy).V().Where(gremlingo.T__.OutE().Count().Is(0))}},
+
"g_withStrategiesXEarlyLimitStrategyX_V_out_order_valueMap_limitX3X_selectXnameX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.EarlyLimitStrategy()).V().Out().Order().ValueMap().Limit(3).Select("name")}},
+
"g_withoutStrategiesXEarlyLimitStrategyX_V_out_order_valueMap_limitX3X_selectXnameX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(EarlyLimitStrategy).V().Out().Order().ValueMap().Limit(3).Select("name")}},
+
"g_withStrategiesXEdgeLabelVerificationStrategyXthrowException_true_logWarning_falseXX_V":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.EdgeLabelVerificationStrategy(gremlingo.EdgeLabelVerificationStrategyConfig{ThrowException:
true, LogWarning: false})).V().Out()}},
+
"g_withStrategiesXEdgeLabelVerificationStrategyXthrowException_false_logWarning_falseXX_V":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.EdgeLabelVerificationStrategy(gremlingo.EdgeLabelVerificationStrategyConfig{ThrowException:
false, LogWarning: false})).V().Out()}},
+ "g_withoutStrategiesXEdgeLabelVerificationStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(EdgeLabelVerificationStrategy).V().Out()}},
+ "g_withStrategiesXElementIdStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ElementIdStrategy()).V()}},
+ "g_withoutStrategiesXElementIdStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithoutStrategies(ElementIdStrategy).V()}},
+ "g_withStrategiesXFilterRankingStrategyX_V_out_order_dedup": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.FilterRankingStrategy()).V().Out().Order().Dedup()}},
+ "g_withoutStrategiesXFilterRankingStrategyX_V_out_order_dedup": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(FilterRankingStrategy).V().Out().Order().Dedup()}},
+ "g_withStrategiesXGraphFilterStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.GraphFilterStrategy()).V()}},
+ "g_withoutStrategiesXGraphFilterStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(GraphFilterStrategy).V()}},
+ "g_withStrategiesXHaltedTraverserStrategyXDetachedFactoryXX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.HaltedTraverserStrategy(gremlingo.HaltedTraverserStrategyConfig{HaltedTraverserFactory:
"org.apache.tinkerpop.gremlin.structure.util.detached.DetachedFactory"})).V()}},
+ "g_withStrategiesXHaltedTraverserStrategyXReferenceFactoryXX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.HaltedTraverserStrategy(gremlingo.HaltedTraverserStrategyConfig{HaltedTraverserFactory:
"org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceFactory"})).V()}},
+ "g_withoutStrategiesXHaltedTraverserStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(HaltedTraverserStrategy).V()}},
+ "g_withStrategiesXIdentityRemovalStrategyX_V_identity_out": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.IdentityRemovalStrategy()).V().Identity().Out()}},
+ "g_withoutStrategiesXIdentityRemovalStrategyX_V_identity_out": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(IdentityRemovalStrategy).V().Identity().Out()}},
+ "g_withStrategiesXIncidentToAdjacentStrategyX_V_outE_inV": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.IncidentToAdjacentStrategy()).V().OutE().InV()}},
+ "g_withoutStrategiesXIncidentToAdjacentStrategyX_V_outE_inV": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(IncidentToAdjacentStrategy).V().OutE().InV()}},
+ "g_withStrategiesXInlineFilterStrategyX_V_filterXhasXname_markoXX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.InlineFilterStrategy()).V().Filter(gremlingo.T__.Has("name",
"marko"))}},
+ "g_withoutStrategiesXInlineFilterStrategyX_V_filterXhasXname_markoXX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(InlineFilterStrategy).V().Filter(gremlingo.T__.Has("name",
"marko"))}},
+ "g_withStrategiesXLambdaRestrictionStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return nil}}, // skipping as it contains a lambda
+ "g_withoutStrategiesXLambdaRestrictionStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return nil}}, // skipping as it contains a lambda
+ "g_withStrategiesXLazyBarrierStrategyX_V_out_bothE_count": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.LazyBarrierStrategy()).V().Out().BothE().Count()}},
+ "g_withoutStrategiesXLazyBarrierStrategyX_V_out_bothE_count": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(LazyBarrierStrategy).V().Out().BothE().Count()}},
+
"g_withStrategiesXMatchAlgorithmStrategyXmatchAlgorithm_CountMatchAlgorithmXX_V_matchXa_knows_b__a_created_cX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.MatchAlgorithmStrategy(gremlingo.MatchAlgorithmStrategyConfig{MatchAlgorithm:
"org.apache.tinkerpop.gremlin.process.traversal.step.map.MatchStep$CountMatchAlgorithm"})).V().Match(gremlingo.T__.As("a").Out("knows").As("b"),
gremlingo.T__.As("a").Out [...]
+
"g_withStrategiesXMatchAlgorithmStrategyXmatchAlgorithm_GreedyMatchAlgorithmXX_V_matchXa_knows_b__a_created_cX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.MatchAlgorithmStrategy(gremlingo.MatchAlgorithmStrategyConfig{MatchAlgorithm:
"org.apache.tinkerpop.gremlin.process.traversal.step.map.MatchStep$GreedyMatchAlgorithm"})).V().Match(gremlingo.T__.As("a").Out("knows").As("b"),
gremlingo.T__.As("a").O [...]
+
"g_withoutStrategiesXMatchAlgorithmStrategyX_V_matchXa_knows_b__a_created_cX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(MatchAlgorithmStrategy).V().Match(gremlingo.T__.As("a").Out("knows").As("b"),
gremlingo.T__.As("a").Out("created").As("c"))}},
+
"g_withStrategiesXMatchPredicateStrategyX_V_matchXa_created_lop_b__b_0created_29_cX_whereXc_repeatXoutX_timesX2XX_selectXa_b_cX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.MatchPredicateStrategy()).V().Match(gremlingo.T__.As("a").Out("created").Has("name",
"lop").As("b"), gremlingo.T__.As("b").In("created").Has("age",
29).As("c")).Where(gremlingo.T__.As("c").Repeat(gremlingo.T__.Out()).Times(2)).Sel
[...]
+
"g_withoutStrategiesXMatchPredicateStrategyX_V_matchXa_created_lop_b__b_0created_29_cX_whereXc_repeatXoutX_timesX2XX_selectXa_b_cX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(MatchPredicateStrategy).V().Match(gremlingo.T__.As("a").Out("created").Has("name",
"lop").As("b"), gremlingo.T__.As("b").In("created").Has("age",
29).As("c")).Where(gremlingo.T__.As("c").Repeat(gremlingo.T__.Out()).Times(2)).Select("a
[...]
+ "g_withStrategiesXMessagePassingReductionStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.MessagePassingReductionStrategy()).V()}},
+ "g_withoutStrategiesXMessagePassingReductionStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(MessagePassingReductionStrategy).V()}},
"g_withoutStrategiesXCountStrategyX_V_count": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.Inject(6)}},
"g_V_coworker": {func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return
g.V().HasLabel("person").Filter(gremlingo.T__.OutE("created")).Aggregate("p").As("p1").Values("name").As("p1n").Select("p").Unfold().Where(gremlingo.P.Neq("p1")).As("p2").Values("name").As("p2n").Select("p2").Out("created").Choose(gremlingo.T__.In("created").Where(gremlingo.P.Eq("p1")),
gremlingo.T__.Values("name"),
gremlingo.T__.Constant(p["xx1"])).Group().By(gremling [...]
"g_V_coworker_with_midV": {func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return
g.V().HasLabel("person").Filter(gremlingo.T__.OutE("created")).As("p1").V().HasLabel("person").Where(gremlingo.P.Neq("p1")).Filter(gremlingo.T__.OutE("created")).As("p2").Map(gremlingo.T__.Out("created").Where(gremlingo.T__.In("created").As("p1")).Values("name").Fold()).Group().By(gremlingo.T__.Select("p1").By("name")).By(gremlingo.T__.Group().By(gremlingo.T_
[...]
+ "g_withStrategiesXOptionsStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.OptionsStrategy()).V()}},
+ "g_withStrategiesXOptionsStrategyXmyVar_myValueXX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.OptionsStrategy(gremlingo.OptionsStrategyConfig{MyVar:
"myValue"})).V()}},
+ "g_withoutStrategiesXOptionsStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithoutStrategies(OptionsStrategy).V()}},
+ "g_withStrategiesXOrderLimitStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.OrderLimitStrategy()).V()}},
+ "g_withoutStrategiesXOrderLimitStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(OrderLimitStrategy).V()}},
"g_withStrategiesXPartitionStrategyXwrite_a_read_aXX_V_name": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.AddV("person").Property("_partition",
"a").Property("name", "alice").AddV("person").Property("_partition",
"b").Property("name", "bob")}, func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.PartitionStrategy(gremlingo.PartitionStrategyConfig{Partit
[...]
"g_withStrategiesXPartitionStrategyXwrite_a_read_a_bXX_V_name": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.AddV("person").Property("_partition",
"a").Property("name", "alice").AddV("person").Property("_partition",
"b").Property("name", "bob")}, func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.PartitionStrategy(gremlingo.PartitionStrategyConfig{Part
[...]
"g_withStrategiesXPartitionStrategyXwrite_a_read_cXX_V_name": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.AddV("person").Property("_partition",
"a").Property("name", "alice").AddV("person").Property("_partition",
"b").Property("name", "bob")}, func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.PartitionStrategy(gremlingo.PartitionStrategyConfig{Partit
[...]
@@ -408,7 +458,15 @@ var translationMap = map[string][]func(g
*gremlingo.GraphTraversalSource, p map[
"g_withStrategiesXPartitionStrategyXwrite_a_read_aXX_mergeVXlabel_person_name_aliceX_optionXonMatch_name_bobX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.AddV("person").Property("_partition",
"a").Property("name", "alice").AddV("person").Property("_partition",
"b").Property("name", "alice")}, func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.Partit [...]
"g_withStrategiesXPartitionStrategyXwrite_a_read_aXX_mergeV_optionXonCreateX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.AddV("person").Property("_partition",
"b").Property("name", "alice")}, func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.PartitionStrategy(gremlingo.PartitionStrategyConfig{PartitionKey:
"_partition", WritePartition: "a", ReadPar [...]
"g_withStrategiesXPartitionStrategyXwrite_a_read_aXX_injectX0X__mergeV_optionXonCreateX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.AddV("person").Property("_partition",
"b").Property("name", "alice")}, func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.PartitionStrategy(gremlingo.PartitionStrategyConfig{PartitionKey:
"_partition", WritePartition: " [...]
+
"g_withStrategiesXPathProcessorStrategyX_V_asXaX_selectXaX_byXvaluesXnameXX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.PathProcessorStrategy()).V().As("a").Select("a").By(gremlingo.T__.Values("name"))}},
+
"g_withoutStrategiesXPathProcessorStrategyX_V_asXaX_selectXaX_byXvaluesXnameXX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(PathProcessorStrategy).V().As("a").Select("a").By(gremlingo.T__.Values("name"))}},
+ "g_withStrategiesXPathRetractionStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.PathRetractionStrategy()).V()}},
+ "g_withoutStrategiesXPathRetractionStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(PathRetractionStrategy).V()}},
"g_V_shortestpath": {func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return
g.V().As("v").Both().As("v").Project("src", "tgt",
"p").By(gremlingo.T__.Select(gremlingo.Pop.First,
"v")).By(gremlingo.T__.Select(gremlingo.Pop.Last,
"v")).By(gremlingo.T__.Select(gremlingo.Pop.All,
"v")).As("triple").Group("x").By(gremlingo.T__.Select("src",
"tgt")).By(gremlingo.T__.Select("p").Fold()).Select("tgt").Barrier().Repeat(gremlingo.T__.Both().As("v").P
[...]
+ "g_withStrategiesXProductiveByStrategyX_V_group_byXageX_byXnameX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ProductiveByStrategy()).V().Group().By("age").By("name")}},
+ "g_withoutStrategiesXProductiveByStrategyX_V_group_byXageX_byXnameX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(ProductiveByStrategy).V().Group().By("age").By("name")}},
+ "g_withStrategiesXProfileStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ProfileStrategy()).V()}},
+ "g_withoutStrategiesXProfileStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithoutStrategies(ProfileStrategy).V()}},
"g_withStrategiesXReadOnlyStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ReadOnlyStrategy()).V()}},
"g_withStrategiesXReadOnlyStrategyX_V_outXknowsX_name": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ReadOnlyStrategy()).V().Out("knows").Values("name")}},
"g_withStrategiesXReadOnlyStrategyX_addVXpersonX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ReadOnlyStrategy()).AddV("person")}},
@@ -417,6 +475,17 @@ var translationMap = map[string][]func(g
*gremlingo.GraphTraversalSource, p map[
"g_withStrategiesXReadOnlyStrategyX_V_propertyXname_joshX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ReadOnlyStrategy()).V().Property("name", "josh")}},
"g_withStrategiesXReadOnlyStrategyX_E_propertyXweight_0X": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ReadOnlyStrategy()).E().Property("weight", 0)}},
"g_V_classic_recommendation": {func(g *gremlingo.GraphTraversalSource, p
map[string]interface{}) *gremlingo.GraphTraversal {return g.V().Has("name",
"DARK
STAR").As("a").Out("followedBy").Aggregate("stash").In("followedBy").Where(gremlingo.P.Neq("a").And(gremlingo.P.Not(gremlingo.P.Within("stash")))).GroupCount().Unfold().Project("x",
"y",
"z").By(gremlingo.T__.Select(gremlingo.Column.Keys).Values("name")).By(gremlingo.T__.Select(gremlingo.Column.Keys).Values("performances")).By(grem
[...]
+ "g_withStrategiesXReferenceElementStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ReferenceElementStrategy()).V()}},
+ "g_withoutStrategiesXReferenceElementStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(ReferenceElementStrategy).V()}},
+ "g_withStrategiesXRepeatUnrollStrategyX_V_repeatXoutX_timesX2X": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.RepeatUnrollStrategy()).V().Repeat(gremlingo.T__.Out()).Times(2)}},
+ "g_withoutStrategiesXRepeatUnrollStrategyX_V_repeatXoutX_timesX2X":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(RepeatUnrollStrategy).V().Repeat(gremlingo.T__.Out()).Times(2)}},
+
"g_withStrategiesXReservedKeysVerificationStrategyXthrowException_trueXX_addVXpersonX_propertyXid_123X_propertyXname_markoX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ReservedKeysVerificationStrategy(gremlingo.ReservedKeysVerificationStrategyConfig{ThrowException:
true})).AddV("person").Property("id", 123).Property("name", "marko")}},
+
"g_withStrategiesXReservedKeysVerificationStrategyXthrowException_trueXX_addVXpersonX_propertyXage_29X_propertyXname_markoX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.ReservedKeysVerificationStrategy(gremlingo.ReservedKeysVerificationStrategyConfig{ThrowException:
true, Keys: []interface{}{"age"}})).AddV("person").Property("age",
29).Property("name", "marko")}},
+
"g_withoutStrategiesXReservedKeysVerificationStrategyX_addVXpersonX_propertyXid_123X_propertyXname_markoX":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(ReservedKeysVerificationStrategy).AddV("person").Property("id",
123).Property("name", "marko")}},
+ "g_withStrategiesXSeedStrategyX_V_coinX0.5X": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.SeedStrategy(gremlingo.SeedStrategyConfig{Seed:
7})).V().Coin(0.5)}},
+ "g_withoutStrategiesXSeedStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.WithoutStrategies(SeedStrategy).V()}},
+ "g_withStrategiesXStandardVerificationStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.StandardVerificationStrategy()).V()}},
+ "g_withoutStrategiesXStandardVerificationStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(StandardVerificationStrategy).V()}},
"g_withStrategiesXSubgraphStrategyXsubgraphAXX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.SubgraphStrategy(gremlingo.SubgraphStrategyConfig{Vertices:
gremlingo.T__.Has("name", gremlingo.P.Within("josh", "lop",
"ripple"))})).V()}},
"g_withStrategiesXSubgraphStrategyXsubgraphAXX_E": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.SubgraphStrategy(gremlingo.SubgraphStrategyConfig{Vertices:
gremlingo.T__.Has("name", gremlingo.P.Within("josh", "lop",
"ripple"))})).E()}},
"g_withStrategiesXSubgraphStrategyXsubgraphAXX_VX4X_outE": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.SubgraphStrategy(gremlingo.SubgraphStrategyConfig{Vertices:
gremlingo.T__.Has("name", gremlingo.P.Within("josh", "lop",
"ripple"))})).V(p["vid4"]).OutE()}},
@@ -478,6 +547,11 @@ var translationMap = map[string][]func(g
*gremlingo.GraphTraversalSource, p map[
"g_withStrategiesXSubgraphStrategyXsubgraphDXX_EX12X_bothV": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.SubgraphStrategy(gremlingo.SubgraphStrategyConfig{CheckAdjacentVertices:
false, Vertices: gremlingo.T__.Has("name", gremlingo.P.Within("josh", "lop",
"ripple")), Edges: gremlingo.T__.Or(gremlingo.T__.Has("weight",
0.4).HasLabel("created"), gremlingo.T__.Has("weight",
1.0).HasLabel("created"))})).E( [...]
"g_withStrategiesXSubgraphStrategyXsubgraphDXX_EX9X_bothV": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.SubgraphStrategy(gremlingo.SubgraphStrategyConfig{CheckAdjacentVertices:
false, Vertices: gremlingo.T__.Has("name", gremlingo.P.Within("josh", "lop",
"ripple")), Edges: gremlingo.T__.Or(gremlingo.T__.Has("weight",
0.4).HasLabel("created"), gremlingo.T__.Has("weight",
1.0).HasLabel("created"))})).E(p [...]
"g_withStrategiesXSubgraphStrategyXcheckAdjacentVertices_subgraphDXX_EX9X_bothV":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.SubgraphStrategy(gremlingo.SubgraphStrategyConfig{CheckAdjacentVertices:
true, Vertices: gremlingo.T__.Has("name", gremlingo.P.Within("josh", "lop",
"ripple")), Edges: gremlingo.T__.Or(gremlingo.T__.Has("weight",
0.4).HasLabel("created"), gremlingo.T__.Has("weight", 1.0).HasLab [...]
+
"g_withStrategiesXVertexProgramRestrictionStrategyX_withoutStrategiesXVertexProgramStrategyX_V":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.VertexProgramRestrictionStrategy()).WithoutStrategies(VertexProgramStrategy).V()}},
+
"g_withStrategiesXVertexProgramRestrictionStrategy_VertexProgramStrategyX_V":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.VertexProgramRestrictionStrategy(),
gremlingo.VertexProgramStrategy()).V()}},
+ "g_withoutStrategiesXVertexProgramRestrictionStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(VertexProgramRestrictionStrategy).WithStrategies(gremlingo.VertexProgramStrategy()).V()}},
+ "g_withStrategiesXVertexProgramStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithStrategies(gremlingo.VertexProgramStrategy()).V()}},
+ "g_withoutStrategiesXVertexProgramStrategyX_V": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return
g.WithoutStrategies(VertexProgramStrategy).V()}},
"g_VX1X_asXaX_outXcreatedX_addEXcreatedByX_toXaX": {func(g
*gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.AddV("person").Property("name",
"marko").Property("age", 29).As("marko").AddV("person").Property("name",
"vadas").Property("age", 27).As("vadas").AddV("software").Property("name",
"lop").Property("lang", "java").As("lop").AddV("person").Property("name",
"josh").Property("age", 32).As("josh").AddV("software").Property("name",
"ripple [...]
"g_VX1X_asXaX_outXcreatedX_addEXcreatedByX_toXaX_propertyXweight_2X":
{func(g *gremlingo.GraphTraversalSource, p map[string]interface{})
*gremlingo.GraphTraversal {return g.AddV("person").Property("name",
"marko").Property("age", 29).As("marko").AddV("person").Property("name",
"vadas").Property("age", 27).As("vadas").AddV("software").Property("name",
"lop").Property("lang", "java").As("lop").AddV("person").Property("name",
"josh").Property("age", 32).As("josh").AddV("software").Prope [...]
"g_V_outE_propertyXweight_nullX": {func(g *gremlingo.GraphTraversalSource,
p map[string]interface{}) *gremlingo.GraphTraversal {return
g.AddV("person").Property("name", "marko").Property("age",
29).As("marko").AddV("person").Property("name", "vadas").Property("age",
27).As("vadas").AddV("software").Property("name", "lop").Property("lang",
"java").As("lop").AddV("person").Property("name", "josh").Property("age",
32).As("josh").AddV("software").Property("name", "ripple").Property("lang [...]