Spring Data Graph

org.springframework.data.graph.neo4j.finder
Class RelationshipFinder<T extends RelationshipBacked>

java.lang.Object
  extended by org.springframework.data.graph.neo4j.finder.AbstractFinder<org.neo4j.graphdb.Relationship,T>
      extended by org.springframework.data.graph.neo4j.finder.RelationshipFinder<T>
All Implemented Interfaces:
Finder<org.neo4j.graphdb.Relationship,T>

public class RelationshipFinder<T extends RelationshipBacked>
extends AbstractFinder<org.neo4j.graphdb.Relationship,T>


Field Summary
 
Fields inherited from class org.springframework.data.graph.neo4j.finder.AbstractFinder
clazz, graphDatabaseContext
 
Constructor Summary
RelationshipFinder(Class<T> clazz, GraphDatabaseContext graphDatabaseContext)
           
 
Method Summary
<N extends NodeBacked>
Iterable<T>
findAllByTraversal(N startNode, org.neo4j.graphdb.traversal.TraversalDescription traversalDescription)
          Traversal based finder that returns a lazy Iterable over the traversal results
protected  org.neo4j.graphdb.Relationship getById(long id)
           
 
Methods inherited from class org.springframework.data.graph.neo4j.finder.AbstractFinder
count, createEntity, createInclusiveRangeQuery, findAll, findAllByPropertyValue, findAllByQuery, findAllByRange, findById, findByPropertyValue, getIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipFinder

public RelationshipFinder(Class<T> clazz,
                          GraphDatabaseContext graphDatabaseContext)
Method Detail

getById

protected org.neo4j.graphdb.Relationship getById(long id)
Specified by:
getById in class AbstractFinder<org.neo4j.graphdb.Relationship,T extends RelationshipBacked>

findAllByTraversal

public <N extends NodeBacked> Iterable<T> findAllByTraversal(N startNode,
                                                             org.neo4j.graphdb.traversal.TraversalDescription traversalDescription)
Description copied from interface: Finder
Traversal based finder that returns a lazy Iterable over the traversal results

Type Parameters:
N - Start node entity type
Parameters:
startNode - the node to start the traversal from
Returns:
Iterable over traversal result

Spring Data Graph

Copyright © 2011. All Rights Reserved.