Skip to main content

Module graph_factory

Module graph_factory 

Source
Expand description

Graph store factory — select and create the right store backend.

§Backends

BackendStore TypeUse Case
InMemoryArrowGraphStoreTests, short-lived queries
KnowledgeGraphKgStorePrefix-aware KG operations
SimpleSimpleTripleStoreDefault namespace + layer

Structs§

GraphStoreConfig
Configuration for graph store creation.

Enums§

CreatedStore
Created graph store — enum dispatch over backend types.
GraphBackend
Available graph store backends.

Functions§

available_backends
List available graph backends. All are always available (CPU Arrow).
create_default_store
Create a graph store with default configuration (KnowledgeGraph backend).
create_graph_store
Create a graph store based on configuration.