| Package | Description | 
|---|---|
| org.neo4j.graphdb | 
 The core graph database API. 
 | 
| org.neo4j.graphdb.event | 
 Event framework. 
 | 
| org.neo4j.graphdb.index | 
 Integrated API for node and relationship indexing. 
 | 
| org.neo4j.graphdb.traversal | 
 Traversal framework. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Node | 
GraphDatabaseService.createNode()
Creates a new node. 
 | 
Node | 
GraphDatabaseService.createNode(Label... labels)
Creates a new node and adds the provided labels to it. 
 | 
Node | 
Path.endNode()
Returns the end node of this path. 
 | 
Node | 
GraphDatabaseService.findNode(Label label,
        String key,
        Object value)
Equivalent to  
GraphDatabaseService.findNodes(Label, String, Object), however it must find no more than one
 node or it will throw an exception. | 
Node | 
Relationship.getEndNode()
Returns the end node of this relationship. 
 | 
Node | 
Result.ResultRow.getNode(String key)  | 
Node | 
GraphDatabaseService.getNodeById(long id)
Looks up a node by id. 
 | 
Node[] | 
Relationship.getNodes()
Returns the two nodes that are attached to this relationship. 
 | 
Node | 
Relationship.getOtherNode(Node node)
A convenience operation that, given a node that is attached to this
 relationship, returns the other node. 
 | 
Node | 
Relationship.getStartNode()
Returns the start node of this relationship. 
 | 
Node | 
Path.startNode()
Returns the start node of this path. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
org.neo4j.graphdb.ResourceIterator<Node> | 
GraphDatabaseService.findNodes(Label label)
 | 
org.neo4j.graphdb.ResourceIterator<Node> | 
GraphDatabaseService.findNodes(Label label,
         String key,
         Object value)
Returns all nodes having the label, and the wanted property value. 
 | 
org.neo4j.graphdb.ResourceIterable<Node> | 
GraphDatabaseService.getAllNodes()
Returns all nodes in the graph. 
 | 
Iterable<Node> | 
Path.nodes()
Returns all the nodes in this path starting from the start node going
 forward towards the end node. 
 | 
Iterable<Node> | 
Path.reverseNodes()
Returns all the nodes in this path in reversed order, i.e. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Relationship | 
Node.createRelationshipTo(Node otherNode,
                    RelationshipType type)
Creates a relationship between this node and another node. 
 | 
Node | 
Relationship.getOtherNode(Node node)
A convenience operation that, given a node that is attached to this
 relationship, returns the other node. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
PathExpanderBuilder | 
PathExpanderBuilder.addNodeFilter(Predicate<? super Node> filter)
Adds a  
Node filter. | 
| Modifier and Type | Method and Description | 
|---|---|
Node | 
LabelEntry.node()
This is the node which has had the label added or removed. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Iterable<PropertyEntry<Node>> | 
TransactionData.assignedNodeProperties()
Get the properties that had a value assigned or overwritten on a node
 during the transaction. 
 | 
Iterable<Node> | 
TransactionData.createdNodes()
Get the nodes that were created during the transaction. 
 | 
Iterable<Node> | 
TransactionData.deletedNodes()
Get the nodes that were deleted during the transaction. 
 | 
Iterable<PropertyEntry<Node>> | 
TransactionData.removedNodeProperties()
Get the properties that had a value removed from a node during the
 transaction. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
TransactionData.isDeleted(Node node)
Returns whether or not  
node is deleted in this transaction. | 
| Modifier and Type | Method and Description | 
|---|---|
Index<Node> | 
IndexManager.forNodes(String indexName)
 | 
Index<Node> | 
IndexManager.forNodes(String indexName,
        Map<String,String> customConfiguration)
 | 
AutoIndexer<Node> | 
IndexManager.getNodeAutoIndexer()
Deprecated. 
 
this feature will be removed in a future release, please consider using schema indexes instead 
 | 
| Modifier and Type | Method and Description | 
|---|---|
IndexHits<Relationship> | 
ReadableRelationshipIndex.get(String key,
   Object valueOrNull,
   Node startNodeOrNull,
   Node endNodeOrNull)
