Uses of Interface
org.neo4j.graphdb.Node

Packages that use Node
org.neo4j.graphdb The graph database API used by Neo4j. 
org.neo4j.index Provides indexing capabilities to the Neo4j graph. 
org.neo4j.index.lucene An indexing implementation using Apache Lucene as backend. 
org.neo4j.index.timeline A utility for indexing nodes ordered by a timestamp. 
org.neo4j.kernel Implementation for embedding a Neo4j graph database in an application. 
org.neo4j.remote A tool for introspecting a running Neo4j Graph Database instance from a different process. 
 

Uses of Node in org.neo4j.graphdb
 

Methods in org.neo4j.graphdb that return Node
 Node GraphDatabaseService.createNode()
          Creates a new node.
 Node TraversalPosition.currentNode()
          Return the current node.
 Node Relationship.getEndNode()
          Returns the end node of this relationship.
 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 GraphDatabaseService.getReferenceNode()
          Returns the reference node, which is a "starting point" in the node space.
 Node Relationship.getStartNode()
          Returns the start node of this relationship.
 Node TraversalPosition.previousNode()
          Returns the previous node.
 

Methods in org.neo4j.graphdb that return types with arguments of type Node
 Iterable<Node> GraphDatabaseService.getAllNodes()
          Returns all nodes in the node space.
 Collection<Node> Traverser.getAllNodes()
          Returns a collection of all nodes for this traversal.
 Iterator<Node> Traverser.iterator()
          Returns an Iterator representing the traversal of the graph.
 

Methods in org.neo4j.graphdb with parameters of type Node
 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.
 

Uses of Node in org.neo4j.index
 

Methods in org.neo4j.index that return Node
 Node IndexService.getSingleNode(String key, Object value)
          Returns a single node indexed with associated with key and value.
 Node Index.getSingleNodeFor(Object indexKey)
          Deprecated. Returns a single node indexed with indexKey.
 

Methods in org.neo4j.index that return types with arguments of type Node
 IndexHits<Node> IndexService.getNodes(String key, Object value)
          Returns all nodes indexed with key and value.
 IndexHits<Node> Index.getNodesFor(Object indexKey)
          Deprecated. Returns nodes indexed with indexKey
 Iterable<Node> Index.values()
          Deprecated. Returns all nodes in this index.
 

Methods in org.neo4j.index with parameters of type Node
 void Index.index(Node nodeToIndex, Object indexKey)
          Deprecated. Create a index mapping between a node and a key.
 void IndexService.index(Node node, String key, Object value)
          Index node with key and value.
 void Index.remove(Node nodeToRemove, Object indexKey)
          Deprecated. Removes a index mapping between a node and a key.
 void IndexService.removeIndex(Node node, String key, Object value)
          Dissociates a key-value pair from node.
 

Uses of Node in org.neo4j.index.lucene
 

Methods in org.neo4j.index.lucene that return Node
 Node LuceneReadOnlyIndexService.getSingleNode(String key, Object value)
           
 Node LuceneIndexService.getSingleNode(String key, Object value)
           
 

Methods in org.neo4j.index.lucene that return types with arguments of type Node
 IndexHits<Node> LuceneFulltextIndexService.getNodes(String key, Object value)
          Since this is a "fulltext" index it changes the contract of this method slightly.
 IndexHits<Node> LuceneFulltextQueryIndexService.getNodes(String key, Object value)
          Here the value is treated as a lucene query, http://lucene.apache.org/java/2_9_1/queryparsersyntax.html So if you've indexed node (1) with value "Andy Wachowski" and node (2) with "Larry Wachowski" you can expect this behaviour if you query for: "andy" --> (1) "Andy" --> (1) "wachowski" --> (1), (2) "+wachow* +larry" --> (2) "andy AND larry" --> "andy OR larry" --> (1), (2) "larry Wachowski" --> (1), (2) The default AND/OR behaviour can be changed by overriding LuceneFulltextQueryIndexService.getDefaultQueryOperator(String, Object).
 IndexHits<Node> LuceneReadOnlyIndexService.getNodes(String key, Object value)
           
 IndexHits<Node> LuceneIndexService.getNodes(String key, Object value)
          Returns all nodes indexed with key and value.
 IndexHits<Node> LuceneReadOnlyIndexService.getNodes(String key, Object value, org.apache.lucene.search.Sort sortingOrNull)
          Just like LuceneReadOnlyIndexService.getNodes(String, Object), but with sorted result.
 IndexHits<Node> LuceneIndexService.getNodes(String key, Object value, org.apache.lucene.search.Sort sortingOrNull)
          Just like LuceneIndexService.getNodes(String, Object), but with sorted result.
protected  Iterator<Node> LuceneReadOnlyIndexService.instantiateIdToNodeIterator(Iterator<Long> ids)
           
protected  Iterator<Node> LuceneIndexService.instantiateIdToNodeIterator(Iterator<Long> ids)
           
 

Methods in org.neo4j.index.lucene with parameters of type Node
 void LuceneIndexService.index(Node node, String key, Object value)
          Index node with key and value.
protected  void LuceneReadOnlyIndexService.indexThisTx(Node node, String key, Object value)
           
protected  void LuceneIndexService.indexThisTx(Node node, String key, Object value)
           
