neo4j :: GraphStore
neo4j :: GraphStore :: defaultinit
neo4j :: GraphStore :: isolated_save
Can we save the graph without conflict?neo4j :: GraphStore :: save_part
Save the specified part of the graph.neo4j $ GraphStore :: SELF
Type of this instance, automatically specialized in every classcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
neo4j :: GraphStore :: defaultinit
core :: Object :: defaultinit
progression :: Trackable :: defaultinit
progression :: Trackable :: fire_done
Notice the registeredProgessionListener
that the operation is done.
progression :: Trackable :: fire_progressed
Notice the registeredProgessionListener
that the operation progressed.
progression :: Trackable :: fire_started
Notice the registeredProgessionListener
that the operation started.
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
neo4j :: GraphStore :: isolated_save
Can we save the graph without conflict?core :: Object :: output_class_name
Display class name on stdout (debug only).progression :: Trackable :: progression_listeners
Listen to the progression of the operation.progression :: Trackable :: progression_listeners=
Listen to the progression of the operation.neo4j :: GraphStore :: save_part
Save the specified part of the graph.ProgressionListener
.
# A mean to save and load a Neo4j graph.
abstract class GraphStore
super Trackable
# The graph to save or load.
var graph: NeoGraph
# Can we save the graph without conflict?
fun isolated_save: Bool is abstract
# Load the graph (or a part of it).
#
# Do not reset the graph.
fun load is abstract
# Save the graph.
fun save do save_part(graph.nodes, graph.edges)
# Save the specified part of the graph.
#
# Assume that for each relationship specified, both ends are already saved
# or are specified in the same call to this method.
fun save_part(nodes: Collection[NeoNode],
edges: Collection[NeoEdge]) is abstract
end
lib/neo4j/graph/graph.nit:157,1--181,3