@Repository public class NodeGraphRepositoryImpl<T> extends AbstractGraphRepository<org.neo4j.graphdb.Node,T> implements GraphRepository<T>, RelationshipOperationsRepository<T>
clazz, EMPTY_CLOSABLE_ITERABLE, template
Constructor and Description |
---|
NodeGraphRepositoryImpl(Class<T> clazz,
Neo4jTemplate template) |
Modifier and Type | Method and Description |
---|---|
<R> R |
createDuplicateRelationshipBetween(T start,
Object end,
Class<R> relationshipEntityClass,
String relationshipType) |
<R> R |
createRelationshipBetween(T start,
Object end,
Class<R> relationshipEntityClass,
String relationshipType) |
void |
deleteRelationshipBetween(T start,
Object end,
String type) |
<N> Iterable<T> |
findAllByTraversal(N start,
org.neo4j.graphdb.traversal.TraversalDescription traversalDescription)
Traversal based finder that returns a lazy Iterable over the traversal results
|
protected org.neo4j.graphdb.Node |
getById(long id) |
<R> R |
getRelationshipBetween(T start,
Object end,
Class<R> relationshipEntityClass,
String relationshipType) |
count, createEntity, delete, delete, delete, deleteAll, exists, findAll, findAll, findAll, findAll, findAllByPropertyValue, findAllByPropertyValue, findAllByQuery, findAllByQuery, findAllByRange, findAllByRange, findByPropertyValue, findByPropertyValue, findOne, findWithinBoundingBox, findWithinDistance, findWithinWellKnownText, getStoredJavaType, query, query, query, query, save, save
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findAll, findAll, getStoredJavaType, query
findAll
count, delete, delete, delete, deleteAll, exists, findAll, findOne, save, save
findAllByPropertyValue, findAllByQuery, findAllByRange, findByPropertyValue
public NodeGraphRepositoryImpl(Class<T> clazz, Neo4jTemplate template)
protected org.neo4j.graphdb.Node getById(long id)
getById
in class AbstractGraphRepository<org.neo4j.graphdb.Node,T>
public <N> Iterable<T> findAllByTraversal(N start, org.neo4j.graphdb.traversal.TraversalDescription traversalDescription)
TraversalRepository
findAllByTraversal
in interface TraversalRepository<T>
N
- Start node entity typestart
- the node to start the traversal frompublic <R> R createRelationshipBetween(T start, Object end, Class<R> relationshipEntityClass, String relationshipType)
createRelationshipBetween
in interface RelationshipOperationsRepository<T>
public <R> R createDuplicateRelationshipBetween(T start, Object end, Class<R> relationshipEntityClass, String relationshipType)
createDuplicateRelationshipBetween
in interface RelationshipOperationsRepository<T>
public <R> R getRelationshipBetween(T start, Object end, Class<R> relationshipEntityClass, String relationshipType)
getRelationshipBetween
in interface RelationshipOperationsRepository<T>
public void deleteRelationshipBetween(T start, Object end, String type)
deleteRelationshipBetween
in interface RelationshipOperationsRepository<T>
Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.