IngestionStorage

fun interface IngestionStorage(source)

An interface for ingesting (adding) memory records into a store.

All methods accept an optional namespace parameter that can override the default namespace (table name or collection name) configured in the constructor. When namespace is null, the implementation uses its default namespace.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun add(records: List<MemoryRecord>, namespace: String?)

Adds memory records to the store. If a record with the same ID exists, behavior depends on implementation (insert or upsert).