GraphProjector

interface GraphProjector<E : Any>

Projects a KnowledgeGraphDelta (entities and relationships) into an object graph where entities are instantiated as their corresponding domain objects (e.g., Person, Animal) and relationships are represented as object references.

Ensures that the same entity instance is shared across multiple references.

Parameters

E

type of projected or stored entity

Inheritors

Functions

Link copied to clipboard
abstract fun project(schema: <Error class: unknown class>, delta: KnowledgeGraphDelta?): List<E>

Projects entities from the delta into domain objects. Returns a list of all instantiated domain objects.