Table of Contents

Class IngestionSchema

Namespace
Qavren.Edge.Ingestion
Assembly
Qavren.Edge.Ingestion.dll

The two schemas SP3 owns: the chunk collection's VectorStoreCollectionDefinition and the three state tables.

public static class IngestionSchema
Inheritance
IngestionSchema
Inherited Members

Fields

MetaHashAlgorithmKey

The <prefix>_meta key holding AlgorithmId.

MetaSchemaVersionKey

The <prefix>_meta key holding StateSchemaVersion.

StateSchemaVersion

The state schema version stored in <prefix>_meta.schema_version.

Methods

BuildDefinition(int, string, bool)

Builds the chunk collection's definition programmatically — no attributed record type, no reflection, so the dimension is a runtime value and 384-dim MiniLM and 768-dim nomic share one code path.

The vector property is declared ReadOnlyMemory<T> of float, not a string source, because SP3 resolves every vector itself (spec 9.5 step a1). That single decision is what makes EmbedCalls countable and 6206 separable from 6207.

BuildStateSql(string)

The three state tables and their indexes, as a statement list — the same shape EdgeVectorSchema.BuildCreateSql() returns.

All three are WITHOUT ROWID, including the two whose key is a single column (plan adjustment 19): the row lives in the key's b-tree rather than a rowid table plus a separate unique index, which is the right shape for tables read by primary key, never scanned by rowid, and holding twenty rows and two rows. The consequence is that every row must supply its primary key and there is no AUTOINCREMENT — both already true.