org.neo4j.cypher.export
Class DatabaseSubGraph
java.lang.Object
org.neo4j.cypher.export.DatabaseSubGraph
- All Implemented Interfaces:
- SubGraph
public class DatabaseSubGraph
- extends Object
- implements SubGraph
- Since:
- 18.02.13
- Author:
- mh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseSubGraph
public DatabaseSubGraph(GraphDatabaseService gdb)
from
public static SubGraph from(GraphDatabaseService gdb)
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.