Returns exact matches from this index, given the key/value pair. 
 | 
IndexHits<Relationship> | 
ReadableRelationshipIndex.query(Object queryOrQueryObjectOrNull,
     Node startNodeOrNull,
     Node endNodeOrNull)
Returns matches from this index based on the supplied query object, which
 can be a query string or an implementation-specific query object. 
 | 
IndexHits<Relationship> | 
ReadableRelationshipIndex.query(String key,
     Object queryOrQueryObjectOrNull,
     Node startNodeOrNull,
     Node endNodeOrNull)
Returns matches from this index based on the supplied  
key and
 query object, which can be a query string or an implementation-specific
 query object. | 
| Constructor and Description | 
|---|
UniqueNodeFactory(Index<Node> index)
Create a new  
UniqueFactory for nodes. | 
| Modifier and Type | Method and Description | 
|---|---|
org.neo4j.graphdb.ResourceIterable<Node> | 
Traverser.nodes()
Represents the traversal in the form of  
Nodes. | 
| Modifier and Type | Method and Description | 
|---|---|
static <STATE> PathEvaluator<STATE> | 
Evaluators.endNodeIs(Evaluation evaluationIfMatch,
         Evaluation evaluationIfNoMatch,
         Node... possibleEndNodes)
An  
Evaluator which will return evaluationIfMatch if Path.endNode()
 for a given path is any of nodes, else evaluationIfNoMatch. | 
static <STATE> PathEvaluator<STATE> | 
Evaluators.endNodeIsAtDepth(int depth,
                Node... possibleEndNodes)
Returns  
Evaluators for paths with the specified depth and with an end node from the list of
 possibleEndNodes. | 
static <STATE> PathEvaluator<STATE> | 
Evaluators.includeIfContainsAll(Node... nodes)
Evaluator which decides to include a  
Path if all the
 nodes exist in it. | 
static <STATE> PathEvaluator<STATE> | 
Evaluators.includeWhereEndNodeIs(Node... nodes)
Include paths with the specified end nodes. 
 | 
String | 
Paths.DefaultPathDescriptor.nodeRepresentation(Path path,
                  Node node)  | 
String | 
Paths.PathDescriptor.nodeRepresentation(T path,
                  Node node)
Returns a string representation of a  
Node. | 
static <STATE> PathEvaluator<STATE> | 
Evaluators.pruneWhereEndNodeIs(Node... nodes)  | 
String | 
Paths.DefaultPathDescriptor.relationshipRepresentation(Path path,
                          Node from,
                          Relationship relationship)  | 
String | 
Paths.PathDescriptor.relationshipRepresentation(T path,
                          Node from,
                          Relationship relationship)
Returns a string representation of a  
Relationship. | 
static Path | 
Paths.singleNodePath(Node node)  | 
Traverser | 
TraversalDescription.traverse(Node... startNodes)
Traverse from a set of start nodes based on all the rules and behavior
 in this description. 
 | 
Traverser | 
TraversalDescription.traverse(Node startNode)
Traverse from a single start node based on all the rules and behavior
 in this description. 
 | 
Traverser | 
BidirectionalTraversalDescription.traverse(Node start,
        Node end)
Traverse between a given  
start and end node with all
 applied rules and behavior in this traversal description. | 
| Modifier and Type | Method and Description | 
|---|---|
Traverser | 
TraversalDescription.traverse(Iterable<Node> iterableStartNodes)
Traverse from a iterable of start nodes based on all the rules and behavior
 in this description. 
 | 
Traverser | 
BidirectionalTraversalDescription.traverse(Iterable<Node> start,
        Iterable<Node> end)
Traverse between a set of  
start and end nodes with all
 applied rules and behavior in this traversal description. | 
Traverser | 
BidirectionalTraversalDescription.traverse(Iterable<Node> start,
        Iterable<Node> end)
Traverse between a set of  
start and end nodes with all
 applied rules and behavior in this traversal description. | 
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.