Hi.

to fetch and get the results you have to use a for each, like this:

for (Vertex v2: v){
System.out.println(v2.getProperty("name") + " " + v2.getProperty("$depth") 
);
}

this retrieves the name of the node and the depth, if you want to retrieve 
other data just add another v2.getProperty(<nameProperty>)

Bye,
Giulia

-- 

--- 
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