Yeah I know that but I want it in the traverse function itself. Based on the result again I want to do one more function. So i am trying to find in the traverse function.
Thanks & Regards, G. On Wed, Apr 13, 2011 at 3:47 PM, Peter Neubauer <neubauer.pe...@gmail.com>wrote: > Of course, > You can have a count outside your traversal description that for instance > and Evaluator is updating since it is called for all traversed nodes. This > is not thread safe but I think it will give you the data you want? > > Sent from my phone. > On Apr 13, 2011 12:32 PM, "Stephan Hagemann" < > stephan.hagem...@googlemail.com> wrote: > > Hi Gunda, > > > > I believe you are asking fir the same thing I asked for a couple of days > > ago. Check this thread: > > > > http://lists.neo4j.org/pipermail/user/2011-April/007932.html > > > > As the discussion shows, this feature is currently not available but > > probably interesting in a lot of settings. At least for you and me ;) > > > > Regards, > > Stephan > > > > > > On Wed, Apr 13, 2011 at 11:23, bhargav gunda <bhargav....@gmail.com> > wrote: > > > >> Respected, > >> > >> I would to know that is there any method to count the number of nodes > and > >> relationships traversed by the traversal framework. > >> Like path.length() ---> which gives the depth of the tree. So as like > that > >> method is there any direct one? > >> > >> For example, > >> > >> If a tree consist of several nodes and several relations. And I want to > >> traverse from a particular node to the end of the tree and the result > has > >> only contains certain period of nodes like if the tree traverse 1000 > nodes > >> and 10000 relationships from a particular node and I want only the > result > >> which contains from node 35 to node 70. > >> So is there any direct method to get the count list of nodes and > >> relationships. > >> > >> Thanks & Regards, > >> G. > >> _______________________________________________ > >> Neo4j mailing list > >> User@lists.neo4j.org > >> https://lists.neo4j.org/mailman/listinfo/user > >> > > _______________________________________________ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user