DiceStorageAutoConfiguration

Auto-configures the Dice proposition store and its lineage record stores (projection records and the collector audit trail).

embabel.dice.store.type=graph selects the Drivine/Neo4j backend; anything else (default) uses the in-memory backend. Every bean is @ConditionalOnMissingBean, so an application's own bean always wins. Graph beans are declared before their in-memory counterparts so the flip resolves by registration order.

Schema (indexes/constraints) is declared as SchemaCatalog beans; Drivine's SchemaManager (registered by the starter) applies them idempotently on startup — no runner here.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun drivineChunkHistoryStore(graphObjectManager: <Error class: unknown class>, persistenceManager: <Error class: unknown class>): ChunkHistoryStore
Link copied to clipboard
fun drivineCollectorRecordStore(persistenceManager: <Error class: unknown class>): CollectorRecordStore
Link copied to clipboard
fun drivineExtractionRunStore(persistenceManager: <Error class: unknown class>, transactionManager: <Error class: unknown class>): ExtractionRunStore

The durable extraction-run header store.

Link copied to clipboard
fun drivineProjectionRecordStore(persistenceManager: <Error class: unknown class>): ProjectionRecordStore
Link copied to clipboard
fun drivinePropositionRepository(graphObjectManager: <Error class: unknown class>, persistenceManager: <Error class: unknown class>, ai: <Error class: unknown class>, transactionManager: <Error class: unknown class>, embeddingServices: <Error class: unknown class><<Error class: unknown class>>): PropositionRepository
Link copied to clipboard
fun drivinePropositionRunLinkStore(persistenceManager: <Error class: unknown class>): PropositionRunLinkStore

Where (proposition, run) links go.

Link copied to clipboard
fun extractionRunSchema(): <Error class: unknown class>

The constraints and indexes the run store and the lineage relation need.

Link copied to clipboard
fun graphDecayManager(repository: PropositionRepository, persistenceManager: <Error class: unknown class>): DecayManager
Link copied to clipboard
fun inMemoryPropositionRepository(ai: <Error class: unknown class>): PropositionRepository
Link copied to clipboard
fun lineageRecordSchema(): <Error class: unknown class>
Link copied to clipboard

The lineage stores' schema, registered as a DiceStorageSchema so one bean answers both questions about it: Drivine ensures its constraints and indexes, and dice's drift observation reads the same object to recognise (:ProjectionRecord) and (:CollectorRecord) nodes as its own. Registering the DDL by hand here, as this used to, left the second half to a separate list that could fall behind.

Link copied to clipboard
fun propositionConstraintSchema(): <Error class: unknown class>
Link copied to clipboard
fun propositionVectorIndexSchema(ai: <Error class: unknown class>, embeddingServices: <Error class: unknown class><<Error class: unknown class>>): <Error class: unknown class>