Spring Data Graph

org.springframework.data.graph.neo4j.finder
Interface Finder<S extends org.neo4j.graphdb.PropertyContainer,T extends GraphBacked<S>>

All Known Implementing Classes:
AbstractFinder, NodeFinder, RelationshipFinder

public interface Finder<S extends org.neo4j.graphdb.PropertyContainer,T extends GraphBacked<S>>

Since:
12.01.11
Author:
mh

Method Summary
 long count()
           
 Iterable<T> findAll()
           
 Iterable<T> findAllByPropertyValue(String indexName, String property, Object value)
           
 Iterable<T> findAllByQuery(String indexName, String key, Object query)
           
 Iterable<T> findAllByRange(String indexName, String property, Number from, Number to)
           
<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
 T findById(long id)
           
 T findByPropertyValue(String indexName, String property, Object value)
           
 

Method Detail

count

long count()

findAll

Iterable<T> findAll()

findById

T findById(long id)

findByPropertyValue

T findByPropertyValue(String indexName,
                      String property,
                      Object value)

findAllByPropertyValue

Iterable<T> findAllByPropertyValue(String indexName,
                                   String property,
                                   Object value)

findAllByQuery

Iterable<T> findAllByQuery(String indexName,
                           String key,
                           Object query)

findAllByRange

Iterable<T> findAllByRange(String indexName,
                           String property,
                           Number from,
                           Number to)

findAllByTraversal

<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

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

Spring Data Graph

Copyright © 2011. All Rights Reserved.