Method ListCollectionNamesAsync
- Namespace
- Qavren.Edge.VectorData
- Assembly
- Qavren.Edge.VectorData.dll
ListCollectionNamesAsync(CancellationToken)
Data tables only, and the exclusion is structural, not by name. A virtual table is
recognised from its own DDL in sqlite_master.sql (USING vec0 /
USING fts5), and a shadow table by carrying one of the module's known child
names under a parent that is itself a virtual table of that module - FTS5's five
(_data, _idx, _content, _docsize, _config) and vec0's
(_info, _chunks, _rowids, _auxiliary and the numbered
_vector_chunksNN / _metadatachunksNN / metadatatextNN).
sqlite% is excluded as well. A table called notes_vec_archive next to a vec0
table called notes_vec is a data table and is listed.
Name-prefix filtering would be wrong in both directions, because
VectorTableNameFormat and
VectorTableName let a sidecar be called
anything, and a consumer's own data table may legitimately be called foo_vec.
Upstream's connector leaks its vec0 tables here; this one does not.
public override IAsyncEnumerable<string> ListCollectionNamesAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancels the enumeration.
Returns
- IAsyncEnumerable<string>
The data-table names, in
sqlite_masterorder.