Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neo4j.graphdb.traversal
Interface TraversalMetadata

All Known Subinterfaces:
  TraversalContext

    public interface TraversalMetadata

Provides metadata about a traversal.

Author:
  Mattias Persson

Method Summary
`int` | `getNumberOfPathsReturned()`
`int` | `getNumberOfRelationshipsTraversed()`

Method Detail

### getNumberOfPathsReturned

    int getNumberOfPathsReturned()

  Returns:
    number of paths returned up to this point in the traversal.

### getNumberOfRelationshipsTraversed

    int getNumberOfRelationshipsTraversed()

  Returns:
    number of relationships traversed up to this point in the traversal. Some relationships in this counter might be unnecessarily traversed relationships, but at the same time it gives an accurate measure of how many relationships are requested from the underlying graph. Useful for comparing and first-level debugging of queries.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.