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 the list of all B vertices B linked to A. Is possible, using GremlinPipeline to have this response? Currently I execute the query in 2 steps: 1- Find the list of A (filtering by a field) 2- For each A I search the list (if any) of B linked to A In this case the query needs 9 seconds if I have a lot of B linked to some A. Can somebody help me? Gianluca