Re: How to create Query to find Vertex and its outs

2018-06-22 Thread Stephen Mallette
You might get some trouble with answers to this as it looks like you're using the long long forgotten TinkerPop 2.x (with an older version of OrientDB). As far as Gremlin goes in any version you can use it to answer: > find both any A (filtering by a field of A) and the list of all B vertices B

How to create Query to find Vertex and its outs

2018-06-21 Thread gianluca . val
Hi, I'm new about Java gremlin. I need an help on gremlin over OrientDB. This is my scenario: On my graph I have 2 Vertex classes, type A and type B. Let A is a Vertex of type A and it is linked to 0 or more Vertices of type B. So now I need to find both any A (filtering by a field of A) and