org.springframework.data.graph.neo4j.rest.support
Class RestTraverser
java.lang.Object
org.springframework.data.graph.neo4j.rest.support.RestTraverser
- All Implemented Interfaces:
- Iterable<org.neo4j.graphdb.Path>, org.neo4j.graphdb.traversal.Traverser
public class RestTraverser
- extends Object
- implements org.neo4j.graphdb.traversal.Traverser
- Since:
- 03.02.11
- Author:
- Michael Hunger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestTraverser
public RestTraverser(Collection col,
RestGraphDatabase restGraphDatabase)
nodes
public Iterable<org.neo4j.graphdb.Node> nodes()
- Specified by:
nodes
in interface org.neo4j.graphdb.traversal.Traverser
relationships
public Iterable<org.neo4j.graphdb.Relationship> relationships()
- Specified by:
relationships
in interface org.neo4j.graphdb.traversal.Traverser
iterator
public Iterator<org.neo4j.graphdb.Path> iterator()
- Specified by:
iterator
in interface Iterable<org.neo4j.graphdb.Path>
- Specified by:
iterator
in interface org.neo4j.graphdb.traversal.Traverser
Copyright © 2011. All Rights Reserved.