protected  void LuceneReadOnlyIndexService.removeIndexThisTx(Node node, String key, Object value)
           
protected  void LuceneIndexService.removeIndexThisTx(Node node, String key, Object value)
           
 

Uses of Node in org.neo4j.index.timeline
 

Methods in org.neo4j.index.timeline that return Node
 Node Timeline.getFirstNode()
           
 Node TimelineIndex.getFirstNode()
          Returns the first node in the timeline, that is the node with the lowest timestamp or null if there's no nodes in the timeline.
 Node Timeline.getLastNode()
           
 Node TimelineIndex.getLastNode()
          Returns the last node in the timeline, that is the node with the highest timestamp or null if there's no nodes in the timeline.
 Node Timeline.getUnderlyingNode()
          Returns the underlying node representing this timeline.
 

Methods in org.neo4j.index.timeline that return types with arguments of type Node
 Iterable<Node> Timeline.getAllNodes()
           
 Iterable<Node> TimelineIndex.getAllNodes()
          Returns all added nodes in this timeline ordered by increasing timestamp.
 Iterable<Node> Timeline.getAllNodes(Long afterTimestampOrNull, Long beforeTimestampOrNull)
           
 Iterable<Node> TimelineIndex.getAllNodes(Long startTimestampOrNull, Long endTimestampOrNull)
          Convenience method which you can use TimelineIndex.getAllNodes(), TimelineIndex.getAllNodesAfter(long), TimelineIndex.getAllNodesBefore(long) and TimelineIndex.getAllNodesBetween(long, long) in a single method.
 Iterable<Node> Timeline.getAllNodesAfter(long timestamp)
           
 Iterable<Node> TimelineIndex.getAllNodesAfter(long timestamp)
          Returns all the nodes after (exclusive) timestamp ordered by increasing timestamp.
 Iterable<Node> Timeline.getAllNodesBefore(long timestamp)
           
 Iterable<Node> TimelineIndex.getAllNodesBefore(long timestamp)
          Returns all the nodes before (exclusive) timestamp ordered by increasing timestamp.
 Iterable<Node> Timeline.getAllNodesBetween(long startTime, long endTime)
           
 Iterable<Node> TimelineIndex.getAllNodesBetween(long startTimestamp, long endTimestamp)
          Returns all the nodes after (exclusive) afterTimestamp and before (exclusive) beforeTimestamp ordered by increasing timestamp.
 Iterable<Node> Timeline.getNodes(long timestamp)
           
 Iterable<Node> TimelineIndex.getNodes(long timestamp)
          Returns nodes which were added with the given timestamp.
 

Methods in org.neo4j.index.timeline with parameters of type Node
 void Timeline.addNode(Node nodeToAdd, long timestamp)
           
 void TimelineIndex.addNode(Node nodeToAdd, long timestamp)
          Adds a node to this timeline with the given timestamp.
 long Timeline.getTimestampForNode(Node node)
           
 long TimelineIndex.getTimestampForNode(Node node)
          Will return the timestamp for node if it has been added to this timeline.
 void Timeline.removeNode(Node nodeToRemove)
           
 void TimelineIndex.removeNode(Node nodeToRemove)
          Removes a node from the timeline.
 

Constructors in org.neo4j.index.timeline with parameters of type Node
Timeline(String name, Node underlyingNode, boolean indexed, GraphDatabaseService graphDb)
          Creates/loads a timeline.
Timeline(String name, Node underlyingNode, GraphDatabaseService graphDb)
          Creates/loads an indexed timeline.
 

Uses of Node in org.neo4j.kernel
 

Methods in org.neo4j.kernel that return Node
 Node EmbeddedReadOnlyGraphDatabase.createNode()
           
 Node EmbeddedGraphDatabase.createNode()
           
 Node EmbeddedReadOnlyGraphDatabase.getNodeById(long id)
           
 Node EmbeddedGraphDatabase.getNodeById(long id)
           
 Node EmbeddedReadOnlyGraphDatabase.getReferenceNode()
           
 Node EmbeddedGraphDatabase.getReferenceNode()
           
 

Methods in org.neo4j.kernel that return types with arguments of type Node
 Iterable<Node> EmbeddedReadOnlyGraphDatabase.getAllNodes()
           
 Iterable<Node> EmbeddedGraphDatabase.getAllNodes()
           
 

Uses of Node in org.neo4j.remote
 

Methods in org.neo4j.remote that return Node
 Node RemoteGraphDatabase.createNode()
           
 Node RemoteGraphDatabase.getNodeById(long id)
           
 Node RemoteGraphDatabase.getReferenceNode()
           
 Node RemoteIndexService.getSingleNode(String key, Object value)
           
 

Methods in org.neo4j.remote that return types with arguments of type Node
 Iterable<Node> RemoteGraphDatabase.getAllNodes()
           
 IndexHits<Node> RemoteIndexService.getNodes(String key, Object value)
           
 

Methods in org.neo4j.remote with parameters of type Node
 void RemoteIndexService.index(Node node, String key, Object value)
           
 void RemoteIndexService.removeIndex(Node node, String key, Object value)
           
 



Copyright © 2010 Neo4j. All Rights Reserved.