for serialization
convenience method to create and serialize a case class
creates a new Node from Database service
Returns all nodes with the specified labels matching the given predicate.
Returns all nodes with the specified labels matching the given predicate.
the label name to which to confine the search.
the node property whose value to match.
the property value to match. Must adhere to Neo4j allowed property types.
All nodes matching the given predicate with the supplied label.
creates a functional correct ReturnableEvaluator instance
creates a functional correct ReturnableEvaluator instance
creates a functional correct StopEvaluator instance
creates a functional correct StopEvaluator instance
Returns all nodes in the node space.
Returns all nodes in the node space.
all nodes in the node space
Returns all nodes of the specified label.
Returns all nodes of the specified label.
the name of the label under which to confine the search
all nodes with the specified label.
Looks up a node by id.
Looks up a node by id.
the id of the node
the node with id id if found
if not found
Looks up a relationship by id.
Looks up a relationship by id.
the id of the relationship
the relationship with id id if found
if not found
Returns all relationship types currently in the underlying store.
Returns all relationship types currently in the underlying store.
Relationship types are added to the underlying store the first time they
are used in a successfully commited Node#createRelationshipTo
node.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 node
space).
all relationship types in the underlying store
Stuff for Indexes
Stuff for Indexes
converts to a relationship builder to use --> <-- methods
converts to a relationship builder to use --> <-- methods
label convenience methods
label convenience methods
conversion to use property set and get convenience
conversion to use property set and get convenience
Shuts down Neo4j.
Shuts down Neo4j. After this method has been invoked, it's invalid to invoke any methods in the Neo4j API and all references to this instance of GraphDatabaseService should be discarded.
converts a String to a relationship type
converts a String to a relationship type
Execute instructions within a Neo4j transaction; rollback if exception is raised and commit otherwise; and return the return value from the operation.
Extend your class with this trait to get really neat new notation for creating new relationships. For example, ugly Java-esque code like:
val knows = DynamicRelationshipType.withName("KNOWS") start.createRelationshipTo(intermediary, knows) intermediary.createRelationshipTo(end, knows)can be replaced with a beautiful Scala one-liner: