Hi, 

I'm currently using the Java API of OrientDB traverse command and need to 
get back all vertexes associated with the primary vertex, but only along a 
certain edge. 

For example

Vertex = Person - Using createVertexType("PERSON")
Vertex = Area

Edge = Family (Person 1, Person2) - Where the edge was created via 
createEdgeType("FAMILY")
Edge = Friend(Person 1, PersonA)
Edge = LivesIn(Person 1, Area)


When I try find everyone related to Person1, including all the extended 
family (so an edge between Person 2 and Person 3, Person 3 -> Person 4, 
Person 4 -> Person 2 etc), results in not just ODocuments of each of the 
family members, but all the friends and all the people who live in the same 
area as well.

List<OIdentifiable> returned = vertex.traverse().fields("*").execute();

I get the feeling my error is with using "any" fields, however I anything 
else I put in the field/fields method always returns only the first 
vertex.  Also attempting to write
"vertex.traverse().getFields()" returns an empty array.

Am I missing something?

Thank you for any response


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to