GraphDatabaseService instead@Deprecated public class GlobalGraphOperations extends Object
getAllNodes().| Modifier and Type | Method and Description |
|---|---|
static GlobalGraphOperations |
at(org.neo4j.graphdb.GraphDatabaseService db)
Deprecated.
Get a
GlobalGraphOperations for the given db. |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Label> |
getAllLabels()
Deprecated.
use
GraphDatabaseService.getAllLabels() instead |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Label> |
getAllLabelsInUse()
Deprecated.
use
GraphDatabaseService.getAllLabels() instead |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Node> |
getAllNodes()
Deprecated.
use
GraphDatabaseService.getAllNodes() instead |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Node> |
getAllNodesWithLabel(org.neo4j.graphdb.Label label)
Deprecated.
Use
GraphDatabaseService.findNodes(Label) instead |
org.neo4j.graphdb.ResourceIterable<String> |
getAllPropertyKeys()
Deprecated.
use
GraphDatabaseService.getAllPropertyKeys() instead |
Iterable<org.neo4j.graphdb.Relationship> |
getAllRelationships()
Deprecated.
use
GraphDatabaseService.getAllRelationships() instead |
Iterable<org.neo4j.graphdb.RelationshipType> |
getAllRelationshipTypes()
Deprecated.
use
GraphDatabaseService.getAllRelationshipTypes() instead |
Iterable<org.neo4j.graphdb.RelationshipType> |
getAllRelationshipTypesInUse()
Deprecated.
use
GraphDatabaseService.getAllRelationshipTypes() instead |
public static GlobalGraphOperations at(org.neo4j.graphdb.GraphDatabaseService db)
GlobalGraphOperations for the given db.db - the GraphDatabaseService to get global operations for.GlobalGraphOperations for the given db.@Deprecated public org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Node> getAllNodes()
GraphDatabaseService.getAllNodes() instead@Deprecated public Iterable<org.neo4j.graphdb.Relationship> getAllRelationships()
GraphDatabaseService.getAllRelationships() instead@Deprecated public Iterable<org.neo4j.graphdb.RelationshipType> getAllRelationshipTypes()
GraphDatabaseService.getAllRelationshipTypes() insteadnode.createRelationshipTo(...). Note that this method is
guaranteed to return all known relationship types, but it does not guarantee that it won't
return more than that (e.g. it can return "historic" relationship types that no longer
have any relationships in the graph).@Deprecated public Iterable<org.neo4j.graphdb.RelationshipType> getAllRelationshipTypesInUse()
GraphDatabaseService.getAllRelationshipTypes() insteadnode.createRelationshipTo(...). Note that this method is
guaranteed to return all known relationship types, and it guarantees that it won't return
"historic" relationship types that no longer have any relationships in the graph.@Deprecated public org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Label> getAllLabels()
GraphDatabaseService.getAllLabels() insteadResourceIterable is closed correctly and as soon as possible
inside your transaction to avoid potential blocking of write operations.@Deprecated public org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Label> getAllLabelsInUse()
GraphDatabaseService.getAllLabels() insteadResourceIterable is closed correctly and as soon as possible
inside your transaction to avoid potential blocking of write operations.@Deprecated public org.neo4j.graphdb.ResourceIterable<String> getAllPropertyKeys()
GraphDatabaseService.getAllPropertyKeys() insteadResourceIterable is closed correctly and as soon as possible
inside your transaction to avoid potential blocking of write operations.@Deprecated public org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Node> getAllNodesWithLabel(org.neo4j.graphdb.Label label)
GraphDatabaseService.findNodes(Label) insteadnodes with a specific label.
Please take care that the returned ResourceIterable is closed correctly and as soon as possible
inside your transaction to avoid potential blocking of write operations.label - the Label to return nodes for.Iterable containing nodes with a specific label.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.