Neo4j Enterprise

org.neo4j.cypher.export
Class DatabaseSubGraph

java.lang.Object
  extended by org.neo4j.cypher.export.DatabaseSubGraph
All Implemented Interfaces:
SubGraph

public class DatabaseSubGraph
extends Object
implements SubGraph

Since:
18.02.13
Author:
mh

Constructor Summary
DatabaseSubGraph(GraphDatabaseService gdb)
           
 
Method Summary
 boolean contains(Relationship relationship)
           
static SubGraph from(GraphDatabaseService gdb)
           
 Iterable<Node> getNodes()
           
 Node getReferenceNode()
           
 Iterable<Relationship> getRelationships()
           
 Iterable<IndexDefinition> indexes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseSubGraph

public DatabaseSubGraph(GraphDatabaseService gdb)
Method Detail

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

Neo4j Enterprise

Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.