There's no such statistics in the traversal framework, no. But your solution
with your own counter in the Evaluator would show you how many nodes was
encountered during the traversal (for the selected uniqueness setting).
2011/4/18 bhargav gunda
> Respected,
>
> here is the case which I want to
Respected,
here is the case which I want to count total number of nodes and dragging
only some level (in between) of nodes from total.
The sample code looks like this:
public Traverser testCase(Node node, int limitFrom) {
TravesalDescription td = null;
try{
td = Trave
Bhargav,
I'm not sure I am following you. Could you maybe write some pseudo
code to highlight the case?
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneu
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 wrote:
> Of course,
> You can have a count outside your
2011/4/13 Peter Neubauer :
> 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?
>
Traversals are single-threaded btw.
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" <
step
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
7 matches
Mail list logo