Skip to main content

Module pushdown

Module pushdown 

Source
Expand description

Sources that read a window of rows themselves, and sources that filter and sort.

Polars hands an anonymous scan no row offset, so a window deep in a view of one would read every row before it. A Windowed source starts the window where it is asked to. A Pushdown source goes further: it runs the sidebar’s filters and sort itself (a SQLite table, whose indexes do the work) and gives the view as a frame, a window of it at a time, and a count.

Structs§

PushedView
A view the source runs itself.

Traits§

Pushdown
A source that filters and sorts. What it notices while reading is said through Pushdown::notes, which may grow once a pass over the whole source is done.
Windowed
A source that reads rows [start, start + len) of a view without the ones before.

Type Aliases§

Counter
How many rows a view holds, counted by its source. Blocks.