@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, findAllBySchemaPropertyValue, findByPropertyValue, findByPropertyValue, findBySchemaPropertyValue, findOne, findWithinBoundingBox, findWithinBoundingBox, findWithinDistance, findWithinDistance, findWithinShape, findWithinWellKnownText, getStoredJavaType, query, query, query, query, save, saveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAll, getStoredJavaType, queryfindAllcount, delete, delete, delete, deleteAll, exists, findAll, findOne, save, savefindAllByPropertyValue, findAllByQuery, findAllByRange, findByPropertyValuefindAllBySchemaPropertyValue, findBySchemaPropertyValuepublic 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)
TraversalRepositoryfindAllByTraversal 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-2014–2014 Pivotal Software, Inc.. All rights reserved.