Neo4j Enterprise

org.neo4j.cypher.export
Class CypherResultSubGraph

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

public class CypherResultSubGraph
extends Object
implements SubGraph


Constructor Summary
CypherResultSubGraph()
           
 
Method Summary
 void add(Node node)
           
 void add(Relationship rel)
           
 boolean contains(Relationship relationship)
           
static SubGraph from(ExecutionResult result, boolean addBetween)
           
 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

CypherResultSubGraph

public CypherResultSubGraph()
Method Detail

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

Neo4j Enterprise

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