Spring Data Graph

org.springframework.data.neo4j.rest
Class RestTraverser

java.lang.Object
  extended by org.springframework.data.neo4j.rest.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

Constructor Summary
RestTraverser(Collection col, RestGraphDatabase restGraphDatabase)
           
 
Method Summary
 Iterator<org.neo4j.graphdb.Path> iterator()
           
 Iterable<org.neo4j.graphdb.Node> nodes()
           
 Iterable<org.neo4j.graphdb.Relationship> relationships()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestTraverser

public RestTraverser(Collection col,
                     RestGraphDatabase restGraphDatabase)
Method Detail

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

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.