class

AtomSpace::HypergraphStateStorageNode

Inherits AtomSpace::StorageNode < AtomSpace::Node < AtomSpace::Atom < Reference < Object

Hypergraph state persistence implementation

Constructors

new(name : String, storage_path : String, backend_type : String = "file")
Source

Instance methods

close

Close connection to storage backend

Source
connected?

Check if connection is open

Source
fetch_atom(handle : Handle) : Atom | Nil

Fetch a single atom by handle

Source
get_stats

Get storage statistics

Source
load_atomspace(atomspace : AtomSpace) : Bool

Load all atoms into AtomSpace

Source
load_hypergraph_state(target_atomspace : AtomSpace) : HypergraphState | Nil

Load complete hypergraph state

Source
open

Open connection to storage backend

Source
remove_atom(atom : Atom) : Bool

Remove an atom from storage

Source
store_atom(atom : Atom) : Bool

Standard StorageNode interface (delegated to backend)

Source
store_atomspace(atomspace : AtomSpace) : Bool

Store all atoms from AtomSpace

Source
store_hypergraph_state(state : HypergraphState) : Bool

Store complete hypergraph state

Source