graphQuery.has(keyName, Text.REGEX, ".*string.*)
My question is under the new traversal APIs how would I do accomplish the same thing?
Thanks,
Rob Saccone
default GraphTraversal<S,E> has(String propertyKey, P<?> predicate)
which is part of the GraphTraversal interface. What I am missing is the class definitions that are the equivalent to the textContains or the textContainsRegex that I saw in the link you gave me.
Any pointers to those?
Thanks,
Rob
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/3081a6b7-9998-4ca7-a729-6ad2108f2216%40googlegroups.com.
_graphQuery.interval(arg0, arg1, arg2);
Thanks,
Rob
h = g.V().has('name', 'hercules').next()
g.V(h).outE('battled').has('time', inside(10, 20)).inV()
Hi,
graph.query().has(indexKey, Text.REGEX,value+".*").vertices().iterator()
graphTraversal.has(GraphSchema.PropertyKeys.ProjectorsKey, Text.textContainsRegex(".*RiskProjector.*"));
However if I switch to using just textContains it works as I get the expected results.
GraphTraversal<Vertex, Vertex> graphTraversal = graph.traversal().V().
graphTraversal.has(GraphSchema.PropertyKeys.ProjectorsKey, Text.textContains("RiskProjector"));
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/598e0dd7-80d2-47ce-9400-663369af44d2%40googlegroups.com.