Expand description
Async lookup source trait. Async data source trait for lookup table refresh and query.
LookupSource is the evolution of the connector-level
TableLoader trait. It uses RPITIT (Rust 1.75+) for zero-overhead
async — no async_trait boxing needed.
§Key differences from TableLoader
- Supports predicate pushdown via
Predicate - Supports projection pushdown via
ColumnId - Advertises capabilities via
LookupSourceCapabilities - Uses
PushdownAdapterto wrap sources that lack pushdown support
Structs§
- Lookup
Source Capabilities - Capabilities that a lookup source advertises.
- Pushdown
Adapter - Wraps a
LookupSourcethat doesn’t support pushdown.
Enums§
- Lookup
Error - Errors from lookup source operations.
Traits§
- Lookup
Source - Async data source for lookup table refresh and query.
- Lookup
Source Dyn - Dyn-compatible version of
LookupSourcefor use asArc<dyn LookupSourceDyn>.
Type Aliases§
- Column
Id - Column identifier for projection pushdown.