Hypergraph state persistence implementation
Constructors
new(name : String, storage_path : String, backend_type : String = "file")
SourceInstance methods
close
Close connection to storage backend
Sourceconnected?
Check if connection is open
Sourcefetch_atom(handle : Handle) : Atom | Nil
Fetch a single atom by handle
SourceLoad all atoms into AtomSpace
Sourceload_hypergraph_state(target_atomspace :
AtomSpace) :
HypergraphState |
Nil Load complete hypergraph state
Sourceopen
Open connection to storage backend
Sourceremove_atom(atom : Atom) : Bool
Remove an atom from storage
Sourcestore_atom(atom : Atom) : Bool
Standard StorageNode interface (delegated to backend)
Sourcestore_atomspace(atomspace :
AtomSpace) :
Bool Store all atoms from AtomSpace
Sourcestore_hypergraph_state(state : HypergraphState) : Bool
Store complete hypergraph state
Source