Skip to main content

Module scan

Module scan 

Source
Expand description

Functionality to create and execute scans (reads) over data stored in a delta table

Modules§

log_replay
state
This module encapsulates the state of a scan

Structs§

ParallelScanMetadata
ParallelState
State for parallel scan metadata processing.
PartitionValuesOptions
Engine-facing partition value options. Pass to ScanBuilder::with_partition_values to declare whether scan metadata output includes the typed partitionValues_parsed struct alongside the raw string map (fileConstantValues.partitionValues), which is always present.
Scan
The result of building a scan over a table. This can be used to get the actual data from scanning the table.
ScanBuilder
Builder to scan a snapshot of a table.
ScanMetadata
ScanMetadata contains (1) a batch of FilteredEngineData specifying data files to be scanned and (2) a vector of transforms (one transform per scan file) that must be applied to the data read from those files.
SequentialScanMetadata
Sequential scan metadata processing.
StatsOptions
Configures structured-stats output and JSON synthesis in scan metadata. Existing JSON passes through for commits and checkpoints without compatible structured stats unless stats are disabled.

Enums§

AfterSequentialScanMetadata
Result of sequential scan metadata processing.
StructStats
Which struct stats columns appear in stats_parsed in scan metadata output.

Functions§

get_transform_for_row
utility method making it easy to get a transform for a particular row. If the requested row is outside the range of the passed slice returns None, otherwise returns the element at the index of the specified row
scan_row_schema
Get the base schema that scan rows (from Scan::scan_metadata) will be returned with.
selection_vector