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.

ScanHint

What a query already knows, passed to a source so it can skip work: the columns the query needs and how many rows it can use. A source may ignore it; the engine still applies the query in full afterwards.

Operations

GetColumns #

Gets the columns needed

method : public : GetColumns() ~ String[]

Return

TypeDescription
Stringcolumn names, Nil for all

GetLimit #

Gets the most rows needed

method : public : GetLimit() ~ Int

Return

TypeDescription
Introw limit, -1 for none

New # constructor

Constructor

New(columns:String[], limit:Int)

Parameters

NameTypeDescription
columnsStringthe columns needed, Nil for all of them
limitIntthe most rows needed, -1 for no limit

Wants #

Whether a column is needed

method : public : Wants(name:String) ~ Bool

Parameters

NameTypeDescription
nameStringcolumn name

Return

TypeDescription
Booltrue if needed