public class ConvertingEntityPath<S,E> extends Object implements EntityPath<S,E>
Constructor and Description |
---|
ConvertingEntityPath(org.neo4j.graphdb.Path delegate,
Neo4jTemplate template) |
Modifier and Type | Method and Description |
---|---|
<T> Iterable<T> |
allPathEntities(Class<T>... relationships) |
<T> T |
endEntity(Class<T>... types) |
org.neo4j.graphdb.Node |
endNode() |
Iterator<org.neo4j.graphdb.PropertyContainer> |
iterator() |
org.neo4j.graphdb.Relationship |
lastRelationship() |
<T> T |
lastRelationshipEntity(Class<T>... types) |
int |
length() |
<T> Iterable<T> |
nodeEntities() |
Iterable<org.neo4j.graphdb.Node> |
nodes() |
<T> Iterable<T> |
relationshipEntities(Class<T>... relationships) |
Iterable<org.neo4j.graphdb.Relationship> |
relationships() |
Iterable<org.neo4j.graphdb.Node> |
reverseNodes() |
Iterable<org.neo4j.graphdb.Relationship> |
reverseRelationships() |
<T> T |
startEntity(Class<T>... types) |
org.neo4j.graphdb.Node |
startNode() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ConvertingEntityPath(org.neo4j.graphdb.Path delegate, Neo4jTemplate template)
public <T> T startEntity(Class<T>... types)
startEntity
in interface EntityPath<S,E>
public <T> T endEntity(Class<T>... types)
endEntity
in interface EntityPath<S,E>
public <T> T lastRelationshipEntity(Class<T>... types)
lastRelationshipEntity
in interface EntityPath<S,E>
public <T> Iterable<T> nodeEntities()
nodeEntities
in interface EntityPath<S,E>
public <T> Iterable<T> relationshipEntities(Class<T>... relationships)
relationshipEntities
in interface EntityPath<S,E>
public <T> Iterable<T> allPathEntities(Class<T>... relationships)
allPathEntities
in interface EntityPath<S,E>
public org.neo4j.graphdb.Node startNode()
startNode
in interface org.neo4j.graphdb.Path
public org.neo4j.graphdb.Node endNode()
endNode
in interface org.neo4j.graphdb.Path
public org.neo4j.graphdb.Relationship lastRelationship()
lastRelationship
in interface org.neo4j.graphdb.Path
public Iterable<org.neo4j.graphdb.Relationship> relationships()
relationships
in interface org.neo4j.graphdb.Path
public Iterable<org.neo4j.graphdb.Relationship> reverseRelationships()
reverseRelationships
in interface org.neo4j.graphdb.Path
public Iterable<org.neo4j.graphdb.Node> reverseNodes()
reverseNodes
in interface org.neo4j.graphdb.Path
public Iterable<org.neo4j.graphdb.Node> nodes()
nodes
in interface org.neo4j.graphdb.Path
public int length()
length
in interface org.neo4j.graphdb.Path
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.