Hi,
you could try with this code

GremlinPipeline<Vertex, Vertex> sources =new GremlinPipeline().start((g.
getVertices("name", "HEY BO DIDDLEY"))).bothE().outV().path(); 
 List<Vertex> fls3 = sources.toList();
 for(int i=0;i<fls3.size();i++){
 List<Object> l=(List<Object>) fls3.get(i);
 Vertex in=(Vertex) l.get(0);
 Vertex out=(Vertex) l.get(2);
 System.out.println(in.getProperty("yourproperty") + "  " + out.getProperty(
"yourproperty")); 
 }

Hope it helps.

Best regards,
Alessandro

-- 

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