Graph Relationship Persister
interface GraphRelationshipPersister
Persists ProjectedRelationship instances to a graph store.
Inheritors
Functions
Link copied to clipboard
abstract fun persist(results: ProjectionResults<ProjectedRelationship>): RelationshipPersistenceResult
Persist all successfully projected relationships from the results.
Persist a list of projected relationships.
Link copied to clipboard
Persist a single projected relationship.
Link copied to clipboard
abstract fun projectAndPersist(propositions: List<Proposition>, graphProjector: GraphProjector, schema: <Error class: unknown class>): <Error class: unknown class><ProjectionResults<ProjectedRelationship>, RelationshipPersistenceResult>
Project propositions and persist the resulting relationships in one operation.
Link copied to clipboard
open fun synthesizeAndUpdateDescriptions(entityPairs: List<EntityPairWithPropositions>, synthesizer: RelationshipDescriptionSynthesizer): RelationshipPersistenceResult
Synthesize descriptions for entity-pair relationships and update the edges. Default implementation is a no-op for implementations that don't support synthesis.