Constructor and Description |
---|
DatabaseSubGraph(org.neo4j.graphdb.GraphDatabaseService gdb) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(org.neo4j.graphdb.Relationship relationship) |
static SubGraph |
from(org.neo4j.graphdb.GraphDatabaseService gdb) |
Iterable<org.neo4j.graphdb.schema.ConstraintDefinition> |
getConstraints() |
Iterable<org.neo4j.graphdb.schema.IndexDefinition> |
getIndexes() |
Iterable<org.neo4j.graphdb.Node> |
getNodes() |
Iterable<org.neo4j.graphdb.Relationship> |
getRelationships() |
public DatabaseSubGraph(org.neo4j.graphdb.GraphDatabaseService gdb)
public static SubGraph from(org.neo4j.graphdb.GraphDatabaseService gdb)
public Iterable<org.neo4j.graphdb.Node> getNodes()
public Iterable<org.neo4j.graphdb.Relationship> getRelationships()
getRelationships
in interface SubGraph
public boolean contains(org.neo4j.graphdb.Relationship relationship)
public Iterable<org.neo4j.graphdb.schema.IndexDefinition> getIndexes()
getIndexes
in interface SubGraph
public Iterable<org.neo4j.graphdb.schema.ConstraintDefinition> getConstraints()
getConstraints
in interface SubGraph
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.