Skip to main content

Module table

Module table 

Source

Structs§

CellHit
What a click on the table lands on: the row on screen, counted from the top (none on the header), and the column (none on the rail or the row numbers).
CollectRequest
Parameters for a background buffer load. Produced by prepare_async_collect().
CollectResult
Result of a background buffer load, made by FillPlan::fit on the worker and installed as it is by apply_async_collect().
DataTableState
DatasetAtOpen
The footers’ account of a dataset of many files.
ExportFrame
The rows an export writes. See DataTableState::export_frame.
FillPlan
What the fill-reading worker needs to make it the buffer: the adjoining rows on hand, the view and the caps, as planned. A trim that would copy (see trim_rows) runs here, off the UI thread; apply_async_collect installs the result as is.
FootersFound
What reading every footer found, and what the dataset must be given with it: the schema and the scans built at that schema.
InspectField
One field the row inspector lists: a column of the frame on screen.
InspectRow
The selected row as the buffer holds it; see DataTableState::inspect_row.
OpenFacts
What an open learned besides frame and schema, given once via DataTableState::with_open so count, row groups, files and notes agree. Defaults mean not found.
PivotJob
A pivot of the view as it was when planned, to be read off the UI thread.
RemoteFiles
A dataset of many files and how to read only some: remote, or a local Hive directory once every footer is known. Polars reads files in order (row 900,000 means reading every file before it); with each file’s rows known, a buffer scans just the files holding its rows.
RemoteRead
How a remote dataset reads some of its files, as the pass behind an open found them. Together because they describe one list: the scan is built at the new schema, and the counter answers one entry per file, which must match urls or its answer is dropped.
Sampled
A view’s sample, between source and query. The frames scan Self::frame, the chunks so far, growing as the draw continues.
ViewChange
What a sidebar apply changed besides the columns.
ViewRollback
The view as it stood before a query or view replaced it: a checkpoint. A query can plan and still fail on its rows (a value that will not cast); then the table returns to this, rows and all. Frames and buffers are shared, not copied. Taken by DataTableState::rollback_point or DataTableState::try_transition, restored by DataTableState::roll_back.

Enums§

DrillRow
The row a drill into a group reads, from DataTableState::drill_row.
NullKind
What a null means where the files of a dataset differ.

Constants§

DEFAULT_MAX_BUFFERED_ROWS
Rows the display buffer may hold when performance.max_buffered_rows is unset; also a remote scan’s window when the cap is off.
PIVOT_COLUMN_LIMIT
The most columns a pivot may make: past it everything crawls, and it is nearly always a mistake (an id or timestamp chosen for Columns).

Type Aliases§

DrawnColumns
Each column drawn: its cells across, [from, to), and its name.
FileCounter
Counts the rows in each row group of every file of a dataset. Blocks.
FileScan
Builds a scan of some of a dataset’s files as the full scan reads them, the second argument’s columns read as text from every file instead of the majority type.
FootersJoin
Reads every footer of a dataset opened from a couple of them; None when they could not be read (the dataset stays as opened). Blocks, reporting to the progress.