v2026.11.2
All Bundles
Bundle

In-memory query engine over typed columns. Tables are filled row by row or loaded from sources (CSV files, folders, the program's own objects) and queried with SQL-like statements; aggregates, Describe() and Finder (file search) are included. Compile with -lib query.

Source

Something that is not a table but can be read as tables: a file, a folder, a document, the program's own objects. A source declares its tables, then loads them into a catalog.

Operations

GetError # virtual

Gets the reason the last load failed

method : public : virtual : GetError() ~ String

Return

TypeDescription
Stringerror, Nil if none

GetTables # virtual

Gets the tables the source provides

method : public : virtual : GetTables() ~ TableSpec[]

Return

TypeDescription
TableSpectable shapes

Load # virtual

Loads the source's tables into a catalog

method : public : virtual : Load(catalog:Catalog, hint:ScanHint) ~ Bool

Parameters

NameTypeDescription
catalogCatalogcatalog to add the tables to
hintScanHintwhat the query needs, Nil for everything

Return

TypeDescription
Booltrue if loaded, false on error (see GetError)