org.neo4j.cypher.export
Class CypherResultSubGraph
java.lang.Object
org.neo4j.cypher.export.CypherResultSubGraph
- All Implemented Interfaces:
- SubGraph
public class CypherResultSubGraph
- extends Object
- implements SubGraph
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CypherResultSubGraph
public CypherResultSubGraph()
add
public void add(Node node)
add
public void add(Relationship rel)
from
public static SubGraph from(ExecutionResult result,
boolean addBetween)
getNodes
public Iterable<Node> getNodes()
- Specified by:
getNodes in interface SubGraph
getRelationships
public Iterable<Relationship> getRelationships()
- Specified by:
getRelationships in interface SubGraph
getReferenceNode
public Node getReferenceNode()
- Specified by:
getReferenceNode in interface SubGraph
contains
public boolean contains(Relationship relationship)
- Specified by:
contains in interface SubGraph
indexes
public Iterable<IndexDefinition> indexes()
- Specified by:
indexes in interface SubGraph
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.