class

AtomSpace::HypergraphStateStorageNode

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

Hypergraph state persistence implementation

Constructors

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

Instance methods

close

Close connection to storage backend

connected?

Check if connection is open

fetch_atom(handle : Handle) : Atom | Nil

Fetch a single atom by handle

get_stats

Get storage statistics

load_atomspace(atomspace : AtomSpace) : Bool

Load all atoms into AtomSpace

load_hypergraph_state(target_atomspace : AtomSpace) : HypergraphState | Nil

Load complete hypergraph state

open

Open connection to storage backend

remove_atom(atom : Atom) : Bool

Remove an atom from storage

store_atom(atom : Atom) : Bool

Standard StorageNode interface (delegated to backend)

store_atomspace(atomspace : AtomSpace) : Bool

Store all atoms from AtomSpace

store_hypergraph_state(state : HypergraphState) : Bool

Store complete hypergraph state