thanks Giulia , but after this
Iterable<Vertex> v = g.command(new OSQLSynchQuery<Vertex>("select name,
$depth from (traverse out('link') from (select from node where name= 'A')
while $depth<=3)")).execute();
how to fetch result?
On Thursday, July 16, 2015 at 6:11:25 PM UTC+5:30, Arpit Jain wrote:
>
> Hello,
> My requirement is to fetch all vertices at a certain depth.
> suppose vertex A is connected with B and C
> and B is connected with D and E
> and E is connected with F and G adn follows...
> if i want to get all vertices of A to a certain depth (say 3 ), what
> should i do?
> Using Java APi
>
>
--
---
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.