Package apoc.result
Class VirtualPath
java.lang.Object
apoc.result.VirtualPath
- All Implemented Interfaces:
Iterable<org.neo4j.graphdb.Entity>,org.neo4j.graphdb.Path
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRel(org.neo4j.graphdb.Relationship relationship) org.neo4j.graphdb.NodeendNode()Iterator<org.neo4j.graphdb.Entity>iterator()org.neo4j.graphdb.Relationshipintlength()Iterable<org.neo4j.graphdb.Node>nodes()Iterable<org.neo4j.graphdb.Relationship>Iterable<org.neo4j.graphdb.Node>Iterable<org.neo4j.graphdb.Relationship>org.neo4j.graphdb.NodetoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
VirtualPath
public VirtualPath(org.neo4j.graphdb.Node start)
-
-
Method Details
-
addRel
public void addRel(org.neo4j.graphdb.Relationship relationship) -
startNode
public org.neo4j.graphdb.Node startNode()- Specified by:
startNodein interfaceorg.neo4j.graphdb.Path
-
endNode
public org.neo4j.graphdb.Node endNode()- Specified by:
endNodein interfaceorg.neo4j.graphdb.Path
-
lastRelationship
public org.neo4j.graphdb.Relationship lastRelationship()- Specified by:
lastRelationshipin interfaceorg.neo4j.graphdb.Path
-
relationships
- Specified by:
relationshipsin interfaceorg.neo4j.graphdb.Path
-
reverseRelationships
- Specified by:
reverseRelationshipsin interfaceorg.neo4j.graphdb.Path
-
nodes
- Specified by:
nodesin interfaceorg.neo4j.graphdb.Path
-
reverseNodes
- Specified by:
reverseNodesin interfaceorg.neo4j.graphdb.Path
-
length
public int length()- Specified by:
lengthin interfaceorg.neo4j.graphdb.Path
-
iterator
-
toString
-