假设我有一个顶点列表( Person ),它的属性是、name、和age.I,它们想要编写一个查询,从而生成一个带有name="John" and age=22的顶点。(GraphQueryPipe.java:17)at com.tinkerpop.pipes.IdentityPipe.processNextStart(IdentityPipe.java:19)
at com.
是否有一种方法可以得到一个只有部分ID的顶点?例如,假设我有两个组成ID一部分的唯一值,例如:employeeName/{employeeName}/dob/{employeeDoB}。如果我只有一个值,比如employeeName,我还可以通过知道这个部分来得到顶点吗?我在想,我可以使用Tinkerpop Text enum来做一些类似的事情:但是我得到了一个序列化错误:
-: java
因此,从javadocs中可以看出,在添加到图中之后,如何修改顶点的属性并不明显。 at org.apache.tinkerpop.gremlin.structure.Element$Exceptions.propertyAdditionNotSupported(Element.java:133)
at org.
以下是 while (traversal.hasNext()) {}java.lang.UnsupportedOperationException: Row to Vertex conversion is not supported: Use .df().collect() instead of the iterator
at com.datastax.bdp.graph.spa
我有一些带有特定标签的顶点,它们有两个整数属性。我们称它们为integer1和integer2。我只想查询integer2大于integer1的所有顶点。$3.test(Compare.java:92)
at org.apache.tinkerpop.gremlin.process.traversal.P.test(P.java:72)at org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer.testValue(HasConta