I'm trying to get multiple values by running an OrientDb command from Java. Specifically I am trying to get a list of Vertices that are linked to a vertex and the @rid
of the Edges.
E.g If vertex V1 is linked to vertex V2 by edge E1, my query for V1 should return @rid
of E1 and V2.
I can do that in Orient Studio by running the query:
select @rid, expand(in) from ExampleEdge where out = '#14:33'
How can I code the above query in Java? All the examples are showing only single value results like:
Iterable<Vertex> vertexes = graph.command(new OCommandSQL("select expand(in()) from node where @rid = '#14:33'")).execute();